<div dir="ltr">Sajid,<div>The shape file format has a 10 character limit on field name length. The smallest field name I see above is 11. see, <a href="http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=Geoprocessing%20considerations%20for%20shapefile%20output">http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=Geoprocessing%20considerations%20for%20shapefile%20output</a></div><div><br></div><div>Doug</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 10, 2015 at 12:13 PM, GRASS GIS <span dir="ltr"><<a href="mailto:trac@osgeo.org" target="_blank">trac@osgeo.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">#2584: Vectors skipping columns (character limit !!!) while exporting to OGR data<br>
----------------------------+-----------------------------------------------<br>
Reporter: spareeth | Owner: grass-dev@…<br>
Type: defect | Status: new<br>
Priority: normal | Milestone: 7.0.0<br>
Component: LibVector | Version: svn-trunk<br>
Keywords: OGR, shapefile | Platform: Linux<br>
Cpu: Unspecified |<br>
----------------------------+-----------------------------------------------<br>
Hi<br>
I am trying to export a vector data with many columns to shape format. But<br>
it seems it is avoiding all the columns with greater than 10 characters<br>
(from the pattern, not sure). Tried in GRASS 6.4.5, GRASS 7.0 svn and<br>
GRASS 7.1 svn, giving the same error.<br>
<br>
Please find attached the packed vector layer which i tried.<br>
<br>
{{{<br>
v.out.ogr input=test output=test_output.shp<br>
}}}<br>
gives me following error, but finishes the job with remaining columns.<br>
<br>
<br>
{{{<br>
ERROR 6: Failed to add field named 'int_minimum'<br>
ERROR 6: Failed to add field named 'int_maximum'<br>
ERROR 6: Failed to add field named 'int_average'<br>
ERROR 6: Failed to add field named 'int_variance'<br>
ERROR 6: Failed to add field named 'int_coeff_var'<br>
ERROR 6: Failed to add field named 'int_first_quartile'<br>
ERROR 6: Failed to add field named 'int_third_quartile'<br>
ERROR 6: Failed to add field named 'int_percentile_90'<br>
}}}<br>
<br>
Regards<br>
<br>
Sajid<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Ticket URL: <<a href="http://trac.osgeo.org/grass/ticket/2584" target="_blank">http://trac.osgeo.org/grass/ticket/2584</a>><br>
GRASS GIS <<a href="http://grass.osgeo.org" target="_blank">http://grass.osgeo.org</a>><br>
<br>
_______________________________________________<br>
grass-dev mailing list<br>
<a href="mailto:grass-dev@lists.osgeo.org">grass-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-dev</a></font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div>Doug Newcomb</div><div>USFWS</div><div>Raleigh, NC</div><div>919-856-4520 ext. 14 <a href="mailto:doug_newcomb@fws.gov" target="_blank">doug_newcomb@fws.gov</a></div><div>---------------------------------------------------------------------------------------------------------</div><div>The opinions I express are my own and are not representative of the official policy of the U.S.Fish and Wildlife Service or Dept. of the Interior. Life is too short for undocumented, proprietary data formats.</div></div>
</div>