0

EDIT: I was able to add the layer in the example below by using the GeoService url, removing 'rest/', after much trial and error. Is there documentation regarding this 'trick', or can someone explain why this works?

Original question:

Is there any way to consume the data from either a GeoJSON or GeoService API url from an ArcGIS Open Data Portal page, into ArcMap (using v. 10.4.1)?

An example would be: BC OGC Pipelines

The API section looks like:

enter image description here

I have seen other ArcGIS Open Data pages that also include a url in the API section for OGC WMS (example), so it may be a conscious decision to not serve data in a format consumable by ArcMap, but I'm not familiar enough with web service protocols to be certain.

Things I have tried:

  • adding the GeoService url (full and many shortened versions) through both 'Add ArcGIS Server' and 'Add WMS Server' in 'Add Data'
  • adding the layer through 'Add Data from ArcGIS Online'. The dialog finds the layer, I click 'Add', the layer appears in the table of contents, although there appear to be no features (e.g. should be lots of pipelines at 651871E, 6197336N, UTM10).
5
  • 1
    The service you reference is not a WMS, therefore you will not be able to treat it as a WMS. Hint WMS supply images, but this is a vector data service
    – nmtoken
    Commented Mar 2, 2017 at 8:48
  • Thanks for the hint, @nmtoken. I was able to add the 'ArcGIS Map Service' through the 'ArcGIS Server' dialog, using the url listed under 'GeoService', removing the 'rest' component from the url. Clearly I'm not familiar with ArcGIS for Server. Can you explain why it works when I remove 'rest', and where this, what seems like a trick, might be documented?
    – phloem
    Commented Mar 2, 2017 at 17:44
  • Also, if this wasn't what you were hinting at, could you provide a more direct hint at how I could add this type of layer to ArcMap?
    – phloem
    Commented Mar 2, 2017 at 17:54
  • 1
    Removing the "rest" from the url typically results in a url that references a SOAP endpoint. ArcMap is able to consume either REST or SOAP. server.arcgis.com/en/server/latest/publish-services/windows/… Commented Mar 2, 2017 at 17:59
  • Aha! Those are the missing pieces: 1.) ArcMap needs a SOAP url (at least, that's what the page says), and 2.) you can derive a SOAP url from a REST url by removing 'rest/'. I'd accept that as an answer.
    – phloem
    Commented Mar 2, 2017 at 18:04

1 Answer 1

5

Taking your given service as an example https://geoweb.bcogc.ca/arcgis/rest/services/pasr/PASR_PL_SEGMENT_LN/MapServer/0, I was able to add the service to ArcMap (10.3.1) by specifying the following URL stem https://geoweb.bcogc.ca/arcgis when using:

Add Data > GIS Servers > Add ArcGIS Server > Use GIS services > Server URL

Then selecting one of the listed services

Opening geoweb.bcogc.ca in ArcMap

0

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.