[GIS] How to calculate overlap area of two polygons

areacoordinatesoverlapping-featurespolygonpostgis

I am a beginner in the world of GIS.

I have one table polygons with each polygon having north-east and south-west coordinates. And for every polygon, I need to find area of overlap with other polygons (e.g. 70% area of polygon A overlaps with polygon B).

I know the ST_Intersects function, but it returns boolean. What other function that I can use with putting buffer as 70%?

If anybody could get me started, that would be great!

Best Answer

ST_Intersection(geomA, geomB) returns a geometry, then calculate areas with ST_Area.

Related Question