cityjson / cityjson-qgis-plugin

A QGIS plugin that adds support for CityJSON files
Apache License 2.0
35 stars 8 forks source link

address information is not loaded #56

Open ludwighagelstein opened 1 year ago

ludwighagelstein commented 1 year ago

Here's an example of a building from a bavarian (GER) cityGML download that I converted to cityJSON with 3DcityDB:

<cityObjectMember>
<bldg:Building gml:id="DEBY_LOD2_3365019">
<creationDate>2014-07-31</creationDate>
<externalReference>
<informationSystem>http://repository.gdi-de.org/schemas/adv/citygml/fdv/art.htm#_9100</informationSystem>
<externalObject>
<name>DEBYvAAAAAAxP6Eq</name>
</externalObject>
</externalReference>
<gen:stringAttribute name="DatenquelleBodenhoehe">
<gen:value>1100</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="DatenquelleDachhoehe">
<gen:value>1000</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="DatenquelleLage">
<gen:value>1000</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Gemeindeschluessel">
<gen:value>09180131</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="HoeheDach">
<gen:value>673.711</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="HoeheGrund">
<gen:value>665.010</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Methode">
<gen:value>2000</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="NiedrigsteTraufeDesGebaeudes">
<gen:value>667.940</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Grundrissaktualitaet">
<gen:value>2022-10-26</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Geometrietyp2DReferenz">
<gen:value>3000</gen:value>
</gen:stringAttribute>
<bldg:function>31001_1000</bldg:function>
<bldg:roofType>3100</bldg:roofType>
<bldg:measuredHeight uom="urn:adv:uom:m">8.701</bldg:measuredHeight>
<bldg:lod2Solid>
<gml:Solid srsDimension="3">
<gml:exterior>
<gml:CompositeSurface>
<gml:surfaceMember xlink:href="#DEBY_LOD2_3365019_1d6a919b-f278-4fed-8253-dae1735019fa_poly"/>
<gml:surfaceMember xlink:href="#DEBY_LOD2_3365019_c63b1593-cd94-4c2d-afa4-c509c93c194d_poly"/>
<gml:surfaceMember xlink:href="#DEBY_LOD2_3365019_0b4ae631-f5c9-434b-bbfb-9d000e937518_poly"/>
<gml:surfaceMember xlink:href="#DEBY_LOD2_3365019_5e1da3c0-bb37-4859-8053-6f4496686184_poly"/>
<gml:surfaceMember xlink:href="#DEBY_LOD2_3365019_de6095dd-9cc6-4684-8628-4edfcd646c25_poly"/>
<gml:surfaceMember xlink:href="#DEBY_LOD2_3365019_c967a177-258c-4e33-8012-50fbca88cdf9_poly"/>
<gml:surfaceMember xlink:href="#DEBY_LOD2_3365019_bdd7d9f8-d486-482f-b427-2f2aed79be44_poly"/>
<gml:surfaceMember xlink:href="#DEBY_LOD2_3365019_837c4250-5860-4a3a-afe4-b6eaa947a2b2_poly"/>
<gml:surfaceMember xlink:href="#DEBY_LOD2_3365019_cbc080c3-d19a-4a75-8c25-3a8a5c22e6f8_poly"/>
<gml:surfaceMember xlink:href="#DEBY_LOD2_3365019_1830e07b-04f5-4efe-b955-84bfb49a29bd_poly"/>
<gml:surfaceMember xlink:href="#DEBY_LOD2_3365019_b82fa137-8890-4e7f-80ed-f53ee0b1035d_poly"/>
<gml:surfaceMember xlink:href="#DEBY_LOD2_3365019_1992aa77-0f57-401a-ad64-3605e82b4320_poly"/>
<gml:surfaceMember xlink:href="#DEBY_LOD2_3365019_d23173a1-9a1b-4fe3-a6b7-5af665a95fda_poly"/>
<gml:surfaceMember xlink:href="#DEBY_LOD2_3365019_45fb0d6b-10e6-4b51-9071-5342d243208a_poly"/>
</gml:CompositeSurface>
</gml:exterior>
</gml:Solid>
</bldg:lod2Solid>
<bldg:boundedBy>
<bldg:WallSurface gml:id="DEBY_LOD2_3365019_1d6a919b-f278-4fed-8253-dae1735019fa">
<gen:stringAttribute name="Flaeche">
<gen:value>79.623</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Z_MAX">
<gen:value>8.701</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Z_MAX_ASL">
<gen:value>673.711</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Z_MIN">
<gen:value>-0.000</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Z_MIN_ASL">
<gen:value>665.010</gen:value>
</gen:stringAttribute>
<bldg:lod2MultiSurface>
<gml:MultiSurface srsDimension="3">
<gml:surfaceMember>
<gml:Polygon gml:id="DEBY_LOD2_3365019_1d6a919b-f278-4fed-8253-dae1735019fa_poly">
<gml:exterior>
<gml:LinearRing>
<gml:posList>659019.037 5279206.47 668.573 659019.056 5279206.481 668.573 659019.056 5279206.481 671.513 659023.731 5279209.026 673.711 659028.217 5279211.468 671.602 659028.217 5279211.468 665.01 659023.731 5279209.026 665.01 659019.056 5279206.481 665.01 659019.037 5279206.47 665.01 659019.037 5279206.47 668.573</gml:posList>
</gml:LinearRing>
</gml:exterior>
</gml:Polygon>
</gml:surfaceMember>
</gml:MultiSurface>
</bldg:lod2MultiSurface>
</bldg:WallSurface>
</bldg:boundedBy>
<bldg:boundedBy>
<bldg:RoofSurface gml:id="DEBY_LOD2_3365019_c63b1593-cd94-4c2d-afa4-c509c93c194d">
<gen:stringAttribute name="Dachneigung">
<gen:value>67.897</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Dachorientierung">
<gen:value>333.684</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Flaeche">
<gen:value>32.209</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Z_MAX">
<gen:value>4.660</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Z_MAX_ASL">
<gen:value>669.670</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Z_MIN">
<gen:value>2.930</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Z_MIN_ASL">
<gen:value>667.940</gen:value>
</gen:stringAttribute>
<bldg:lod2MultiSurface>
<gml:MultiSurface srsDimension="3">
<gml:surfaceMember>
<gml:Polygon gml:id="DEBY_LOD2_3365019_c63b1593-cd94-4c2d-afa4-c509c93c194d_poly">
<gml:exterior>
<gml:LinearRing>
<gml:posList>659014.167 5279200.749 669.67 659020.309 5279204.087 669.67 659019.056 5279206.481 668.573 659019.037 5279206.47 668.573 659018.294 5279207.832 667.942 659012.141 5279204.493 667.94 659014.167 5279200.749 669.67</gml:posList>
</gml:LinearRing>
</gml:exterior>
</gml:Polygon>
</gml:surfaceMember>
</gml:MultiSurface>
</bldg:lod2MultiSurface>
</bldg:RoofSurface>
</bldg:boundedBy>
<bldg:boundedBy>
<bldg:WallSurface gml:id="DEBY_LOD2_3365019_0b4ae631-f5c9-434b-bbfb-9d000e937518">
<gen:stringAttribute name="Flaeche">
<gen:value>32.280</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Z_MAX">
<gen:value>4.660</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Z_MAX_ASL">
<gen:value>669.670</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Z_MIN">
<gen:value>-0.000</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Z_MIN_ASL">
<gen:value>665.010</gen:value>
</gen:stringAttribute>
<bldg:lod2MultiSurface>
<gml:MultiSurface srsDimension="3">
<gml:surfaceMember>
<gml:Polygon gml:id="DEBY_LOD2_3365019_0b4ae631-f5c9-434b-bbfb-9d000e937518_poly">
<gml:exterior>
<gml:LinearRing>
<gml:posList>659014.167 5279200.749 665.01 659016.184 5279197.016 665.01 659016.184 5279197.016 667.947 659014.167 5279200.749 669.67 659012.141 5279204.493 667.94 659012.141 5279204.493 665.01 659014.167 5279200.749 665.01</gml:posList>
</gml:LinearRing>
</gml:exterior>
</gml:Polygon>
</gml:surfaceMember>
</gml:MultiSurface>
</bldg:lod2MultiSurface>
</bldg:WallSurface>
</bldg:boundedBy>
<bldg:boundedBy>
<bldg:WallSurface gml:id="DEBY_LOD2_3365019_5e1da3c0-bb37-4859-8053-6f4496686184">
<gen:stringAttribute name="Flaeche">
<gen:value>20.608</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Z_MAX">
<gen:value>6.519</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Z_MAX_ASL">
<gen:value>671.529</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Z_MIN">
<gen:value>-0.000</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Z_MIN_ASL">
<gen:value>665.010</gen:value>
</gen:stringAttribute>
<bldg:lod2MultiSurface>
<gml:MultiSurface srsDimension="3">
<gml:surfaceMember>
<gml:Polygon gml:id="DEBY_LOD2_3365019_5e1da3c0-bb37-4859-8053-6f4496686184_poly">
<gml:exterior>
<gml:LinearRing>
<gml:posList>659016.184 5279197.016 665.01 659022.283 5279200.314 665.01 659022.316 5279200.332 665.01 659022.316 5279200.332 671.529 659022.283 5279200.314 671.513 659022.283 5279200.314 667.941 659016.184 5279197.016 667.947 659016.184 5279197.016 665.01</gml:posList>
</gml:LinearRing>
</gml:exterior>
</gml:Polygon>
</gml:surfaceMember>
</gml:MultiSurface>
</bldg:lod2MultiSurface>
</bldg:WallSurface>
</bldg:boundedBy>
<bldg:boundedBy>
<bldg:RoofSurface gml:id="DEBY_LOD2_3365019_de6095dd-9cc6-4684-8628-4edfcd646c25">
<gen:stringAttribute name="Dachneigung">
<gen:value>67.567</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Dachorientierung">
<gen:value>244.591</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Flaeche">
<gen:value>74.778</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Z_MAX">
<gen:value>8.701</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Z_MAX_ASL">
<gen:value>673.711</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Z_MIN">
<gen:value>6.503</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Z_MIN_ASL">
<gen:value>671.513</gen:value>
</gen:stringAttribute>
<bldg:lod2MultiSurface>
<gml:MultiSurface srsDimension="3">
<gml:surfaceMember>
<gml:Polygon gml:id="DEBY_LOD2_3365019_de6095dd-9cc6-4684-8628-4edfcd646c25_poly">
<gml:exterior>
<gml:LinearRing>
<gml:posList>659020.309 5279204.087 671.513 659022.283 5279200.314 671.513 659022.316 5279200.332 671.529 659022.341 5279200.286 671.529 659025.215 5279194.96 671.561 659029.793 5279197.436 673.711 659026.983 5279202.809 673.711 659023.731 5279209.026 673.711 659019.056 5279206.481 671.513 659020.309 5279204.087 671.513</gml:posList>
</gml:LinearRing>
</gml:exterior>
</gml:Polygon>
</gml:surfaceMember>
</gml:MultiSurface>
</bldg:lod2MultiSurface>
</bldg:RoofSurface>
</bldg:boundedBy>
<bldg:boundedBy>
<bldg:GroundSurface gml:id="DEBY_LOD2_3365019_c967a177-258c-4e33-8012-50fbca88cdf9">
<gen:stringAttribute name="Flaeche">
<gen:value>196.825</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Z_MAX">
<gen:value>-0.000</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Z_MAX_ASL">
<gen:value>665.010</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Z_MIN">
<gen:value>-0.000</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Z_MIN_ASL">
<gen:value>665.010</gen:value>
</gen:stringAttribute>
<bldg:lod2MultiSurface>
<gml:MultiSurface srsDimension="3">
<gml:surfaceMember>
<gml:Polygon gml:id="DEBY_LOD2_3365019_c967a177-258c-4e33-8012-50fbca88cdf9_poly">
<gml:exterior>
<gml:LinearRing>
<gml:posList>659029.793 5279197.436 665.01 659025.215 5279194.96 665.01 659022.341 5279200.286 665.01 659022.316 5279200.332 665.01 659022.283 5279200.314 665.01 659016.184 5279197.016 665.01 659014.167 5279200.749 665.01 659012.141 5279204.493 665.01 659018.294 5279207.832 665.01 659019.037 5279206.47 665.01 659019.056 5279206.481 665.01 659023.731 5279209.026 665.01 659028.217 5279211.468 665.01 659031.571 5279205.303 665.01 659034.473 5279199.967 665.01 659029.793 5279197.436 665.01</gml:posList>
</gml:LinearRing>
</gml:exterior>
</gml:Polygon>
</gml:surfaceMember>
</gml:MultiSurface>
</bldg:lod2MultiSurface>
</bldg:GroundSurface>
</bldg:boundedBy>
<bldg:boundedBy>
<bldg:WallSurface gml:id="DEBY_LOD2_3365019_bdd7d9f8-d486-482f-b427-2f2aed79be44">
<gen:stringAttribute name="Flaeche">
<gen:value>85.703</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Z_MAX">
<gen:value>6.591</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Z_MAX_ASL">
<gen:value>671.602</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Z_MIN">
<gen:value>-0.000</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Z_MIN_ASL">
<gen:value>665.010</gen:value>
</gen:stringAttribute>
<bldg:lod2MultiSurface>
<gml:MultiSurface srsDimension="3">
<gml:surfaceMember>
<gml:Polygon gml:id="DEBY_LOD2_3365019_bdd7d9f8-d486-482f-b427-2f2aed79be44_poly">
<gml:exterior>
<gml:LinearRing>
<gml:posList>659031.571 5279205.303 671.554 659034.473 5279199.967 671.513 659034.473 5279199.967 665.01 659031.571 5279205.303 665.01 659028.217 5279211.468 665.01 659028.217 5279211.468 671.602 659031.571 5279205.303 671.554</gml:posList>
</gml:LinearRing>
</gml:exterior>
</gml:Polygon>
</gml:surfaceMember>
</gml:MultiSurface>
</bldg:lod2MultiSurface>
</bldg:WallSurface>
</bldg:boundedBy>
<bldg:boundedBy>
<bldg:WallSurface gml:id="DEBY_LOD2_3365019_837c4250-5860-4a3a-afe4-b6eaa947a2b2">
<gen:stringAttribute name="Flaeche">
<gen:value>20.530</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Z_MAX">
<gen:value>2.932</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Z_MAX_ASL">
<gen:value>667.942</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Z_MIN">
<gen:value>-0.000</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Z_MIN_ASL">
<gen:value>665.010</gen:value>
</gen:stringAttribute>
<bldg:lod2MultiSurface>
<gml:MultiSurface srsDimension="3">
<gml:surfaceMember>
<gml:Polygon gml:id="DEBY_LOD2_3365019_837c4250-5860-4a3a-afe4-b6eaa947a2b2_poly">
<gml:exterior>
<gml:LinearRing>
<gml:posList>659012.141 5279204.493 665.01 659012.141 5279204.493 667.94 659018.294 5279207.832 667.942 659018.294 5279207.832 665.01 659012.141 5279204.493 665.01</gml:posList>
</gml:LinearRing>
</gml:exterior>
</gml:Polygon>
</gml:surfaceMember>
</gml:MultiSurface>
</bldg:lod2MultiSurface>
</bldg:WallSurface>
</bldg:boundedBy>
<bldg:boundedBy>
<bldg:WallSurface gml:id="DEBY_LOD2_3365019_cbc080c3-d19a-4a75-8c25-3a8a5c22e6f8">
<gen:stringAttribute name="Flaeche">
<gen:value>80.188</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Z_MAX">
<gen:value>8.701</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Z_MAX_ASL">
<gen:value>673.711</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Z_MIN">
<gen:value>-0.000</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Z_MIN_ASL">
<gen:value>665.010</gen:value>
</gen:stringAttribute>
<bldg:lod2MultiSurface>
<gml:MultiSurface srsDimension="3">
<gml:surfaceMember>
<gml:Polygon gml:id="DEBY_LOD2_3365019_cbc080c3-d19a-4a75-8c25-3a8a5c22e6f8_poly">
<gml:exterior>
<gml:LinearRing>
<gml:posList>659025.215 5279194.96 665.01 659029.793 5279197.436 665.01 659034.473 5279199.967 665.01 659034.473 5279199.967 671.513 659029.793 5279197.436 673.711 659025.215 5279194.96 671.561 659025.215 5279194.96 665.01</gml:posList>
</gml:LinearRing>
</gml:exterior>
</gml:Polygon>
</gml:surfaceMember>
</gml:MultiSurface>
</bldg:lod2MultiSurface>
</bldg:WallSurface>
</bldg:boundedBy>
<bldg:boundedBy>
<bldg:WallSurface gml:id="DEBY_LOD2_3365019_1830e07b-04f5-4efe-b955-84bfb49a29bd">
<gen:stringAttribute name="Flaeche">
<gen:value>5.040</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Z_MAX">
<gen:value>3.563</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Z_MAX_ASL">
<gen:value>668.573</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Z_MIN">
<gen:value>-0.000</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Z_MIN_ASL">
<gen:value>665.010</gen:value>
</gen:stringAttribute>
<bldg:lod2MultiSurface>
<gml:MultiSurface srsDimension="3">
<gml:surfaceMember>
<gml:Polygon gml:id="DEBY_LOD2_3365019_1830e07b-04f5-4efe-b955-84bfb49a29bd_poly">
<gml:exterior>
<gml:LinearRing>
<gml:posList>659018.294 5279207.832 665.01 659018.294 5279207.832 667.942 659019.037 5279206.47 668.573 659019.037 5279206.47 665.01 659018.294 5279207.832 665.01</gml:posList>
</gml:LinearRing>
</gml:exterior>
</gml:Polygon>
</gml:surfaceMember>
</gml:MultiSurface>
</bldg:lod2MultiSurface>
</bldg:WallSurface>
</bldg:boundedBy>
<bldg:boundedBy>
<bldg:WallSurface gml:id="DEBY_LOD2_3365019_b82fa137-8890-4e7f-80ed-f53ee0b1035d">
<gen:stringAttribute name="Flaeche">
<gen:value>17.988</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Z_MAX">
<gen:value>6.503</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Z_MAX_ASL">
<gen:value>671.513</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Z_MIN">
<gen:value>2.931</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Z_MIN_ASL">
<gen:value>667.941</gen:value>
</gen:stringAttribute>
<bldg:lod2MultiSurface>
<gml:MultiSurface srsDimension="3">
<gml:surfaceMember>
<gml:Polygon gml:id="DEBY_LOD2_3365019_b82fa137-8890-4e7f-80ed-f53ee0b1035d_poly">
<gml:exterior>
<gml:LinearRing>
<gml:posList>659020.309 5279204.087 669.67 659022.283 5279200.314 667.941 659022.283 5279200.314 671.513 659020.309 5279204.087 671.513 659019.056 5279206.481 671.513 659019.056 5279206.481 668.573 659020.309 5279204.087 669.67</gml:posList>
</gml:LinearRing>
</gml:exterior>
</gml:Polygon>
</gml:surfaceMember>
</gml:MultiSurface>
</bldg:lod2MultiSurface>
</bldg:WallSurface>
</bldg:boundedBy>
<bldg:boundedBy>
<bldg:RoofSurface gml:id="DEBY_LOD2_3365019_1992aa77-0f57-401a-ad64-3605e82b4320">
<gen:stringAttribute name="Dachneigung">
<gen:value>67.898</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Dachorientierung">
<gen:value>153.684</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Flaeche">
<gen:value>31.955</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Z_MAX">
<gen:value>4.660</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Z_MAX_ASL">
<gen:value>669.670</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Z_MIN">
<gen:value>2.931</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Z_MIN_ASL">
<gen:value>667.941</gen:value>
</gen:stringAttribute>
<bldg:lod2MultiSurface>
<gml:MultiSurface srsDimension="3">
<gml:surfaceMember>
<gml:Polygon gml:id="DEBY_LOD2_3365019_1992aa77-0f57-401a-ad64-3605e82b4320_poly">
<gml:exterior>
<gml:LinearRing>
<gml:posList>659016.184 5279197.016 667.947 659022.283 5279200.314 667.941 659020.309 5279204.087 669.67 659014.167 5279200.749 669.67 659016.184 5279197.016 667.947</gml:posList>
</gml:LinearRing>
</gml:exterior>
</gml:Polygon>
</gml:surfaceMember>
</gml:MultiSurface>
</bldg:lod2MultiSurface>
</bldg:RoofSurface>
</bldg:boundedBy>
<bldg:boundedBy>
<bldg:WallSurface gml:id="DEBY_LOD2_3365019_d23173a1-9a1b-4fe3-a6b7-5af665a95fda">
<gen:stringAttribute name="Flaeche">
<gen:value>39.893</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Z_MAX">
<gen:value>6.551</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Z_MAX_ASL">
<gen:value>671.561</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Z_MIN">
<gen:value>-0.000</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Z_MIN_ASL">
<gen:value>665.010</gen:value>
</gen:stringAttribute>
<bldg:lod2MultiSurface>
<gml:MultiSurface srsDimension="3">
<gml:surfaceMember>
<gml:Polygon gml:id="DEBY_LOD2_3365019_d23173a1-9a1b-4fe3-a6b7-5af665a95fda_poly">
<gml:exterior>
<gml:LinearRing>
<gml:posList>659022.341 5279200.286 665.01 659025.215 5279194.96 665.01 659025.215 5279194.96 671.561 659022.341 5279200.286 671.529 659022.316 5279200.332 671.529 659022.316 5279200.332 665.01 659022.341 5279200.286 665.01</gml:posList>
</gml:LinearRing>
</gml:exterior>
</gml:Polygon>
</gml:surfaceMember>
</gml:MultiSurface>
</bldg:lod2MultiSurface>
</bldg:WallSurface>
</bldg:boundedBy>
<bldg:boundedBy>
<bldg:RoofSurface gml:id="DEBY_LOD2_3365019_45fb0d6b-10e6-4b51-9071-5342d243208a">
<gen:stringAttribute name="Dachneigung">
<gen:value>67.568</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Dachorientierung">
<gen:value>64.591</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Flaeche">
<gen:value>73.845</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Z_MAX">
<gen:value>8.701</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Z_MAX_ASL">
<gen:value>673.711</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Z_MIN">
<gen:value>6.503</gen:value>
</gen:stringAttribute>
<gen:stringAttribute name="Z_MIN_ASL">
<gen:value>671.513</gen:value>
</gen:stringAttribute>
<bldg:lod2MultiSurface>
<gml:MultiSurface srsDimension="3">
<gml:surfaceMember>
<gml:Polygon gml:id="DEBY_LOD2_3365019_45fb0d6b-10e6-4b51-9071-5342d243208a_poly">
<gml:exterior>
<gml:LinearRing>
<gml:posList>659026.983 5279202.809 673.711 659029.793 5279197.436 673.711 659034.473 5279199.967 671.513 659031.571 5279205.303 671.554 659028.217 5279211.468 671.602 659023.731 5279209.026 673.711 659026.983 5279202.809 673.711</gml:posList>
</gml:LinearRing>
</gml:exterior>
</gml:Polygon>
</gml:surfaceMember>
</gml:MultiSurface>
</bldg:lod2MultiSurface>
</bldg:RoofSurface>
</bldg:boundedBy>
<bldg:address>
<Address><xalAddress><xAL:AddressDetails>
 <xAL:Country>
  <xAL:CountryName>Germany</xAL:CountryName>
  <xAL:Locality Type="Town">
   <xAL:LocalityName>Schwaigen</xAL:LocalityName>
   <xAL:Thoroughfare Type="Street">
    <xAL:ThoroughfareName>Hansltrad 1</xAL:ThoroughfareName>
   </xAL:Thoroughfare>
  </xAL:Locality>
 </xAL:Country>
</xAL:AddressDetails></xalAddress>
</Address>
</bldg:address>
</bldg:Building>
</cityObjectMember>

Everything is loaded correctly except for the address information. How can I include the adress information and add it to the surfaces? I want to export the features as Geopackages with QGIS.

Thanks for your work!

liberostelios commented 11 months ago

Hey @ludwighagelstein,

Sorry for the very late response. I assume this isn't that relevant anymore, but maybe you could share the CityJSON snippet of this data so I can check. I think addresses have their own property and indeed the parser doesn't take this into account. But I'd like to take a look at the data to verify, if that's possible.

Thanks! 🙌