dimanche 1 février 2015

Does ST_Intersection work in 3D?


I am using "ST_Intersection" between two 3D lines which I believe do not intersect, but the result gives me their intersection.



SELECT ST_ASText(ST_Intersection(
ST_GeomFromText('LINESTRING( 1 1 1, 5 5 1)'),
ST_GeomFromText('LINESTRING( 4 1 10, 1 5 10)'
)));




results in:



POINT Z (2.71428571428571 2.71428571428571 5.5)






Aucun commentaire:

Enregistrer un commentaire