I would like to enhance a flood zone widget to find the distance to the nearest flood zone. It would be a single polygon to polygon near query(buffer ???). That would return the distance in feet from a parcel of property to nearest 100 year flood zone. The result would be like: This parcel is 2,314 feet from the nearest flood zone.
Can anyone get me started - as to something in the api I could use to query this near distance?
If all else fails, I was thinking of mutiple buffer queries at incrementing distances until it found a hit.
But, this seems too taxing to do so many queries. Maybe there is a sample some where. thanks
Can anyone get me started - as to something in the api I could use to query this near distance?
If all else fails, I was thinking of mutiple buffer queries at incrementing distances until it found a hit.
But, this seems too taxing to do so many queries. Maybe there is a sample some where. thanks