Skip to main content
Best Answer

CityGML: change gml_geometry

  • May 29, 2018
  • 1 reply
  • 52 views

Hello everybody,

I'm using this template https://hub.safe.com/templates/citygml-create-solitaryvegetationobject-with-implicit-representation to create a CityGML file that contains trees as SolitaryVegetationObjects with implicit representation. The template works fine but doesn’t serve my purpose as I want to use the data in the 3DCityDB which doesn't support MultiGeometry features. Is there a way to change the gml_geometry?

Thank you for your help.

Best answer by daveatsafe

Hi @lsdanger,

You can change the geometry of the tree models before adding them to the shared item library. Please add a GeometryRefiner transformer right after the tree model input. This will change the output gml_geometry to MultiSurface.

If you follow the GeometryRefiner with a GeometryCoercer, set to fme_composite_surface, the gml_geometry will become a CompositeSurface.

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.

1 reply

daveatsafe
Safer
Forum|alt.badge.img+20
  • Safer
  • Best Answer
  • May 29, 2018

Hi @lsdanger,

You can change the geometry of the tree models before adding them to the shared item library. Please add a GeometryRefiner transformer right after the tree model input. This will change the output gml_geometry to MultiSurface.

If you follow the GeometryRefiner with a GeometryCoercer, set to fme_composite_surface, the gml_geometry will become a CompositeSurface.