[gdal-dev] OGR - GetLength in Python

Ludovic Granjon ludovic.granjon at u-bourgogne.fr
Thu Nov 18 08:52:30 EST 2010


Hi all

I try to calculate the length of a linestring in python.
But is there a way in python with ogr to calculate this. I see there's a 
GetLength()  in the OGRLineString Class Reference 
http://www.gdal.org/ogr/classOGRLineString.html#7b3dc3abefd16aea17ac9fcc0ccd0010 
, but I don't see if there's the same thing in python ?

Thanks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ludovic_granjon.vcf
Type: text/x-vcard
Size: 149 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/gdal-dev/attachments/20101118/75b0e383/ludovic_granjon.vcf


More information about the gdal-dev mailing list