ArcGIS 'Group Layer' incorrectly added by ArcGisFeatureServer #26718
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Data Provider
Related to specific vector, raster or mesh data providers
Author Name: Bruce Steedman (Bruce Steedman)
Original Redmine Issue: 18886
Affected QGIS version: 3.0.2
Redmine category:web_services_clients/arcgis
Assignee: Sandro Mani
I have added a connection to following Feature Server url: http://dcw7.digimap.je/arcgis/rest/services/JerseyUtilities/JerseyUtilities/MapServer
When I look at the layers added they include layer id 39 'JT'. This is layer type 'Group Layer' which includes sub layers; 'Structure' and 'Ducts' (both of which are listed).
If I try to add the JT layer to my project I get an error message saying "Layer is not valid: The layer crs='EPSG:4326' url='http://dcw7.digimap.je/arcgis/rest/services/JerseyUtilities/JerseyUtilities/MapServer/39' is not a valid layer and can not be added to the map. Reason: AFSProvider Failed to determine geometry type"
This is not surprising, as Group Layers are simple a structure to group related Feature Layers under - they have no features themselves & thus no geometry type.
What I expect to happen:-
Either these layers should simply be ignored when the server layers are parsed, or - perhaps as an enhancement - they should be included as drop down titles in the layer list, i.e. mirroring the server. Note that AFAIK Group Layers can be recursive, not simply one layer deep.
Workaround is to ignore these 'bogus' layers.
The text was updated successfully, but these errors were encountered: