Dear all,
At this moment i'm trying to convert a CityGML (MultiSurface) to a WKT.
Unfortunately I get Multilinestring instead of MultiPolygon. What am I doing wrong?
This is my workbench
Dear all,
At this moment i'm trying to convert a CityGML (MultiSurface) to a WKT.
Unfortunately I get Multilinestring instead of MultiPolygon. What am I doing wrong?
This is my workbench
If you send the output from the CityGML reader to an Inspector, what do you see? Lines or polygons?
Eiter way, you can try inserting a GeometryCoercer set to fme_polygon just after the Reader and see if that makes a difference. Attention: the GeometryCoercer doesn't support aggregates (multi-part geometries), so you may have to use a Deaggregator first and an Aggregator (Group By on the _part_number attribute) after.
@david_r it works! Thanks a lot.
GeometryCoercer and then delete the default Geometry XQuery....
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.