[GRASS-dev] [GRASS GIS] #2584: Vectors skipping columns (character limit !!!) while exporting to OGR data
GRASS GIS
trac at osgeo.org
Wed May 1 14:05:15 PDT 2019
#2584: Vectors skipping columns (character limit !!!) while exporting to OGR data
--------------------------+----------------------------
Reporter: spareeth | Owner: grass-dev@…
Type: defect | Status: closed
Priority: normal | Milestone: 7.6.2
Component: LibVector | Version: svn-trunk
Resolution: wontfix | Keywords: OGR, shapefile
CPU: Unspecified | Platform: Linux
--------------------------+----------------------------
Changes (by mmetz):
* status: new => closed
* resolution: => wontfix
Comment:
Replying to [ticket:2584 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.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'
> }}}
>
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.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2584#comment:5>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list