Select to view content in your preferred language

What is the JSON syntax for 'input geometry' through the REST / services directory?

9326
2
Jump to solution
03-04-2014 01:30 PM
MatthewBaker2
Deactivated User
Hi all,

Simple question,

When using the 'input geometry' box on the REST endpoint of a map service, what is the syntax of the JSON that goes into that box?

...I'm just trying to figure out what the return fields would be when I eventually pass in the XY of a geocode result...

Thanks!

-m
0 Kudos
1 Solution

Accepted Solutions
BjornSvensson
Esri Regular Contributor
The REST API documentation for the Map Service Query at
http://resources.arcgis.com/en/help/arcgis-rest-api/#/Query_Map_Service_Layer/02r3000000p1000000/ has examples like
{xmin: -104, ymin: 35.6, xmax: -94.32, ymax: 41}

The full details about the JSON geometry objects are at http://resources.arcgis.com/en/help/arcgis-rest-api/#/Geometry_Objects/02r3000000n1000000/.

View solution in original post

0 Kudos
2 Replies
BjornSvensson
Esri Regular Contributor
The REST API documentation for the Map Service Query at
http://resources.arcgis.com/en/help/arcgis-rest-api/#/Query_Map_Service_Layer/02r3000000p1000000/ has examples like
{xmin: -104, ymin: 35.6, xmax: -94.32, ymax: 41}

The full details about the JSON geometry objects are at http://resources.arcgis.com/en/help/arcgis-rest-api/#/Geometry_Objects/02r3000000n1000000/.
0 Kudos
MatthewBaker2
Deactivated User
Perfect! Thank you, Bjorn!
0 Kudos