AnsweredAssumed Answered

ArcGIS Server 10.22 Identify Issue

Question asked by geonetadmin on Apr 10, 2014
Latest reply on Mar 3, 2015 by collin.tewalt
Original User: cbr4rusty

When performing an identify task against any arcgis server 10.22 map service, it does not return the "Spatial Reference" in the geometry object that gets returned. Since there is not spatial reference in the geometry object, the JavaScript API will create the geometry and set its Spatial Reference to the default (4326) - which is incorrect for the returned geometry.

ArcGIS Server 10.21 Sample Identify Request
http://54.84.38.134:6080/arcgis/rest/services/ladotd/ra/MapServer/identify?f=json&geometry={"x":-10281732.37830374,"y":3703573.248038438,"spatialReference":{"wkid":102100,"latestWkid":3857}}&tolerance=10&returnGeometry=true&mapExtent={"xmin":-10295127.9675107,"ymin":3696426.3858937835,"xmax":-10267916.385441214,"ymax":3711713.7915507983,"spatialReference":{"wkid":102100,"latestWkid":3857}}&imageDisplay=712,400,96&geometryType=esriGeometryPoint&sr=102100&layers=visible:8&returnM=true
[ATTACH=CONFIG]33029[/ATTACH]

ArcGIS Server 10.22 Sample Identify Request (no SR in geometry)
http://54.193.47.10/arcgis/rest/services/INDOT_RCE/MapServer/identify?f=json&geometry={"x":-9605937.405203775,"y":4849576.759392234,"spatialReference":{"wkid":102100,"latestWkid":3857}}&tolerance=10&returnGeometry=true&mapExtent={"xmin":-9606489.185001723,"ymin":4848420.64933939,"xmax":-9603087.737242945,"ymax":4850331.57504657,"spatialReference":{"wkid":102100,"latestWkid":3857}}&imageDisplay=712,400,96&geometryType=esriGeometryPoint&sr=102100&layers=visible:34&returnM=true
[ATTACH=CONFIG]33030[/ATTACH]

Attachments

Outcomes