Tuesday, 23 June 2015

Adding ArcGIS Online Services to QGIS?


Looking for info on how to add web mapping services from the Ohio Department of Natural Resources website to QGIS. I've tried nearly a dozen different things online and still can't get results. Don't normally ask for help in places like this, but decided to attempt this route for fear that it was impossible (permissions issues, etc.). Link to data I want to add is posted below:


https://gis.ohiodnr.gov/arcgis/rest/services/OIT_Services/odnr_landbase/MapServer



Answer



QGIS 2.16 / 2.18 / 3.00:



  1. Layer - Add Layer - Add ArcGIS FeatureServer Layer...


  2. 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.

  3. Connect (connect to service to fetch layers).

  4. Select layer. For example Current Township.

  5. Add.


QGIS 2.14:



  1. 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.)

  2. Hit the ArcGIS icon in the Manage Layers Toolbar.

  3. Enter the layer URL in field Layer URL. https://gis.ohiodnr.gov/arcgis/rest/services/OIT_Services/odnr_landbase/MapServer/2 Layernumber is important!


  4. Put cursor in field Layer Name. If Layer URL is correct Layer Name will show up.

  5. 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: ''


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...