<div dir="ltr"><div>Hi,<br><br>of course, I just forgot again that the column name can be to long for a shapefile. <br>Thank you Micha!<br>Maybe the Error message can be improved in such cases.<br><br></div>/johannes<br></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 16, 2013 at 11:01 AM, Micha Silver <span dir="ltr"><<a href="mailto:micha@arava.co.il" target="_blank">micha@arava.co.il</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On 16/05/2013 11:48, Johannes Radinger wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I wanted to export a point vector to a .shp file. This works except for<br>
a column that does not get exported. I have tried it in grass70 and grass65 (in Ubuntu)<br>
but both without success. The attribute column that is not exported was created<br>
in the attribute table view and populated with a sqlite-command. The column<br>
is of type DOUBLE and stores the value 0.5 for all points.<br>
<br>
Here the error (in grass65, but the same in grass70) :<br>
v.out.ogr -e --overwrite input=barriers@PERMANENT type=point dsn=/path/to/output<br>
Warning 1: Field Riv of width 1000 truncated to 255.<br>
Warning 1: Field Site of width 1000 truncated to 255.<br>
Warning 1: Field type of width 1000 truncated to 255.<br>
ERROR 6: Failed to add field named 'passability'<br>
Exporting 20 geometries...<br>
<br>
</blockquote></div></div>
Maybe the name "passability" is too long? The dbf component of a shapefile is limited to column names of 10 characters.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
What is the reason for that and how can it be solved?<br>
<br>
Best regards,<br>
Johannes<br>
<br></div>
This mail was received via Mail-SeCure System.<br>
<br>
<br>
______________________________<u></u>_________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/grass-user</a><br>
<br>
This mail was received via Mail-SeCure System.<br>
<br>
<br><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
<br>
-- <br>
Micha Silver<br>
GIS Consulting<br>
<a href="tel:052-3665918" value="+49523665918" target="_blank">052-3665918</a><br>
<a href="http://www.surfaces.co.il" target="_blank">http://www.surfaces.co.il</a><br>
<br>
</font></span></blockquote></div><br></div>