py3dtiles.utils module

class py3dtiles.utils.TileContentReader[source]

Bases: object

static read_array(array: np.ndarray) TileContent | None[source]
static read_file(tile_path: Path) TileContent[source]
py3dtiles.utils.convert_to_ecef(x, y, z, epsg_input)[source]
py3dtiles.utils.str_to_CRS(srs: str | CRS | None) CRS | None[source]

Convert a string in a pyproj CRS object. The string could be an epsg code or a Proj4 string. If srs is already a CRS object, the function returns the same CRS definition.