[gdal-dev] Changing precision of coordinates in Python OGR API
Roger André
randre at gmail.com
Tue Aug 16 19:51:36 EDT 2011
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110816/d3143d79/attachment.html
More information about the gdal-dev
mailing list