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

Markus Neteler neteler at osgeo.org
Thu May 16 15:06:01 PDT 2013


On Thu, May 16, 2013 at 11:16 PM, Markus Metz
<markus.metz.giswork at gmail.com> wrote:
> On Thu, May 16, 2013 at 11:40 AM, Johannes Radinger
> <johannesradinger at gmail.com> wrote:
>> 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.
>
> These warnings
> 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.
>
> and this error
> ERROR 6: Failed to add field named 'passability'
>
> come from the OGR library. If you want these messages to be improved,
> please ask on the GDAL dev ml. GRASS can not change these messages.

You may check if there is a name collision when abbreviating the
names to 10 chars, see

v.info -c yourmap

for the list.

BTW: I just remembered
http://trac.osgeo.org/grass/ticket/1915

but it is really an OGR issue.

markusN


More information about the grass-user mailing list