Opened 10 years ago
Closed 6 years ago
#2584 closed defect (wontfix)
Vectors skipping columns (character limit !!!) while exporting to OGR data
Reported by: | spareeth | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 7.6.2 |
Component: | LibVector | Version: | svn-trunk |
Keywords: | OGR, shapefile | Cc: | |
CPU: | Unspecified | Platform: | Linux |
Description
Hi I am trying to export a vector data with many columns to shape format. But it seems it is avoiding all the columns with greater than 10 characters (from the pattern, not sure). Tried in GRASS 6.4.5, GRASS 7.0 svn and GRASS 7.1 svn, giving the same error.
Please find attached the packed vector layer which i tried.
v.out.ogr input=test output=test_output.shp
gives me following error, but finishes the job with remaining columns.
ERROR 6: Failed to add field named 'int_minimum' ERROR 6: Failed to add field named 'int_maximum' ERROR 6: Failed to add field named 'int_average' ERROR 6: Failed to add field named 'int_variance' ERROR 6: Failed to add field named 'int_coeff_var' ERROR 6: Failed to add field named 'int_first_quartile' ERROR 6: Failed to add field named 'int_third_quartile' ERROR 6: Failed to add field named 'int_percentile_90'
Regards
Sajid
Attachments (1)
Change History (6)
by , 10 years ago
comment:1 by , 9 years ago
Milestone: | 7.0.0 → 7.0.5 |
---|
comment:2 by , 8 years ago
Milestone: | 7.0.5 → 7.0.6 |
---|
comment:3 by , 7 years ago
Milestone: | 7.0.6 → 7.0.7 |
---|
comment:5 by , 6 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Replying to spareeth:
Hi I am trying to export a vector data with many columns to shape format. But it seems it is avoiding all the columns with greater than 10 characters (from the pattern, not sure). Tried in GRASS 6.4.5, GRASS 7.0 svn and GRASS 7.1 svn, giving the same error.
Please find attached the packed vector layer which i tried.
v.out.ogr input=test output=test_output.shpgives me following error, but finishes the job with remaining columns.
ERROR 6: Failed to add field named 'int_minimum' ERROR 6: Failed to add field named 'int_maximum' ERROR 6: Failed to add field named 'int_average' ERROR 6: Failed to add field named 'int_variance' ERROR 6: Failed to add field named 'int_coeff_var' ERROR 6: Failed to add field named 'int_first_quartile' ERROR 6: Failed to add field named 'int_third_quartile' ERROR 6: Failed to add field named 'int_percentile_90'
These errors come from GDAL, I think GDAL is now changing column names automatically if they are longer than 10 characters. v.out.ogr does not handle limitations of the requested output format, this is delegated to GDAL.
packed vector data to test.(v.pack)