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