[Community] WKT Z Values (Shapely-1.0.11)

moosilauke at gmail.com moosilauke at gmail.com
Tue Mar 17 19:52:23 EET 2009


Hello --

I just wanted to say that I'm psyched to be using Shapely. I'm very tired  
of ArcObjects, and I'd rather support free software anyway. Combining  
Shapely with PyShapelib and PyShapeTree saves me so much time.

I have a question about something I've encountered using Shapely-1.0.11. I  
checked the archives a year back to see if someone else has posted  
something about an issue I'm seeing, but I didn't find anything. When I  
create a point object containing az value, it seems that the z value is  
lost when I generate the WKT representation of that point. For example,

>>> p = geometry.Point(1,2,3)
>>> p.wkt
'POINT (1.0000000000000000 2.0000000000000000)'


The z is missing from this output. Should it return something like Point Z  
(1.0000000000000000 2.0000000000000000 3.0000000000000000) ?

Thanks,
Dennis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gispython.org/pipermail/community/attachments/20090317/2b9cc5e5/attachment.htm>


More information about the Community mailing list