Bug report #8135
Saving shp with joined attributes results in wrong column values
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||fixed|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||16965|
I joined a shp attribute with a csv attribute. While the two are joined in the cache the number precision in the attribute table is preserved. When I perform a save as to create a shp with the attributes joined permanently, the resulting shp converts the real numbers to integers in the attribute table.
#2 Updated by Giovanni Manghi over 6 years ago
- Target version set to Version 2.0.0
- Priority changed from Normal to High
- Status changed from Feedback to Open
- Subject changed from Saving shp with joined attributes causes loss of number precision to Saving shp with joined attributes results in wrong column values
- Operating System deleted (
From what I see your report is about qgis 1.8.
In QGIS master the things are a little better but still wrong, as the resulting columns have the right number of decimal places, but the values are incorrect.
Anyway it is not a regression, so is not a blocker issue.
#4 Updated by Giovanni Manghi over 6 years ago
- Status changed from Open to Closed
- Resolution set to fixed
Minoru Akagi wrote:
The width values of real type fields in 2013_tissue_results.csvt are too short. With sufficient values like Real(10.3), you can see untruncated numbers in the output shapefile.
then I guess this can be closed as the original issue is fixed in master.