[postgis-users] Difference between @ and ST_WITHIN/ST_CONTAINS

Frank Durstewitz frank.durstewitz at emporis.com
Tue Apr 22 08:36:49 PDT 2008


Hi,
can someone please explain, what the difference between

WHERE ST_CONTAINS(b.geom, e.geom)

and

WHERE e.geom @ b.geom

is? (b.geom are (multi-)polygons and e.geom are points)

I expect to get the same results, but with @ i get a few more records...?

TIA, Frank


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3281 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20080422/24bc53d9/attachment.bin>


More information about the postgis-users mailing list