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

QGIS 1.8.0 windows standalone ships with GDAL version that causes new attribute data loss in Shapefiles #15349

Closed
qgib opened this issue Jun 29, 2012 · 5 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Build/Install Related to compiling or installing QGIS Crash/Data Corruption High Priority
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented Jun 29, 2012

Author Name: marisn - (marisn -)
Original Redmine Issue: 5900
Affected QGIS version: master
Redmine category:build/install


Steps to reproduce issue on Windows:

  1. Create a new Shapefile with a text attribute;
  2. In "Save As" dialog leave encoding as-is = "system";
  3. Add a vector feature with text attribute value "āšņļ";
  4. Stop editing and save edits.

Results:

  1. In layer properties, General tab under "provider specific options" encoding is set to "UTF-8" => WRONG! On my system "system" encoding equals "windows-1257";
  2. In attribute table text has turned into "????" and thus content has been lost. Reopening dataset with "system" encoding doesn't help a lot.

Creating dataset with "UTF-8" encoding doesn't fix problem. (Read: encoding "system" is not the issue)

As all mentioned bug reports are closed as "fixed" or "use specific Linux installator" or "downgrade GDAL" all of which doesn't apply to Standalone installer, this is Windows packaging bug that can cause data corruption or loss and thus currently renders QGIS on Windows to be unusable for any non-latin language using user. I hope, that it will be fixed soon, as currently the last fully operational QGIS version on Windows is 1.6.0!

Probably also related to "OSGeo4W !#10353":http://trac.osgeo.org/osgeo4w/ticket/294


Related issue(s): #14989 (relates), #15114 (relates), #15355 (relates)
Redmine related issue(s): 5255, 5508, 5911


@qgib
Copy link
Contributor Author

qgib commented Jun 29, 2012

Author Name: Alexander Bruy (@alexbruy)


This is not packaging bug


  • resolution was changed from to upstream
  • status_id was changed from Open to Rejected

@qgib
Copy link
Contributor Author

qgib commented Jun 29, 2012

Author Name: marisn - (marisn -)


Alexander Bruy wrote:

This is not packaging bug

Shipping QGIS package with known broken GDAL/OGR library that causes data loss is not a packaging bug?!? Then what it is?!? Sabotage?

@qgib
Copy link
Contributor Author

qgib commented Jun 29, 2012

Author Name: Jürgen Fischer (@jef-n)


marisn - wrote:

Alexander Bruy wrote:

This is not packaging bug

Shipping QGIS package with known broken GDAL/OGR library that causes data loss is not a packaging bug?!? Then what it is?!? Sabotage?

The packaging would have a bug, if it would introduce new bugs, that the packaged software doesn't have. As the standalone installer is based on OSGeo4W and the bug is there too ("OSGeo4W !#10353":http://trac.osgeo.org/osgeo4w/ticket/294), this strictly isn't a packaging bug.

@qgib
Copy link
Contributor Author

qgib commented Jun 29, 2012

Author Name: Minoru Akagi (@minorua)


There will be a bug that LDID value of new Shapefile is set to 0x57(ANSI) regardless of selected encoding.

At present, you will be able to re-choose codepage in "provider specific options" if you set LDID of dbf file to "0" before you start editting new Shapefile. DBF file resaved with OpenOffice.org Calc has "0" in LDID field.

@qgib
Copy link
Contributor Author

qgib commented Jun 30, 2012

Author Name: Minoru Akagi (@minorua)


I've created a ticket(Bug #15355).

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Build/Install Related to compiling or installing QGIS Crash/Data Corruption labels May 24, 2019
@qgib qgib added this to the Version 1.8.0 milestone May 24, 2019
@qgib qgib closed this as completed May 24, 2019
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! Build/Install Related to compiling or installing QGIS Crash/Data Corruption High Priority
Projects
None yet
Development

No branches or pull requests

1 participant