[Qgis-developer] Spatial operators in field calc

rldhont rldhont at gmail.com
Wed Oct 16 23:50:22 PDT 2013


Hi Paolo,

You can find a description of it here :
http://www.3liz.com/blog/rldhont/index.php?post/2012/11/06/Spatial-operators-in-QGIS-expression

You can do this type of expression :
intersects( $geometry, geomFromWKT( 'LINESTRING(765145.88 6274561.22, 
776031.67 6284189.52)' ) )

I made it for WFS QGIS-Server

Regards,
René-Luc D'Hont
3Liz

Le 16/10/2013 19:18, Andrea Peri a écrit :
> perhaps to have some conditional input value ?
>
>
>
> 2013/10/16 Paolo Cavallini <cavallini at faunalia.it 
> <mailto:cavallini at faunalia.it>>
>
>     -----BEGIN PGP SIGNED MESSAGE-----
>     Hash: SHA1
>
>     Hi all.
>     In the Field Calculator there are, among the expressions, a series
>     of spatial
>     operators (touches, intersects, etc.), but I cannot figure out how
>     to use them. They
>     make sense as operators across layers, but I do not see how to use
>     them within the
>     same layer.
>     Any hint?
>     Thanks.
>     - --
>     Paolo Cavallini - Faunalia
>     www.faunalia.eu <http://www.faunalia.eu>
>     Full contact details at www.faunalia.eu/pc <http://www.faunalia.eu/pc>
>     Nuovi corsi QGIS e PostGIS: http://www.faunalia.it/calendario
>     -----BEGIN PGP SIGNATURE-----
>     Version: GnuPG v1.4.15 (GNU/Linux)
>     Comment: Using GnuPG with Icedove - http://www.enigmail.net/
>
>     iEYEARECAAYFAlJexz8ACgkQ/NedwLUzIr5foQCffSm0vvgN3PM4gSMBGQZZJiKP
>     qyoAoI/npwhCsqeVQzxQ4e0QIg1c9IFk
>     =vTvS
>     -----END PGP SIGNATURE-----
>     _______________________________________________
>     Qgis-developer mailing list
>     Qgis-developer at lists.osgeo.org <mailto:Qgis-developer at lists.osgeo.org>
>     http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
>
>
> -- 
> -----------------
> Andrea Peri
> . . . . . . . . .
> qwerty àèìòù
> -----------------
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20131017/d6e94f2c/attachment.html>


More information about the Qgis-developer mailing list