I would like to extract the pipeline geometries from https://www.arcgis.com/home/webmap/viewer.html?webmap=a00c3b5cee4e4fe0b238b5e05ed80204

It shows the existing gas & oil pipelines crossing through Pennsylvania and was created by FracTracker for http://www.roverpipelinefacts.com/about/route.html . Despite it's a NGO they don't allow you downloading their data.

If I should know the REST FeatureServer URL I could download it (EXAMPLE):

wget "https://services.arcgis.com/jDGuO8tYggdCCnUJ/arcgis/rest/services/AtlanticCoastPipeline/FeatureServer/2/query?where=1=1&outFields=*&outSR=4326&f=geojson"

How can I find out this URL for the web map from above?


I found the URL: https://services.arcgis.com/jDGuO8tYggdCCnUJ/ArcGIS/rest/services/Esisting_pipelines_final_updated/FeatureServer

by going into developer tools in Chrome: F12 and reloading the site and watching the network tab.: enter image description here

And you can remove resources from the url to get other services: https://services.arcgis.com/jDGuO8tYggdCCnUJ/ArcGIS/rest/services

You can do the same thing with Fiddler--I use both, but the browser dev tools are usually sufficient for casual inspection.


If you open the webmap, and click on the "..." under the layer (i.e. more options) you can see the attached AGOL metadata (https://www.arcgis.com/home/item.html?id=a2bd08552ba54a3899ffc53b747b22e8), which provides a service URL for the existing;


It doesn't look like the "proposed metadata" (and service url) are being provided.

Using the network response request is also another way to find the same information.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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