You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to create 3DTiles from a 3DCityDB database. Obviously it connects successfully to the database, but then i get the following error:
(venv) gerhard@HP17:~/bin/py3dtilers$ citygml-tiler
1 file(s) with supported extensions found
Connecting to database...
Retrieving city objects from database...
333 city objects of type 'CityMBuildings' found in the database.
Traceback (most recent call last):
File "/home/gerhard/bin/py3dtilers/venv/bin/citygml-tiler", line 11, in <module>
load_entry_point('py3dtilers', 'console_scripts', 'citygml-tiler')()
File "/home/gerhard/bin/py3dtilers/py3dtilers/CityTiler/CityTiler.py", line 146, in main
tileset = city_tiler.from_3dcitydb(cursor, objects_type)
File "/home/gerhard/bin/py3dtilers/py3dtilers/CityTiler/CityTiler.py", line 113, in from_3dcitydb
self.set_features_centroid(cursor, cityobjects, objects_type)
File "/home/gerhard/bin/py3dtilers/py3dtilers/CityTiler/CityTiler.py", line 89, in set_features_centroid
cityobject.centroid = np.array([centroid[0][0], centroid[0][1], centroid[0][2]])
IndexError: list index out of range
Any hints? Thank you.
Ubuntu 20.04
Postgres 12.16
Python 3.9.5
The text was updated successfully, but these errors were encountered:
citygml-tiler \
--db_config_path /data/3dcitydb/CityTilerDBConfig.yaml \
--type building \
--crs_in EPSG:25832 \
--crs_out EPSG:4978
OpenBLAS WARNING - could not determine the L2 cache size on this system, assuming 256k
OpenBLAS WARNING - could not determine the L2 cache size on this system, assuming 256k
1 file(s) with supported extensions found
Connecting to database...
Retrieving city objects from database...
2335 city objects of type 'CityMBuildings' found in the database.
Traceback (most recent call last):
File "/usr/local/bin/citygml-tiler", line 33, in <module>
sys.exit(load_entry_point('py3dtilers', 'console_scripts', 'citygml-tiler')())
File "/py3dtilers/py3dtilers/CityTiler/CityTiler.py", line 152, in main
tileset = city_tiler.from_3dcitydb(cursor, objects_type)
File "/py3dtilers/py3dtilers/CityTiler/CityTiler.py", line 119, in from_3dcitydb
self.set_features_centroid(cursor, cityobjects, objects_type)
File "/py3dtilers/py3dtilers/CityTiler/CityTiler.py", line 95, in set_features_centroid
cityobject.centroid = np.array([centroid[0][0], centroid[0][1], centroid[0][2]])
IndexError: list index out of range
I try to create 3DTiles from a 3DCityDB database. Obviously it connects successfully to the database, but then i get the following error:
Any hints? Thank you.
Ubuntu 20.04
Postgres 12.16
Python 3.9.5
The text was updated successfully, but these errors were encountered: