Question

MultiSurface to WKT MultiPolygon

  • 23 October 2018
  • 2 replies
  • 40 views

Badge

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


2 replies

Userlevel 4

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.

Badge

@david_r it works! Thanks a lot.

GeometryCoercer and then delete the default Geometry XQuery....

Reply