py3dtiles.exceptions module#
This module contains all the exceptions that py3dtiles generates. They all derive from Py3dtilesException
.
- exception py3dtiles.exceptions.BoundingVolumeMissingException[source]#
Bases:
InvalidTilesetError
This exception will be thrown when a bounding volume is needed but not present.
- exception py3dtiles.exceptions.Invalid3dtilesError[source]#
Bases:
Py3dtilesException
This exception will be thrown if the 3d tile specification isn’t respected.
- exception py3dtiles.exceptions.InvalidB3dmError[source]#
Bases:
Invalid3dtilesError
This exception will be thrown if the batched 3D model format isn’t respected.
- exception py3dtiles.exceptions.InvalidPntsError[source]#
Bases:
Invalid3dtilesError
This exception will be thrown if the point cloud format isn’t respected.
- exception py3dtiles.exceptions.InvalidTilesetError[source]#
Bases:
Invalid3dtilesError
This exception will be thrown if the tileset format isn’t respected.
- exception py3dtiles.exceptions.Py3dtilesException[source]#
Bases:
Exception
All exceptions thrown by py3dtiles code derives this class.
Client code that wishes to catch all py3dtiles exception can use except Py3dtilesException.
- exception py3dtiles.exceptions.SrsInMissingException[source]#
Bases:
Py3dtilesException
This exception will be thrown when an input srs is required but not provided.
- exception py3dtiles.exceptions.SrsInMixinException[source]#
Bases:
Py3dtilesException
This exception will be thrown when among all input files, there is a mix of input srs.
- exception py3dtiles.exceptions.TileContentMissingException(tile_content_uri: Path)[source]#
Bases:
Py3dtilesException
This exception will be thrown when py3dtiles expects a tile with content loaded, but found a tile with a content uri, but no content.
This exception is raised when py3dtiles cannot load it itself. Indeed, to load a tile content, py3dtiles needs the full url, and often tiles only have the relative url to the tileset path. If you encounter this exception in your own code, load the tile when you can with
tile.get_or_fetch_content
.- property content_uri: Path#
the uri of the content that wasn’t loaded
- exception py3dtiles.exceptions.TilerException[source]#
Bases:
Py3dtilesException
This exception will be thrown when there is an issue during a tiling task.
- exception py3dtiles.exceptions.TilerNotFoundException(files: list[Path])[source]#
Bases:
Py3dtilesException
Exception raised when the convert process cannot assign a file to a tiler
- exception py3dtiles.exceptions.WorkerException[source]#
Bases:
TilerException
This exception will be thrown by the conversion code if one exception occurs inside a worker.