Can we use Polygon, Circle, or Rings instead of Extent (Rectangle) as 'input geometry' through the REST / services directory?

1494
1
Jump to solution
03-13-2018 03:35 PM
FarhadNavaei
New Contributor III

Hi,

Can we use 'input geometry' on the REST Query of a map service, to search inside a polygon, circle, or rings?

I tried to use the Query (Map Service\Layer) guide line, but I didn't get any results.

Thanks!

0 Kudos
1 Solution

Accepted Solutions
RamunasKraujutis
New Contributor III

Yes you can query by Polygon, just provide geometryType "esriGeometryPolygon" parameter. See nice sample here:

Query a feature layer | ArcGIS for Developers 

View solution in original post

1 Reply
RamunasKraujutis
New Contributor III

Yes you can query by Polygon, just provide geometryType "esriGeometryPolygon" parameter. See nice sample here:

Query a feature layer | ArcGIS for Developers