[Qgis-developer] reference relation widget - filter by expressions and spatial relations?

Régis Haubourg regis.haubourg at gmail.com
Thu Jan 5 06:40:24 PST 2017


Hi, 
I'm trying to allow a user to set a relation from reference relation widget. 
I can't find a way to filter candidates by a spatial expression such
map_canvas extent, or better by distance. 
Currently, I have to set the list to read only so that user can't display a
dropdown list of thousands of features, which kills QGIS. User only have the
choice to use the map pointer tool, or use "link it" plugin. 
I saw Alessandro's work for value relation filtering with form "value
relation plugin" , which works great with a python function. 
The same feature for reference relation widget would be cool.

Dreaming of the perfect tool, I even think of these features:
- display name on expression with the ability to compute distance between
current object and candidate
- display on the fly a curved arrow rubberband between selected relation and
current feature, to have a visual feedback before saving (already in link it
plugin)

Is there anyone working on that area? 
Cheers
Régis




-----
----------------------------------
Régis Haubourg
GIS administrator and project manager
Administrateur de données géographiques et chef de projet SIG
Agence de l'eau Adour-Garonne 

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/reference-relation-widget-filter-by-expressions-and-spatial-relations-tp5302113.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.


More information about the Qgis-developer mailing list