|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.
Change History (9)
comment:3 Changed 7 years ago by strk
- Component changed from general to Format.WKT
- Owner set to tschaub
comment:5 Changed 6 years ago by tschaub
- Resolution set to fixed
- Status changed from assigned to closed