Skip to main content
Question

MultiSurface to WKT MultiPolygon

  • October 23, 2018
  • 2 replies
  • 280 views

Forum|alt.badge.img

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

david_r
Celebrity
  • October 23, 2018

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.


Forum|alt.badge.img
  • Author
  • October 23, 2018

@david_r it works! Thanks a lot.

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings