VCityTeam / py3dtilers

Tilers accepting various input formats (OBJ, 3DCity databases, GeoJson, IFC) and producing 3DTiles tilesets.
Other
185 stars 49 forks source link

Invalid tiles when using Batch Table Hierarchy in CityTiler #11

Closed LorenzoMarnat closed 3 years ago

LorenzoMarnat commented 3 years ago

When creating tiles with batch table hierarchy with the CityTiler (in its current state on Master), the resulting tileset can't be loaded in UD-Viz due to this error: image

I can't tell if the Batch Table Hierarchy is broken on the creation side (CityTiler) or on the loading side (UD-Viz). Did this feature even work one day ? or is it unfinished job ?

To create a tileset with BTH:

citygml-tiler --with_BTH
jailln commented 3 years ago

You need to register the extension parser in iTowns and add it to the tileset using the extension; try something similar to the syntax used here: https://github.com/iTowns/itowns/blob/master/examples/3dtiles_batch_table.html#L52

LorenzoMarnat commented 3 years ago

Thanks, it works perfectly !

The extension was actually registered in DemoFull, I only had to add the extension in the config.json:
image