CG_Intersection — Calcul l'intersection de deux géométries
geometry CG_Intersection( geometry geomA , geometry geomB );
Calcule l'intersection de deux géométries.
Réalisé par le module SFCGAL
|
|
|
NOTE : cette fonction renvoie une géométrie représentant l'intersection. |
Disponibilité : 3.5.0
Cette méthode nécessite le backend SFCGAL.
SELECT ST_AsText(CG_Intersection('LINESTRING(0 0, 5 5)', 'LINESTRING(5 0, 0 5)'));
cg_intersection
-----------------
POINT(2.5 2.5)
(1 row)