[postgis-users] 3d Point-Polygon Intersection

Jim Jim gamecleaner at hotmail.com
Sun Apr 5 01:24:21 PDT 2009


Hello,

I am a little puzzled by the following:

select asEWKT(ST_Intersection(
('POLYGON((0 0 0,4 0 0,4 4 0,0 4 0,0 0 0),(1 1 0,2 1 0,2 2 0,1 2 0,1 1 0))'),
('POINT(0 4 -1000)')
 ));

Result: "POINT(0 4 -500)"

Since the point is not in the polygon the intersection should be empty. Please let me know why this is behaving otherwise. If I am missing something, could you please let me know what would be the way to get the answer I was expecting?

Thank you!

_________________________________________________________________
Share your photos with Windows Live Photos – Free.
http://clk.atdmt.com/UKM/go/134665338/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20090405/f96c031b/attachment.html>


More information about the postgis-users mailing list