[Qgis-developer] calculate distance from two points along line in pyqgis

G. Allegri giohappy at gmail.com
Wed Jan 14 02:08:27 PST 2015


Yes gene. Plus, this script considers a point not intersecting the line.

2015-01-14 10:49 GMT+01:00 gene <martin.laloux at gmail.com>:

> = sum of segments length before the one where the intersecting point lies +
> the length between the first point of this segment and the intersection
> point
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/calculate-distance-from-two-points-along-line-in-pyqgis-tp5181313p5181416.html
> Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>



-- 
Giovanni Allegri
http://about.me/giovanniallegri
Twitter: https://twitter.com/_giohappy_
blog: http://blog.spaziogis.it
GEO+ geomatica in Italia http://bit.ly/GEOplus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20150114/734e6fc4/attachment-0001.html>


More information about the Qgis-developer mailing list