<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi,<br>
    <br>
    I've posted this question on gis.stackexchange :
    <a class="moz-txt-link-freetext"
href="http://gis.stackexchange.com/questions/173213/quickly-make-server-side-spatial-filters-for-wfs-layers-based-on-other-layers-s">http://gis.stackexchange.com/questions/173213/quickly-make-server-side-spatial-filters-for-wfs-layers-based-on-other-layers-s</a><br>
    <br>
    In the edit part of the question, I'm using a user defined function
    in the WFS expression string builder which return wkt for selected
    features.<br>
    This function is correct used alone but I dont' get any filter when
    I use it this way :<br>
    <br>
    intersects(  $geometry , geom_from_wkt(getSelectedFeaturesInWKT()))<br>
    <br>
    Is it a bug or I'm doing something the wrong way?<br>
    <br>
    <div class="moz-signature">-- <br>
      Nicolas BOISTEAULT<br>
      Développeur Web<br>
      Observatoire Régional de l'Environnement Poitou-Charentes<br>
      Téléport 4 Antarès - BP 50163 - 86962 Futuroscope Chasseneuil
      Cedex<br>
      Tél : 05 49 49 71 18<br>
      <span style="color:#3E703F"><b>Soyez Eco-responsable, n'imprimez
          que si nécessaire</b></span></div>
  </body>
</html>