Skip to main content
Question

how to integrate building model

  • November 14, 2018
  • 2 replies
  • 9 views

Hi, everyone, I meet some problems when converting the CityGML file to glTF file, the export city model is divided into many parts (Building, WallSurface, RoofSurface and GroundSurface). I want to know how to integrate them into one complete city model. Thanks

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

jovitaatsafe
Safer
Forum|alt.badge.img+11
  • Safer
  • 635 replies
  • November 19, 2018

Hi @wbs,

Have you tried setting the Writer Feature Type Definition to Automatic in your glTF writer parameters when adding in the writer? This will add one writer feature type to your workspace that you can connect all your source data feature types to, rather than adding 4 individual feature types (Building, WallSurface..). This means that it will write out a single glTF file.


nampreetatsafe
Safer
Forum|alt.badge.img+13
  • Safer
  • 383 replies
  • November 20, 2018

Hi @wbs:

I've attached a workspace, CityGML_To_Map3D.fmw , taken from a recent webinar that Safe Software hosted. The workspace takes a CityGML model and merges it into on complete model using the gml_id attribute. Though this example is in the context of writing to Autodesk AutoCAD Map 3D, the way the CityGML is read in and processed should be portable to your case here.

 

The associated webinar should be published online soon, so keep an eye out on our Webinars page.