[geos-devel] Geometry/Rectangle Intersection: line touching rectangle
Sandro Santilli
strk at keybit.net
Tue Sep 9 07:56:55 PDT 2014
Another case where output differs from ST_Intersection:
Rectangle: 0,0 10,10
Geometry: LINESTRING(10 0, 20 0)
Expected: POINT(10, 0)
Obtained: EMPTY
+----------+
| |
| |
| |
+----------O------------+
That is, the intersection of a rectangle and a linestring whose endpoint
is on one of its corners is expected to yeld the corner point.
--strk;
() ASCII ribbon campaign -- Keep it simple !
/\ http://strk.keybit.net/rants/ascii_mails.txt
More information about the geos-devel
mailing list