I am trying to provide an easy way for not-technically-literate members within my organization to access watershed subbasin delineations in ArcMap. My idea is to:

1) Pull this USGS web service into ArcMap,

2) Re-symbolize and add a definition query to narrow down to the area of interest,

3) Save to a layer file on our shared drive.

This whole process works fine, but we have a standard to transform our data into our local State Plane projection (EPSG:2876), and this one comes in as Web Mercator (EPSG:3857). I would like to avoid having to host the data ourselves because I'd like for the layer to just be updated whenever USGS refines their data.

Is there a way for me to reproject the service somewhere in this workflow so that the layer file still refers to the web service, but it's projected to our standards?

I am relatively new to working with services, so if there's a different workflow using REST queries that can get me to the same product (a properly projected layer file), I'm all ears.

  • How are you pulling the service into ArcMap? If you query the service using the REST interface, you have an option to specify the output spatial reference. Try for example, the following query. – Marcelo Villa Jul 26 '19 at 19:24
  • @MarceloVilla I "Add Data from ArcGIS Online". Since posting, I've gotten as far as you've suggested, but what I can't figure out is how to get the results of that query into ArcMap. – jesnes Jul 26 '19 at 19:49
  • I frequently have to get data from ArcGIS REST services as well. My workflow is implemented using arcpy but you can do it manually if you want to. First, do the query and set the output format to be JSON. Save the result as a JSON file on your disk and then run the JSON to Features tool using the JSON file as input. – Marcelo Villa Jul 26 '19 at 19:52
  • Thanks! That's a good workflow to know about; however, my main criteria is that I don't save anything locally. Do you have your script take care of saving the output to a file? – jesnes Jul 26 '19 at 19:59
  • Yes, the script takes care of everything. May I ask what you are planning to use the data for? That might help me and other people think of a more appropiate solution given your needs. – Marcelo Villa Jul 26 '19 at 20:08

Your Answer

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

Browse other questions tagged or ask your own question.