[GRASS-user] Failed export of vector, missing attribute column

Johannes Radinger johannesradinger at gmail.com
Thu May 16 02:40:24 PDT 2013


Hi,

of course, I just forgot again that the column name can be to long for a
shapefile.
Thank you Micha!
Maybe the Error message can be improved in such cases.

/johannes


On Thu, May 16, 2013 at 11:01 AM, Micha Silver <micha at arava.co.il> wrote:

> On 16/05/2013 11:48, Johannes Radinger wrote:
>
>> Hi,
>>
>> I wanted to export a point vector to a .shp file. This works except for
>> a column that does not get exported. I have tried it in grass70 and
>> grass65 (in Ubuntu)
>> but both without success. The attribute column that is not exported was
>> created
>> in the attribute table view and populated with a sqlite-command. The
>> column
>> is of type DOUBLE and stores the value 0.5 for all points.
>>
>> Here the error (in grass65, but the same in grass70) :
>> v.out.ogr -e --overwrite input=barriers at PERMANENT type=point
>> dsn=/path/to/output
>> Warning 1: Field Riv of width 1000 truncated to 255.
>> Warning 1: Field Site of width 1000 truncated to 255.
>> Warning 1: Field type of width 1000 truncated to 255.
>> ERROR 6: Failed to add field named 'passability'
>> Exporting 20 geometries...
>>
>>  Maybe the name "passability" is too long? The dbf component of a
> shapefile is limited to column names of 10 characters.
>
>  What is the reason for that and how can it be solved?
>>
>> Best regards,
>> Johannes
>>
>> This mail was received via Mail-SeCure System.
>>
>>
>> ______________________________**_________________
>> grass-user mailing list
>> grass-user at lists.osgeo.org
>> http://lists.osgeo.org/**mailman/listinfo/grass-user<http://lists.osgeo.org/mailman/listinfo/grass-user>
>>
>> This mail was received via Mail-SeCure System.
>>
>>
>>
>
> --
> Micha Silver
> GIS Consulting
> 052-3665918
> http://www.surfaces.co.il
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20130516/e9983555/attachment.html>


More information about the grass-user mailing list