alessandro Pasotti has a pull request that probably is what you are looking for
https://github.com/qgis/QGIS/pull/2498 Regards On Tuesday, 24 November 2015, Régis Haubourg < regis.haubo...@eau-adour-garonne.fr> wrote: > 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. > _______________________________________________ > Qgis-developer mailing list > Qgis-developer@lists.osgeo.org <javascript:;> > List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer > Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer -- Luigi Pirelli ************************************************************************************************** * Boundless QGIS Support/Development: lpirelli AT boundlessgeo DOT com * LinkedIn: https://www.linkedin.com/in/luigipirelli * Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli * GitHub: https://github.com/luipir * Mastering QGIS: https://www.packtpub.com/application-development/mastering-qgis **************************************************************************************************
_______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer