[postgis-users] selecting geometries, using 2 polygons

Malm Paul paul.malm at saabgroup.com
Tue Apr 28 06:16:04 PDT 2009


Hi,
I have 2 polygons (rectangeles) p1 and p2, they intersect each other.
I would like to select all geometries within p1 excluding all geometries within p2.

How can I do this with postGIS and SQL ?

Kind regards,
Paul


More information about the postgis-users mailing list