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

exporting 3D Postgis layer to shapefile loses the Z value #20547

Closed
qgib opened this issue Mar 15, 2015 · 5 comments
Closed

exporting 3D Postgis layer to shapefile loses the Z value #20547

qgib opened this issue Mar 15, 2015 · 5 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Vectors Related to general vector layer handling (not specific data formats)

Comments

@qgib
Copy link
Contributor

qgib commented Mar 15, 2015

Author Name: Antonio Valanzano (Antonio Valanzano)
Original Redmine Issue: 12373
Affected QGIS version: 2.8.1
Redmine category:vectors


I have noticed that when exporting from a DB layer (PostGIS and SpatiaLite) with 3D features (i.e. PolygonZ, LinestringZ)
to a shapefile it has only x,y coordinates and not Z.
This doesn't happen with loaded 3D shapefiles which are correctly exported as 3D shapefiles.

@qgib
Copy link
Contributor Author

qgib commented Mar 15, 2015

Author Name: Giovanni Manghi (@gioman)


Hi,

do you get any error message? How do you export? save as...? DB Manager?


  • category_id was configured as Vectors
  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Mar 16, 2015

Author Name: Antonio Valanzano (Antonio Valanzano)


Giovanni Manghi wrote:

Hi,

do you get any error message? How do you export? save as...? DB Manager?

I didn't receive any error message.
I did the export using "save as" and DB Manager and the result was always the same (Z coordinate is missing)

@qgib
Copy link
Contributor Author

qgib commented Mar 17, 2015

Author Name: Giovanni Manghi (@gioman)


what about the (ogr) convert format tool in the Processing toolbox?

@qgib
Copy link
Contributor Author

qgib commented Dec 27, 2015

Author Name: Giovanni Manghi (@gioman)


see also #22019


  • subject was changed from error in exporting 3D shapefile from DB layer to exporting 3D Postgis layer to shapefile loses the Z value
  • status_id was changed from Feedback to Open

@qgib
Copy link
Contributor Author

qgib commented Feb 25, 2016

Author Name: Nyall Dawson (@nyalldawson)


Fixed in changeset "4e4743a2cd4d09e218a1335d8fde6b837e63c8b3".


  • status_id was changed from Open to Closed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Vectors Related to general vector layer handling (not specific data formats) labels May 25, 2019
@qgib qgib closed this as completed May 25, 2019
Ailurupoda pushed a commit to SIRS-CLS/QGIS that referenced this issue Feb 18, 2020
Ailurupoda pushed a commit to SIRS-CLS/QGIS that referenced this issue Feb 18, 2020
fixes qgis#20547 : Fix error when using a spatialite layer with a non-int primary key an a spatial index
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! Vectors Related to general vector layer handling (not specific data formats)
Projects
None yet
Development

No branches or pull requests

1 participant