Skip to main content
Question

MultiSurface to WKT MultiPolygon

  • October 23, 2018
  • 2 replies
  • 370 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

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

david_r
Celebrity
  • 8394 replies
  • 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
  • 7 replies
  • October 23, 2018

@david_r it works! Thanks a lot.

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