[postgis-users] How to Subtract Polygon From Polygon

Jan Saalbach fire at dubmosphere.de
Tue Nov 2 05:48:32 PDT 2010


Dear All,
is there a function to easily subtract a polygon from a polygon. Both 
are rectangles.

The scenario:
Two overlapping polygons identified by ST_INTERSECTS.
Creating a third one from the overlapping area via ST_INTERSECTION.
Subtract the overlap from the two initial polygons. Which function?

Any suggestions?

Regards
Jan



More information about the postgis-users mailing list