ArcGIS Server with geometry property as source of layer

78
2
02-20-2020 01:10 AM
Status: Open
Labels (1)
Tomde_Groot
New Contributor II

I have for example this REST service for which I can use a query to get features within a certain geometry:

https://geoservices.rijkswaterstaat.nl/arcgis2/rest/services/GDR/vaarweginformatie/FeatureServer/29/...

This way I get 179 records. It would be very nice if I could use this URL as the source of a layer file. So the layer file requests the data within a geometry and shows in this case only the 179 records.

The only thing that is possible now, is to connect to the ArcGIS Server, add the data and create a layer file. The problem with this however, is that I get all the data (1231 records), while I only need the data within a certain area.

2 Comments
KoryKramer

Since a definition query is stored as part of a layer file, it seems like if we had https://community.esri.com/ideas/1426 it might meet the need?

Tomde_Groot

That might be a solution, especially if it filters the data as well, and not only the data that is displayed.