[FWTools] Intersection() stripping 3d values

Travis Kirstine traviskirstine at gmail.com
Fri Oct 31 13:30:21 EDT 2008


I have had some problems with performing an intersection using 3d
point geometry (shapefile) with a polygon, the elevation values are
been stripped off the results.

dstGeom = pointGeom.Intersection(polygonGeom)

I have used this same method with 3d lines and polygons and the
results have include elevation values.  Any thoughts?


pointGeom
POINT (559927.499799999990501 4797959.999800000339746 282.136599999999987)
POINT (559927.499799999990501 4797989.999800000339746 282.0634)
POINT (559934.999799999990501 4797944.999800000339746 282.146600000000035)

polygonGeom
POLYGON ((555621.445978878997266
4790087.327376116998494,555621.445978878997266
4816587.327376116998494,580621.445978878997266
4816587.327376116998494,580621.445978878997266
4790087.327376116998494,555621.445978878997266
4790087.327376116998494))

dstGeom
POINT (559927.499799999990501 4797959.999800000339746)
POINT (559927.499799999990501 4797989.999800000339746)
POINT (559934.999799999990501 4797944.999800000339746)


-- 
Travis K.

Toronto, Canada
------------------------------------------------------------
"She knows there's no success like failure
And that failure's no success at all."
-Bob Dylan-
------------------------------------------------------------


More information about the FWTools mailing list