# cityGMLReader Problem Opening

**URL:** https://discourse.paraview.org/t/citygmlreader-problem-opening/7386
**Category:** ParaView Support
**Tags:** python
**Created:** [June 9, 2021, 2:28pm UTC](https://discourse.paraview.org/t/citygmlreader-problem-opening/7386 "2021-06-09T14:28:02Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Amin\_Nabikhani](https://discourse.paraview.org/user_avatar/discourse.paraview.org/amin_nabikhani/32/6855_2.png) [@Amin\_Nabikhani](https://discourse.paraview.org/u/Amin_Nabikhani)
#### Post date: [June 9, 2021, 2:28pm UTC](https://discourse.paraview.org/t/citygmlreader-problem-opening/7386/1 "2021-06-09T14:28:02Z")

</div>

Hello,

I’m trying to visualize a few cityGML (LOD1) files I received from a third-party with paraview 5.9.1 and It fails to show the elements. I receive no errors along the way. However, it shows “NA” for all the parameters after opening and nothing appears on the screen. I tried a couple of other cityGML files from different sources but only one of them actually showed city elements. Could you please show me where I’m doing wrong?  
PS: I attached one of my cityGML files in case you want to test it.

Best regards,  
[LOD1\_374\_5825\_1\_BE.xml](https://discourse.paraview.org/uploads/short-url/6WJuyNqROVyzz7Rw2uUGemn9E5A.xml) (3.4 MB)

---

<div class="post-metadata">

### Author: ![danlipsa](https://discourse.paraview.org/user_avatar/discourse.paraview.org/danlipsa/32/1563_2.png) [@danlipsa](https://discourse.paraview.org/u/danlipsa)
#### Post date: [June 9, 2021, 3:02pm UTC](https://discourse.paraview.org/t/citygmlreader-problem-opening/7386/2 "2021-06-09T15:02:33Z")

</div>

We don’t handle solids in the reader yet.

So the problem is you use

> \<bldg:lod1Solid\>  
> \<gml:Solid …\>  
> …  
> \</gml:Solid\>  
> \</bldg:lod1Solid\>

It seems that under the gml:Solid element you have surfaces defining the solid, so you should be able to use the following instead:

> \<bldg:lod1MultiSurface\>  
> \<gml:MultiSurface …\>  
> …  
> \</gml:MultiSurface\>  
> \</bldg:lod1MultiSurface\>

---

<div class="post-metadata">

### Author: ![Amin\_Nabikhani](https://discourse.paraview.org/user_avatar/discourse.paraview.org/amin_nabikhani/32/6855_2.png) [@Amin\_Nabikhani](https://discourse.paraview.org/u/Amin_Nabikhani)
#### Post date: [June 11, 2021, 11:33am UTC](https://discourse.paraview.org/t/citygmlreader-problem-opening/7386/3 "2021-06-11T11:33:05Z")

</div>

> [@danlipsa](#):
>
> bldg:lod1Solid

Thanks for your quick response.  
Does it suffice to simply replace bldg:lod1Solid tag with bldg:lod1MultiSurface and also \<gml:Solid …\> with \<gml:MultiSurface …\> in the original file?

---

<div class="post-metadata">

### Author: ![danlipsa](https://discourse.paraview.org/user_avatar/discourse.paraview.org/danlipsa/32/1563_2.png) [@danlipsa](https://discourse.paraview.org/u/danlipsa)
#### Post date: [June 11, 2021, 1:31pm UTC](https://discourse.paraview.org/t/citygmlreader-problem-opening/7386/4 "2021-06-11T13:31:41Z")

</div>

It should. It’s worth a try.
