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/query?where=1%3D1&objectIds=&time=&geometry=95958%2C486134%2C154329%2C581001&geometryType=esriGeometryEnvelope&inSR=28992&spatialRel=esriSpatialRelContains&distance=&units=esriSRUnit_Meter&relationParam=&outFields=*&returnGeometry=true&maxAllowableOffset=&geometryPrecision=&outSR=&gdbVersion=&returnDistinctValues=false&returnIdsOnly=false&returnCountOnly=false&returnExtentOnly=false&orderByFields=&groupByFieldsForStatistics=&outStatistics=&returnZ=false&returnM=false&multipatchOption=&resultOffset=&resultRecordCount=&f=html
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.
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?
That might be a solution, especially if it filters the data as well, and not only the data that is displayed.
Melden Sie sich an, um zu posten, Inhalte zu folgen und mehr. Neu hier? Kostenlos registrieren.