Hi Regis, I dont know if it's exactly what you are looking for but I had a same question. It was not for a plugin but for a standalone app. Form looks like screenshot joined I can send you ui and class behind the form. Lots of things are hard-coded (standalone app)
It's a mash-up from first LRS plugin (Martin Dobias), others, and at least personal stuff ;-) PS: I have same for point event Sylvain -----Message d'origine----- De : Qgis-developer [mailto:qgis-developer-boun...@lists.osgeo.org] De la part de Régis Haubourg Envoyé : lundi 23 novembre 2015 18:01 À : qgis-developer@lists.osgeo.org Objet : [Qgis-developer] Tool to pick up linear referencing measure from mouse Hi, I'm having a classical use case here. Before starting a new plugin, and since it is a very common task in GIS, I would like to know if anyone has made something alike: - I have a postgis db with LINESTRINGM routes (watercourses already calibrated with measures). - I have a non geometric table registering events with start and end measures + identifier of my routes (watercours ID). - I create my event in the attribute table, with one ID and two manually typed measures, then a view cast it to spatial view using locate_beetween_measure function. I would like to create a form with two tools dedicated to "pick up" my route and the measure. i've done it in Arcview 3.2 once in the old past.. What could be the current better and simpler approach in QGIS? LRS plugin does not have that feature, and requires to recalibrate layers from scratch. Could we dream for the future of a new generic form widget with custom expressions to get attributes or geometric information from a layer (with snapping options )? Cheers Régis -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Tool-to-pick-up-linear-referencing-measure-from-mouse-tp5238110.html Sent from the Quantum GIS - Developer mailing list archive at Nabble.com. _______________________________________________ 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
_______________________________________________ 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