Select to view content in your preferred language

Multiple Input Geometry for Polygon Query

2672
1
10-17-2018 02:24 PM
JoeBorgione
MVP Emeritus

This is my first stab with the ArcGIS REST API, having just completed the  intro course yesterday.  I can get a successful return when using a single pair of xy coordinates as Input Geometry as a query to a MapService Polygon layer.  My objective is to get the tax district value for a given geocoded address: simple point in polygon.  However, I can't seem to find the proper syntax to perform the operation on multiple pairs of xy coordinates.  This is how I get a single pair to work:

I've truncateded the values for ease of reading;  can I input multiple pairs in a query?

That should just about do it....
0 Kudos
1 Reply
RandyBurton
MVP Alum

No doubt, you have been experimenting.  I've queried using something like this for a polygon:

polygon rings

and for an extent (xmin, ymin, xmax, ymax):

xmin/max ymin/max

For a little documentation see: Query (Feature Service) and esriGeometryType Constants.  For me, it's mostly been some experimenting.