AnsweredAssumed Answered

Issue with Spatial Query Intersects Operation

Question asked by SaiPhani on Jan 2, 2013
Latest reply on Jan 2, 2013 by SaiPhani
Hi All,

I a m trying to select polygon intersecting the line using spatial query intersect operation. At world extent, when I try this operation polygons which are actually not intersected are getting selected(screenshot attached).
[ATTACH=CONFIG]20361[/ATTACH]

Additional Information:
Base map spatial reference: 102100
Polygon feature Layer: 102100
              var query = new esri.tasks.Query();             query.outFields = fields;      query.geometry = lineGeometry;             query.returnGeometry = true;             query.outSpatialReference = map.spatialReference;             query.spatialReference = map.spatialReference;             query.spatialRelationship = esri.tasks.Query.SPATIAL_REL_INTERSECTS;      var queryTask = new esri.tasks.QueryTask(layerURL);      queryTask.execute(query, dojo.hitch(this, function (result) {               //select results on map.                //At present in the image I have highlighted only one result               }));


Any help is greatly appreciated.

Attachments

Outcomes