0

The great state of Vermont publishes a number of datasets in ArcGIS:

https://maps.vcgi.vermont.gov/arcgis/rest/services/EGC_services/OPENDATA_VCGI_UTILITIES_SP_NOCACHE_v1/MapServer

I can create a query for one of these layers that specifies some random filter, e.g., OBJECTID!=1. This returns GeoJSON, hurrah! However, what I want is the entire dataset (i.e., all features, all attributes), with no filters. Is there a way to query the data in a way that will return that?

Additionally, the SRID for this data is 32145. Is the output of the GeoJSON always in 4326, or do I have to specify that?

2
  • 2
    You could test for "1 =1", too, but you can't make a service return more than the maxFeatuers configured for the service (and scraping might be a TOS violation).
    – Vince
    Aug 25, 2021 at 23:53
  • From RFC 7946 - The GeoJSON Format, "Note: the use of alternative coordinate reference systems was specified in GJ2008, but it has been removed from this version of the specification because the use of different coordinate reference systems -- especially in the manner specified in GJ2008 -- has proven to have interoperability issues."
    – bixb0012
    Mar 24 at 15:36

2 Answers 2

0

Install esridump via pip

Example to grab layer VT VEC Poles - point

Then execute

esri2geojson https://maps.vcgi.vermont.gov/arcgis/rest/services/EGC_services/OPENDATA_VCGI_UTILITIES_SP_NOCACHE_v1/MapServer/81 youroutput.geojson
0

Not a direct answer to my question, but I was able to use https://github.com/rowanwins/mapbox-gl-arcgis-featureserver for my use case

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.