Select to view content in your preferred language

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

1675
1
Jump to solution
03-13-2018 03:35 PM
FarhadNavaei
Regular Contributor

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
Occasional Contributor

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
Occasional Contributor

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

Query a feature layer | ArcGIS for Developers