[Gdal-dev] How to measure a distance betwen two points on a line

Gustavo Ces g.ces at pettra.es
Wed Nov 7 12:54:34 EST 2007


Hi all,

    I´m making a python script and i need to measure the distance betwen two points on a line ( not the euclidean distance; sometimes there´s a lot of points betwen them...). I see the Distance() method but it seems it compares the euclidean distance betwen two geometries. Is there any ogr method to achieve my goal?
    Thanks in advance,

Gus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20071107/34e54ec4/attachment.html


More information about the gdal-dev mailing list