Bug report #14778

Save As Vector

Added by Lene Fischer about 8 years ago. Updated about 8 years ago.

Status:Closed
Priority:High
Assignee:-
Category:Vectors
Affected QGIS version:2.14.2 Regression?:No
Operating System:Windows 64 bit Easy fix?:No
Pull Request or Patch supplied:No Resolution:invalid
Crashes QGIS or corrupts data:No Copied to github as #:22735

Description

When I want to 'Save As' in a vector layer, a new functionality to choose geometry is now available. As default it is set as Automatic. In the part of the dialog is also "Include z-value".
When I save a vectorfile and the "Automatic" is used the "Include z-value" is greyed out and ticked 'on'. This result in data where I get an error:"*Input layer has unsupported geometry type -2147483646*" when I want to 'Clip' or use the plugin "Clip Multiple layer"

So the 'Save As' function in the new version gives data which are "wrong".

JERNBANE.zip (769 KB) Lene Fischer, 2016-05-06 02:07 PM

History

#1 Updated by Harrissou Santanna about 8 years ago

If you select another type of geometry, uncheck the "include z-values" option and reselect 'Automatic', is the z-values option kept unchecked? And do you still get erroneous data?

#2 Updated by Lene Fischer about 8 years ago

When I select another type of geometry, the z-factor is still "on". I have to uncheck.
If I uncheck - the data is the OK.

#3 Updated by Nyall Dawson about 8 years ago

  • Status changed from Open to Feedback

Lene -
That checkbox will only default to on IF the source layer you are saving has z coordinates. Can you share your source layer?

Nyall

#4 Updated by Lene Fischer about 8 years ago

This is railway (sealand) from the Danish geodata agency.

#5 Updated by Nyall Dawson about 8 years ago

  • Resolution set to invalid
  • Status changed from Feedback to Closed

Lene - that source file DOES have z coordinates in the geometry. So defaulting to saving it and keeping the Z coordinate is the correct action here.

Also available in: Atom PDF