[Qgis-developer] Tool to pick up linear referencing measure from mouse
Régis Haubourg
regis.haubourg at eau-adour-garonne.fr
Tue Nov 24 13:29:12 PST 2015
Well, thanks Nyall, Radim and Pierre for your lights !
Nyall Dawson wrote
>> I think that now (>=2.8), when QGIS geometry supports M (measure), the
>> measure calculated for the nearest point on the identified line
>> could/should be added to derived attributes in standard identify
>> results.
>
> And as of 2 days ago, it does: ;)
>
> https://github.com/qgis/QGIS/commit/1f0d24a0c7a6555ced117ecfc08a73afb1f31b46
>
> Nyall
I suppose that means that in 2.14, I'll be able to make my own tool calling
identify classes to get vertex measure. So good!
Radim, do you have plans to extend LRS in 2016? If you have sponsors looking
for co-funders, I would be interested in having it work with existing
M-geometries, and have tools to generate events by picking locations on the
map.
Last question now :)
I need to make an edit form, with inline with some attributes (measure, or x
/ y) that user shall use to go picking those data from the canvas. Behind
the button, I need to code some behaviour, like target layer, snapping
options, fields or geometry information to catch, and of course destination
field.
Is this possible with a python init script, without any plugin?
If so, that allows me to distribute project + ui file + .py and have it work
with no plugin install or additional configuration.
Any snippet to point me in the right direction? (When done, I will submit
it to pyqgis cookbook, this would be great to share).
All the best
Régis
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Tool-to-pick-up-linear-referencing-measure-from-mouse-tp5238110p5238358.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
More information about the Qgis-developer
mailing list