Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PostGIS polyhedral and TIN layers not handled anymore #18219

Closed
qgib opened this issue Feb 25, 2014 · 6 comments
Closed

PostGIS polyhedral and TIN layers not handled anymore #18219

qgib opened this issue Feb 25, 2014 · 6 comments
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

Comments

@qgib
Copy link
Contributor

qgib commented Feb 25, 2014

Author Name: Hugo Mercier (@mhugo)
Original Redmine Issue: 9651
Affected QGIS version: 2.2.0
Redmine category:data_provider/postgis
Assignee: Jürgen Fischer


PostGIS tables with geometries of type PolyhedralSurface or TIN cannot be loaded anymore :

  • no correct type is detected when using "add a postgres layer" (should be MultiPolygon)
  • whatever type is manually selected, it segfaults in QgsGeometry when parsing the wkb

Related issue(s): #17687 (relates), #18298 (relates)
Redmine related issue(s): 9032, 9748


@qgib
Copy link
Contributor Author

qgib commented Feb 25, 2014

Author Name: Jürgen Fischer (@jef-n)


Please attach some data.

@qgib
Copy link
Contributor Author

qgib commented Feb 25, 2014

Author Name: Jürgen Fischer (@jef-n)


  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Feb 25, 2014

Author Name: Hugo Mercier (@mhugo)


Data sample, one table with a polyhedral and the other with a TIN :

create table test_polyhedral ( id serial );
select addgeometrycolumn('test_polyhedral', 'geom', 4326, 'POLYHEDRALSURFACE', 3);
insert into test_polyhedral (id,geom) values (1, 'SRID=4326;POLYHEDRALSURFACE Z(((0 0 0,0 1 0,1 1 0,1 0 0,0 0 0)))'::geometry);

create table test_tin ( id serial );
select addgeometrycolumn('test_tin', 'geom', 4326, 'TIN', 3);
insert into test_tin (id,geom) values (1, 'SRID=4326;TIN(((0 0 0,0 1 0,1 1 0,0 0 0)))'::geometry);

@qgib
Copy link
Contributor Author

qgib commented Feb 26, 2014

Author Name: Jürgen Fischer (@jef-n)


Fixed in changeset "cb919e972e11573fe2a0e58f4d946c6a30c9f792".


  • status_id was changed from Feedback to Closed

@qgib
Copy link
Contributor Author

qgib commented Mar 10, 2014

Author Name: Sandro Santilli (@strk)


Is c3a2817 the backport to 2.2 branch ?

@qgib
Copy link
Contributor Author

qgib commented Mar 11, 2014

Author Name: Jürgen Fischer (@jef-n)


Sandro Santilli wrote:

Is c3a2817 the backport to 2.2 branch ?

$ git branch --contains c3a28177
release-2_2

@qgib qgib added 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 labels May 24, 2019
@qgib qgib closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

1 participant