Hi! I'm not 100% sure if you want this PR, but I'll give it a try.
I've run into some gmls where dem:lod is missing from TINRelief, although I believe it's required?
These models causes a crash in cityobjectelementparser.cpp.
At least I think it would be nice to avoid the crash, and instead throw a runtime error or something. But handling this (by setting LOD to 0 as I did in this PR) will make terrain from the Berlin 3D dataset work: https://www.businesslocationcenter.de/en/economic-atlas/download-portal
Hi! I'm not 100% sure if you want this PR, but I'll give it a try.
I've run into some gmls where
dem:lod
is missing from TINRelief, although I believe it's required? These models causes a crash in cityobjectelementparser.cpp.At least I think it would be nice to avoid the crash, and instead throw a runtime error or something. But handling this (by setting LOD to 0 as I did in this PR) will make terrain from the Berlin 3D dataset work: https://www.businesslocationcenter.de/en/economic-atlas/download-portal