<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: arial,helvetica,sans-serif; font-size: 10pt; color: #000000'><style>p { margin: 0; }</style><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt; color: #000000">Good morning,<br><br>thanks to the new Qgis, I can make a really pratical interface to my postgis database. I want to make use of relationnal value in the editing form.<br>The table I use to populate the list is a spatial table.<br><br>I would like to restrict the list of available values in the form to the objects within the current extent of my map.<br><br>I found an example wich is ok but I would like to make use of a variable instead of a fixed extend (GeomFromWKT()).<br>The example I tried is here : http://www.3liz.com/blog/rldhont/index.php?post/2012/11/06/Spatial-operators-in-QGIS-expression<br><br>Thanks a lot,<br><br>Mathieu<br><br><div><span></span>-- <br>Mathieu BOSSAERT <br>Responsable du système d'information <br><img style="border: 0px none;" src="http://www.cenlr.org/divers/logo_signature_millenaire.jpg"><br>Membre de la Fédération des Conservatoires d'espaces naturels www.reseau-cen.org <br><span></span><br></div></div></div></body></html>