Bug report #14158
regression: default "save as" value for ESPR Shapefile prevents creation of .shp
Status: | Closed | ||
---|---|---|---|
Priority: | Severe/Regression | ||
Assignee: | - | ||
Category: | Unknown | ||
Affected QGIS version: | master | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 22160 |
Description
Currently under master, the save as dialog sets the SHPT layer option to NULL for the ESPR Shapefile driver. This translates into the creation of a .dbf-only dataset. In previous versions of QGIS, I'm pretty sure the SHPT option was not set, as I have many times in the past saved KML files as shapefiles without having to modify layer options.
While it might be useful to expose the SHPT option, having "dbf-ony" option set by default is not good (understatement of the week :) ).
I have no idea when this regressed.
Associated revisions
Fix regression in vector "save as" that saved shapefiles as .dbf only (fixes #14158)
History
#1 Updated by Mathieu Pellerin - nIRV almost 9 years ago
One way to fix this is to remove the SHPT option altogether, since QGIS itself now allows to modify the geometry type.
#2 Updated by Martin Dobias almost 9 years ago
- Status changed from Open to Closed
Fixed in changeset 5512d5443f40e4aa6c70ab63149c0dd03a77b308.
#3 Updated by Jürgen Fischer over 7 years ago
- Category set to Unknown