Another really nice bit of scripting Johnny.
I don't have time tonight to look at your script, but I assume this wouldn't have to be part of a waypoint, and you could just edit this script to replace the dykes within 1000 meters of some object, or map marker?