Adding ArcGIS Online Services to QGIS?
QGIS 2.16 / 2.18 / 3.00:
- Layer - Add Layer - Add ArcGIS FeatureServer Layer...
- New (for a new connection). Give a name and enter https://gis.ohiodnr.gov/arcgis/rest/services/OIT_Services/odnr_landbase/MapServer/ in field URL.
- Connect (connect to service to fetch layers).
- Select layer. For example Current Township.
- Add.
QGIS 2.14:
- Install ArcGIS REST API Connector plugin. (a. Plugins - Manage and install plugins... b. Tab Settings. c. Mark checkbox Show also experimental plugins. d. Tab All. e. Search for ArcGIS, select and install ArcGIS REST API Connector plugin.)
- Hit the ArcGIS icon in the Manage Layers Toolbar.
- Enter the layer URL in field Layer URL. https://gis.ohiodnr.gov/arcgis/rest/services/OIT_Services/odnr_landbase/MapServer/2 Layernumber is important!
- Put cursor in field Layer Name. If Layer URL is correct Layer Name will show up.
- Connect to add features to QGIS.
When I checked the data, not all layers worked well.
- Counties: QGIS 2.16.0 gave me a crash. FME failed, log said No resultsPython Exception : fmeobjects.FMEGeometry or None is required FME said 0 features. The same layer in the V3 service did work and gave me 164 features.
- Historic_Township: 1365 features
- Current_Township: 1330 features
- Land_Subdivision: QGIS 2.16.0 gave me a crash. FME failed, log said No resultsPython Exception : fmeobjects.FMEGeometry or None is required. FME said 29917 features.
- Statewide_Parcels: QGIS 2.16.0 gave me a crash. FME failed, log said Encountered an unexpected error. The error code from the server was '500' and the message was: 'Error performing query operation'. Details: ''
With QGIS 2.18 there are huge improvements in connecting to an ArcGIS Server map service. Use the Layer > Add Layer > Add ArcGIS MapServer Layer.. command. I just blogged about this yesterday. The complete steps are:
- Copy the URL of the map service. The URL must end with "/MapServer": https://gis.ohiodnr.gov/arcgis/rest/services/OIT_Services/odnr_landbase/MapServer
- Open QGIS
- Go to Layer > Add Layer > Add ArcGIS MapServer Layer..
- In the Dialog box click the "New" button
- In the "Create a new ArcGISMapServer connection" window enter the name "ODNR Landbase" and paste the URL from Step 1 into the URL field and click the "OK" button
- Click the "Connect" button and the layers from the map service will be displayed
- Select/highlight the layers in the list that you want to ad to your QGIS project and click the "Add" button
For another example with illustrations using a different ArcGIS Server visit my blog - http://geobern.blogspot.ca/2017/03/using-geonb-map-services-in-qgis.html