[prev in list] [next in list] [prev in thread] [next in thread]
List: qgis-user
Subject: [Qgis-user] user defined function in WFS expression string builder
From: Nicolas Boisteault <boisteault () observatoire-environnement ! org>
Date: 2015-12-21 8:58:52
Message-ID: 5677BF4C.5090803 () observatoire-environnement ! org
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Hi,
I've posted this question on gis.stackexchange :
http://gis.stackexchange.com/questions/173213/quickly-make-server-side-spatial-filters-for-wfs-layers-based-on-other-layers-s
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.
This function is correct used alone but I dont' get any filter when I
use it this way :
intersects( $geometry , geom_from_wkt(getSelectedFeaturesInWKT()))
Is it a bug or I'm doing something the wrong way?
--
Nicolas BOISTEAULT
Développeur Web
Observatoire Régional de l'Environnement Poitou-Charentes
Téléport 4 Antarès - BP 50163 - 86962 Futuroscope Chasseneuil Cedex
Tél : 05 49 49 71 18
*Soyez Eco-responsable, n'imprimez que si nécessaire*
[Attachment #5 (text/html)]
<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-f \
ilters-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>
[Attachment #6 (text/plain)]
_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic