Feature #6216

User should be able to ignore OGRs evaluation of LDID in Shapes or choose layer-based encoding or LDID evaluation

Added by Marco Lechner 9 months ago. Updated 8 months ago.

Status:New Start Date:08/17/2012
Priority:Normal Due date:
Assigned to:- % Done:

0%

Category:Data Provider
Target version:Version X - Unplanned
Platform: Resolution:
Platform version: Patch supplied:No
Status info:

Description

jefs LDID hotfix for #5911 works as expected.

Anyway a layer-based solution should be prefered. Still creating a QGIS-project with set to ignore shape encoding will be broken when opening this project once without having set this option (e.g. on a second pc. See 75dc85b4d).

For backwards compatibility SHAPE_ENCODING should be set to "" as default for known behavior and (let's say it positive) LDID encoding auto-detection can be turned on by activating a checkbox. Anyway the auto-detection of shape encoding (evaluating LDID) is a layer-based thing and should not be set by a global environment variable.

I'd prefer a layer-based solution like when opening the "open vector layer" dialog Encoding is set to "OGR autodetect" as default and any other value will set the encoding as chosen by the user. <provider encoding="auto">ogr</provider> in qgs-file could be a solution. Of course this can only be done if OGR provides a way of accessing Shapes including a optional parameter for handling of LDID information or ignoring it.


Related issues

duplicated by Quantum GIS Desktop - Bug #6500: Language Encoding very broken in 1.8 Lisboa Closed 10/11/2012

History

Updated by Pirmin Kalberer 8 months ago

  • Target version changed from Version 2.0.0 to Version X - Unplanned

Also available in: Atom PDF