Skip to main content
Question

How to create solid geometry for citygml (lod1Solid)


limo
Supporter
Forum|alt.badge.img+8
  • Supporter

Hi,

 

we have some PoylgonZ geometries with multipe polygons per building. For each polygon we have different heights.

Now we are creating building models in citygml with citygml_lod_name = lod1Solid. This is working already with this workflow:

imageBut now we have for each solid one building element. Then I thought on the transformer aggregate to aggregate the solids for each building (by gmlid).

But then I have MultiSolids which I can´t write to CityGML (lod1Solid).

 

How can I create only one Solid for each building?

Or do I have to use lod1MultiSurface?

3 replies

ebygomm
Influencer
Forum|alt.badge.img+39
  • Influencer
  • April 20, 2023

Assuming you are after something like this?

imageHave you looked at the custom transformer SolidDissover?


virtualcitymatt
Celebrity
Forum|alt.badge.img+36

Yeah, either dissolve into one Building as @ebygomm​ suggested OR if you want to keep the Information from both features you can create BuildingParts instead.

 

I've attached an example showing both cases


limo
Supporter
Forum|alt.badge.img+8
  • Author
  • Supporter
  • April 21, 2023
ebygomm wrote:

Assuming you are after something like this?

imageHave you looked at the custom transformer SolidDissover?

Ah thanks for your hint! That should be the transformer I need.

But I got an error message: "invalid geometry".

All features are solids according to "geometry filter".

 

invalid geometry:

image.png


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