Bug report #14158

regression: default "save as" value for ESPR Shapefile prevents creation of .shp

Added by Mathieu Pellerin - nIRV about 1 year ago. Updated about 1 year ago.

Status:Closed Start Date:01/21/2016
Priority:Severe/Regression Due date:
Assigned to:- % Done:

0%

Category:-
Target version:Version 2.14
Platform: Pull Request or Patch supplied:No
Platform version: Affected version:master
Status info: Causes crash or corruption:No
Resolution: Tag:

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

Revision 5512d5443f40e4aa6c70ab63149c0dd03a77b308
Added by Martin Dobias about 1 year ago

Fix regression in vector "save as" that saved shapefiles as .dbf only (fixes #14158)

History

Updated by Mathieu Pellerin - nIRV about 1 year ago

One way to fix this is to remove the SHPT option altogether, since QGIS itself now allows to modify the geometry type.

Updated by Martin Dobias about 1 year ago

  • Status changed from Open to Closed

Also available in: Atom