Name/title field wrong way around for ArcGIS MapServer #29869
Labels
ArcGIS mapserver data provider
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Feedback
Waiting on the submitter for answers
stale
Uh oh! Seems this work is abandoned, and the PR is about to close.
Author Name: Jonathan Moules (Jonathan Moules)
Original Redmine Issue: 22055
Affected QGIS version: 3.4.3
Redmine category:web_services_clients/arcgis
Assignee: Sandro Mani
Take a look at this ArcGIS mapserver:
http://geoportal-geoportail.gc.ca/arcgis/rest/services/SpeciesatRisk/DFOCriticalHabitat_EN/MapServer
You'll see there are two layers. Connecting to this via QGIS it will show:
Title: 0
Name: DFO Species at Risk Critical Habitat 2016
But this is the wrong way around. The "title" field is meant to be the human representation (at least for OGC services), and the name field is meant to be the id for the layer.
Yes, I know that in the JSON (http://geoportal-geoportail.gc.ca/arcgis/rest/services/SpeciesatRisk/DFOCriticalHabitat_EN/MapServer/0?f=pjson) the "name" field actually has the layer title in it, but that's because ESRI are using the "name" as a OGC "title", and the "id" is the OGC "name".
The text was updated successfully, but these errors were encountered: