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(positions, normals, bboxes, transform, ids=None)[source]
py3dtiles.export.build_secure_conn(db_conn_info)[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)[source]
py3dtiles.export.from_directory(directory, offset)[source]
py3dtiles.export.init_parser(subparser: argparse._SubParsersAction[Any]) ArgumentParser[source]
py3dtiles.export.main(args: Namespace) None[source]
py3dtiles.export.tile_extent(extent, size, i, j)[source]
py3dtiles.export.wkbs_to_tileset(wkbs, ids, transform)[source]