I included the code in a small plugin for you to check it out. It's on
Could certainly be improved by snapping to the line (snap to segment
must be turned on).
Am 08.09.2016 um 08:39 schrieb Paolo Cavallini:
Il 08/09/2016 08:00, Bernhard Ströbl ha scritto:
however I have some Python code here in operation that returns a
"station" on a line by clicking on the line (or near it, as you won't
hit the line without snapping to segment). A "station" is a position on
the line, i.e. the start point of the line is station = 0, the end point
of the line is station = line.length().
Rational was to identify stations on street lines where certain
infrastructure like sewer covers are situated.
Will share if you are interested.
I am, please do.
__________ Information from ESET Mail Security, version of virus signature
database 14089 (20160908) __________
The message was checked by ESET Mail Security.
Qgis-user mailing list
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user