Closed steelraiden closed 9 months ago
Can you share the tileset?
sure
I'll need more then just the json file -- can you share the whole data set please?
the dataset in pretty huge, do you think I can cut something off the tileset.json file? Or maybe I can share just a bunch of referenced files?
@steelraiden let's do it the other way, have you tried a public tileset with the same result ?
ok I did some tests.
Here's the attached file 0f.zip
folder structure tileset.json --+ 0f --+ --+ 8-39-52.b3dm
Here's a self-contained version of the dataset which crashes.
There's something odd in the 3d data here though. https://github.com/qgis/QGIS/pull/55212 fixes the crash, but the scene in the b3dm file does not have a valid mesh associated with it. There IS mesh data in the b3dm content, but it's not associated with the scene.
@wonder-sk do you have any insights here? The first issue (that the default scene is missing) seems OK with the GLTF spec -- see https://github.com/KhronosGroup/glTF/issues/815 . But the second is weird -- should we overstep here and just try to find the mesh even when the scene isn't linked to it?
I think my preference would be to get people to fix their data :grin:
I think my preference would be to get people to fix their data 😁
I would do too, but in my case I'm a private developer who works for the government of my country and I received this dataset used by them in ArcGIS. When I saw the opportunity to view this specific data in QGIS I was hyped. I maybe can ask my "customer" to review the data; in that case could you give me what is technically wrong in the dataset?
@wonder-sk Think I've got it -- we should be iterating over the scene's nodes children too, which is where the node with the mesh is referenced from
Ok, this is fully fixed by https://github.com/qgis/QGIS/pull/55212 now
What is the bug or the crash?
User Feedback
Error on adding tileset.json
Report Details
Python Stack Trace
Stack Trace
QGIS Info QGIS Version: 3.34.0-Prizren QGIS code revision: ffbdd67881 Compiled against Qt: 5.15.3 Running against Qt: 5.15.3 Compiled against GDAL: 3.7.2 Running against GDAL: 3.7.2
System Info CPU Type: x86_64 Kernel Type: winnt Kernel Version: 10.0.22621
Steps to reproduce the issue
Versions
Versione di QGIS 3.34.0-Prizren Revisione codice QGIS ffbdd67881 Versione Qt 5.15.3 Versione Python 3.9.5 Versione GDAL/OGR 3.7.2 Versione PROJ 9.3.0 Versione database del Registro EPSG v10.094 (2023-08-08) Versione GEOS 3.12.0-CAPI-1.18.0 Versione SQLite 3.41.1 Versione PDAL 2.5.5 Versione client PostgreSQL 15.2 Versione SpatiaLite 5.1.0 Versione QWT 6.1.6 Versione QScintilla2 2.13.4 Versione SO Windows 10 Version 2009
Plugins Python attivi citydb-tools 0.8.4 db_manager 0.1.20 grassprovider 2.12.99 MetaSearch 0.3.6 processing 2.12.99
Supported QGIS version
New profile
Additional context
No response