Skip to main content
Question

Merged all layers of CityGML Model into one single 3D model

  • November 15, 2022
  • 7 replies
  • 70 views

Forum|alt.badge.img

Hello Sir / Madam,

 

So I have a CityGML (.gml) 3D model, it has three layers - Bridge, BridgeConstructionElement and BridgeInstallation. I am just wondering is there any way that I can merge all layers into one single 3D model?

 

As I will have thousands of models that might be divided into different layers, I need to find a way to group all the layers for each model. Then, I can analysis the data later.

 

I tried "Deaggregator" and "MeshMerger" but it seems like it is not working.

I would really appreciate if anyone can give me a hand.

 

I have attached a sample data below.

 

Thank you very much.

7 replies

muzhnasto
Contributor
Forum|alt.badge.img+12
  • Contributor
  • November 15, 2022

Hi @zacharylee1204​ maybe this way will suit you.

image 


Forum|alt.badge.img
muzhnasto wrote:

Hi @zacharylee1204​ maybe this way will suit you.

image 

Hi @muzhnasto​, thanks for your prompt response. I am really appreciated your help! I will try it soon. However, may I ask what the purpose to use Triangulator and MeshMerger?

 

Triangulator: Does it use to break the model into mesh model?

MeshMerger: Does it use to merge the mesh model?

 

Also, I am just wondering would triangulator change the "shape" of the model once it is merged? Or it should be able to keep the original shape? It is because I really need to keep the original model shape for future analysis.

 

Thank you very much.


muzhnasto
Contributor
Forum|alt.badge.img+12
  • Contributor
  • November 15, 2022
zacharylee1204 wrote:

Hi @muzhnasto​, thanks for your prompt response. I am really appreciated your help! I will try it soon. However, may I ask what the purpose to use Triangulator and MeshMerger?

 

Triangulator: Does it use to break the model into mesh model?

MeshMerger: Does it use to merge the mesh model?

 

Also, I am just wondering would triangulator change the "shape" of the model once it is merged? Or it should be able to keep the original shape? It is because I really need to keep the original model shape for future analysis.

 

Thank you very much.

Hi @zacharylee1204​ for the most correct operation of meshmerge, it is desirable to triangulate all objects


virtualcitymatt
Celebrity
Forum|alt.badge.img+35

What will​ the output format be? It will depend on the best way the structure the geometry. The Triangulater > MeshMerger is the most efficient way to store the geometry. It won't change the "shape" of the geometry, however, it will make it difficult to go back to Solids if that's how your bridge parts are modeled.


Forum|alt.badge.img
virtualcitymatt wrote:

What will​ the output format be? It will depend on the best way the structure the geometry. The Triangulater > MeshMerger is the most efficient way to store the geometry. It won't change the "shape" of the geometry, however, it will make it difficult to go back to Solids if that's how your bridge parts are modeled.

I would like to output it as an OBJ format, if possible. And I don't need to convert it back to CityGML in the future. Do you think it is still ok to work with Triangulater > MeshMerger?

 

Thank you!


virtualcitymatt
Celebrity
Forum|alt.badge.img+35
zacharylee1204 wrote:

I would like to output it as an OBJ format, if possible. And I don't need to convert it back to CityGML in the future. Do you think it is still ok to work with Triangulater > MeshMerger?

 

Thank you!

100% that is most likely the best approach. OBJ is mostly only mesh geometries anyway.


Forum|alt.badge.img
zacharylee1204 wrote:

I would like to output it as an OBJ format, if possible. And I don't need to convert it back to CityGML in the future. Do you think it is still ok to work with Triangulater > MeshMerger?

 

Thank you!

Got it, thank you very much! :)


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