py3dtiles.export module

class py3dtiles.export.BoundingBox(minimum, maximum)[source]

Bases: object

add(box)[source]
center()[source]
inside(point)[source]
class py3dtiles.export.Feature(index, box)[source]

Bases: object

class py3dtiles.export.Node(features=None)[source]

Bases: object

add(node)[source]
all_nodes()[source]
compute_bbox()[source]
counter = 0
to_tileset(transform)[source]
to_tileset_r(error)[source]
py3dtiles.export.arrays2tileset(output_dir: Path, triangle_soups: list[TriangleSoup], transform: ndarray[Any, dtype[float32]], ids: list[str] | None = None) None[source]
py3dtiles.export.build_secure_conn(db_conn_info: str) psycopg2.extensions.connection[source]

Get a psycopg2 connexion securely, e.g. without writing the password explicitely in the terminal

Parameters

db_conn_info : str

Returns

psycopg2.extensions.connection

py3dtiles.export.divide(extent, geometries, x_offset, y_offset, tile_size, features_per_tile, parent)[source]
py3dtiles.export.from_db(db_conn_info, table_name, column_name, id_column_name, output_dir) None[source]
py3dtiles.export.from_directory(directory, offset, output_dir) None[source]
py3dtiles.export.tile_extent(extent, size, i, j)[source]
py3dtiles.export.wkbs_to_tileset(wkbs: list[bytes], ids: list[str] | None, transform: ndarray[Any, dtype[float32]], output_dir: Path) None[source]