First time user. Please forgive my ignorance. I have read the instructions and did some searches on this discussion board. Still have some beginner questions...
I'm trying to get a GeoJSON output of all BLM land in the US. I am on this query page:
https://gis.blm.gov/arcgis/rest/services/lands/BLM_Natl_SMA_Cached_BLM_Only/MapServer/2/query
I'm guessing this the correct page of instructions on how to query the data. Can you confirm?
https://developers.arcgis.com/rest/services-reference/enterprise/query-map-service-layer-.htm
On the query form I am leaving all the defaults except for the following:
Format changed to GeoJSON
I pressed the GET button and see this response:
{"error":{"code":400,"message":"","details":[]}}
Here is the GET request:
https://gis.blm.gov/arcgis/rest/services/lands/BLM_Natl_SMA_Cached_BLM_Only/MapServer/2/query?where=...
I'm assuming there are some required fields not filled out. I then tried to add the following
Outfields = *
Where = 1=1
The GET request spins for about 10 min then returns an error:
ArcGIS Web Adaptor. Could not access any server machines. Please contact your system administrator.
I am trying different parameters to get it to work and I have a hunch that I need to provide an Input Geometry. I'm confused exactly what this field does. If I want all the data, do I just specify an envelope rectangle around the entire globe i.e. x and y values of -180 to 180 and -90 to 90 and say within? I do see some examples in the docs but don't understand why I need to specify an input geometry.
Thanks for helping me understand this. Go easy on me 🙂 Peace!