Ticket #2706 (closed feature: fixed)
|Reported by:||strk||Owned by:||tschaub|
It seems to me that WKT.write() fails when passed a Feature whose geometry is a Geometry.Collection. This was tested adding such a testcase in WKT.html.
Won't have time shortly for working on a patch so I tought to file it to avoid forgetting about the issue.
Oh, since I looked at it, the problem lies in lack of a 'geometrycollection' element in the 'extract' property of WKT class. Most likely portion of the code in 'write' should be put in its own function (ie: extractGeometry) to reuse it from the 'geometrycollection' extracter in a recursive manner.