Select to view content in your preferred language

identify on points at same location

872
1
12-04-2012 12:37 PM
Jitendrudulacaraju
Emerging Contributor
How to tackle the identify of points at the same location. Say point A and B are at same location (x,y). I tried all GeometricRelationshipType to see it I can get the featurereader from a queryfilter using the map click geometry + searchenvelope
I am able to read only one feature.

[HTML]                searchEnvelope = new Envelope(searchMapPoint.Coordinate, searchMapPoint.Coordinate);                double mapTol = mapCntrl.ToMap(3);                searchEnvelope.Resize(mapTol, mapTol);                                if (featureLayer.GeometryType == GeometryType.Point)                    queryFilter = new QueryFilter(searchEnvelope, GeometricRelationshipType.Any, "", true);


                FeatureDataReader featureDatareader = featureLayer.GetDataReader(queryFilter);[/HTML]
0 Kudos
1 Reply
PhilBlondin
Deactivated User
Try the DragRectangleMapAction

Dim Env As Envelope = DragRectangleMapAction1.Envelope              
Dim qFilter As QueryFilter = New QueryFilter(Env, GeometricRelationshipType.Intersect)
0 Kudos