Feature request #12857
PostGIS layer with CurvePolygon geometry type does not load
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | Marco Hugentobler | ||
Category: | Data Provider/PostGIS | ||
Pull Request or Patch supplied: | No | Resolution: | |
Easy fix?: | No | Copied to github as #: | 20950 |
Description
Using the latest master build of QGIS I can not load PostGIS layers with CurvePolygon geometry type. The QGIS layer browser does not show the layer as a selectable node. I can add the layer via the PostGIS connection dialog, but the layer geometries do not show on the map canvas.
You can test this with the following data (using GDAL 2.0 beta):
ogr2ogr -f PostgreSQL "PG:dbname=jpalmer" WFS:"https://data.linz.govt.nz/services;key=59f2aaa148bd4818994fa0d3ca36f7e1/wfs/layer-328?service=WFS&request=GetCapabilities" -nln topo_50_river_poly_linear -lco GEOMETRY_NAME=shape -lco FID=t50_fid -nlt CONVERT_TO_LINEAR ogr2ogr -f PostgreSQL "PG:dbname=jpalmer" WFS:"https://data.linz.govt.nz/services;key=59f2aaa148bd4818994fa0d3ca36f7e1/wfs/layer-328?service=WFS&request=GetCapabilities" -lco GEOMETRY_NAME=shape -lco FID=t50_fid
History
#1 Updated by Jürgen Fischer over 9 years ago
- Tracker changed from Bug report to Feature request
#2 Updated by Jürgen Fischer over 9 years ago
- Target version changed from Version 2.10 to Future Release - High Priority
#3 Updated by Marco Hugentobler over 9 years ago
- Assignee changed from Jürgen Fischer to Marco Hugentobler
#4 Updated by Marco Hugentobler over 9 years ago
https://github.com/qgis/QGIS/pull/2104 should fix this one
#5 Updated by Jeremy Palmer over 9 years ago
Thanks Marco. Does this PR also fix PostGIS browser so the layer item will display?
I can't test this pull at the moment as I haven't setup my build environment.
#6 Updated by Marco Hugentobler over 9 years ago
It fixes the display when adding via the postgres dialog. The browser display is an additional issue
#7 Updated by Jeremy Palmer over 9 years ago
Ok thanks
#8 Updated by Marco Hugentobler over 9 years ago
- Status changed from Open to Closed
Adding from browser works now too.