Hi,
This sounds simple, but is tedious. I am performing some modeling client-side in actionscript using an array of points layed out in a uniform grid. Could be 10,000 or more depending on detail of the model. The model essentially calculates the distance from each model point to a target GIS layer (typically a polygon layer), which may have 100s of polygons. So, for each model point, to get the shortest distance to a polygon, you have to iterate over all the target polygons' vertices and perform a distance calc, keeping the shortest one. Each target polygon could have hundreds of verticies, so you see how this does not scale well.
Is there a FAST way in actionscript using ESRI MapPoint and Polygon objects to determine a distance?
Any help would be great!
Thanks,
Pete