Hi,
the following query:

SELECT
ST_AsEWKT(ST_Intersection(GeomFromEWKT('SRID=26591;POLYGON((1500000 5000000 100,1500010 5000000 100,1500010 5000010 110,1500000 5000010 110,1500000 5000000 100))'), GeomFromEWKT('SRID=26591;POLYGON((1500000 5000004,1500010 5000004,1500010 5000006,1500000 5000006,1500000 5000004))')))

return this result:
"SRID=26591;POLYGON((1500010 5000006 106,1500010 5000004 105,1500000 5000004 105,1500000 5000006 105,1500010 5000006 106))"

i would expect: (see Z-values)
"SRID=26591;POLYGON((1500010 5000006 106,1500010 5000004 104,1500000 5000004 104,1500000 5000006 106,1500010 5000006 106))"

Is the intersection supposed to work on 3D data?

Best regards
Daniel



_______________________________________________
postgis-users mailing list
[email protected]
http://postgis.refractions.net/mailman/listinfo/postgis-users

Reply via email to