<div dir="ltr">Hello GDAL Devs, <br><br>I encoutered a small problem, where I don't understand why field names in ESRI Shape files created by gdal, are truncated. <br>Here is a code snippet:<br><br> field_LUC = ogr.FieldDefn() <br>
field_LUC.SetName('LAND USE CODE') <br> field_LUC.SetType(ogr.OFTInteger) <br> field_LUC.SetWidth(15) <br> dst_layer.CreateField(field_LUC)<br><br><br>Yet, when I examine the output file the attribute table contains a field called "LAND USE C", <br>
so 3 characters are missing. <br><br>Would be happy to know what am I doing wrong. Thank you very much, <br><br>-- <br>Oz Nahum<br>Graduate Student<br>Zentrum für Angewandte Geologie<br>Universität Tübingen<br><br>---<br>
<br>Imagine there's no countries<br>it isn't hard to do<br>Nothing to kill or die for<br>And no religion too<br>Imagine all the people<br>Living life in peace <br><br><br>
</div>