jlewis
11-10-2007, 12:28 PM
Hi All,
I have a map with shed-loads of shapes (polygons) - could be up to 1000.
I have one location.
I need to find which of the shapes (if any) my location is 'in'.
Currently, what I do is to add a pushpin (at my location) to the ActiveMap, then, using the DataSet, iterate through the shapes and see if the location is in each shape - using DataSet.QueryShape(Shape).
This can be quite time-consuming so can anyone think of a quicker way?
Many thanks...
I have a map with shed-loads of shapes (polygons) - could be up to 1000.
I have one location.
I need to find which of the shapes (if any) my location is 'in'.
Currently, what I do is to add a pushpin (at my location) to the ActiveMap, then, using the DataSet, iterate through the shapes and see if the location is in each shape - using DataSet.QueryShape(Shape).
This can be quite time-consuming so can anyone think of a quicker way?
Many thanks...