I have rest APIs that I use to generate geodatabase/ create replica, also I use query for filters for some queries. What I am looking for, is the extent option that I can pass in request. Does ESRI has support for this? Right now I am fetching data for whole globe which might lead to larger data set in future. I need to restrict download of geometries that comes inside specified extent.
Hi Devendra,
Can you clarify which REST API operation(s) you are using? It seems like Create Replica—ArcGIS REST API: Services Directory | ArcGIS for Developers is at least one of them?
If so, Create Replica has a 'geometry' parameter you may use for the purpose.
-Earl
I am not using createRepica API. I am using "geometry" parameter of this API
Query (Feature Service)—ArcGIS REST API: Services Directory | ArcGIS for Developers
but the response I am getting is not returning the features restricting to the extent I provide in the "geometry" parameter. It is returning the geometry that I pass instead
I need the geometries that are under the extent I pass.
Okay, so you're trying to do something like this?
Where in this case the source layer is: Layer: Earthquakes1970 (ID: 0)
and we are returning points that fall more or less within the United States.
-Earl