Hi All,

I have an assignment that requires me to truncate the precision of all my
polygon coordinates to 6 decimal places.  Is there an easy way to do this
while I have the feature opened with OGR and can access its ogr.Geometry
directly?  If not, can someone recommend a good way to iterate through each
coordinate in a feature in such a way that I can treat it as a string and
format it?

Thanks,

Roger
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to