Extracting coordinate pairs of crossing points of two polygons in PostGIS
Is it possible to extract x,y-coordinate pairs of crossing points of two overlapping polygons in PostGIS?
Suppose there are only 2 overlapping points of the polygons the ST_Intersection
function extracts more than two coordinate pairs (also the shared vertices of polygons are included).
SELECT ST_Intersection(geometry geomA , geometry geomB);
I am interested only in the 2 boundary crossing points of polygons.