Hi,
I'am creating a citygml model (lod2) based on roof and ground with the help of BRepSolidBoundaryCreator.
Now I have definded lod2MultiSurface as citygml_lod_name!
I need in addition to lod2MultiSurfaces a lod2Solid Geometry for each building like this:
<bldg:lod2Solid>
<gml:Solid gml:id="UUID_93353a82-d426-4090-8aa5-d852bcad8f35" srsDimension="3">
<gml:exterior>
<gml:CompositeSurface gml:id="UUID_2a60da73-2d26-4f2a-a623-b9acc31661e2">
<gml:surfaceMember>
<gml:Polygon gml:id="UUID_bf94ba8a-c9b1-41e3-b4a4-9f932cfc358f">
<gml:exterior>
<gml:LinearRing gml:id="UUID_b8b135e2-705d-4255-8b2c-63b8558eaec6">
<gml:posList>603363.9649999999 5792993.036 80.696 603363.8160000006 5793003.66 80.696 603357.9249999998 5792998.265 81.57 603363.9649999999 5792993.036 80.696</gml:posList>
</gml:LinearRing>
</gml:exterior>
</gml:Polygon>
</gml:surfaceMember>
<gml:surfaceMember>
<gml:Polygon gml:id="UUID_284c30a5-944c-4222-9ef0-f8261a0765a0">
<gml:exterior>
<gml:LinearRing gml:id="UUID_49733d6e-ba01-4ccf-afe5-fbdd7aeafbfe">
<gml:posList>603357.9249999998 5792998.265 81.57 603347.0272456273 5792998.11209105 81.57 603347.102 5792992.8 80.69600000000001 603357.9249999998 5792998.265 81.57</gml:posList>
</gml:LinearRing>
</gml:exterior>
Polygon and Linear Ring gml:id must be referred to the corresponding lod2MultiSurface polygon!
Is there a quick solution to do this inside the building workflow?
My citygml writer looks like this: