[GRASS-user] v.out.ogr drops some columns with non informative error

Moritz Lennert mlennert at club.worldonline.be
Wed Dec 17 06:59:16 PST 2014


On 17/12/14 14:59, Margherita Di Leo wrote:
> Hi,
>
> I'm experiencing this problem, exporting a vector file with a table
> associated, several columns are exported but two of them are dropped,
> and the error is not informative:
>
> ERROR 6: Failed to add field named 'wetness_idx'
> ERROR 6: Failed to add field named 'elevabovestr'
>
> I'm struggling to ask it why, but it doesn't speak, even in verbose
> mode. I'm on G 7.1.svn (r63559)

Are you exporting to shapefile ?

There is a 10-letter limit to column names and apparently also a 255 
columns limit:

http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=Geoprocessing%20considerations%20for%20shapefile%20output

Moritz


More information about the grass-user mailing list