py3dtiles.tileset.feature_table module
- class py3dtiles.tileset.feature_table.Feature[source]
Bases:
object
- class py3dtiles.tileset.feature_table.FeatureTable[source]
Bases:
object
- static from_array(th: TileContentHeader, array: ndarray) FeatureTable [source]
- static from_features(pd_type: dtype[Any] | None | type[Any] | _SupportsDType[dtype[Any]] | str | tuple[Any, int] | tuple[Any, SupportsIndex | Sequence[SupportsIndex]] | list[Any] | _DTypeDict | tuple[Any, Any], cd_type: dtype[Any] | None | type[Any] | _SupportsDType[dtype[Any]] | str | tuple[Any, int] | tuple[Any, SupportsIndex | Sequence[SupportsIndex]] | list[Any] | _DTypeDict | tuple[Any, Any], features: List[Feature]) FeatureTable [source]
pdtype : Numpy description for positions. cdtype : Numpy description for colors.
- class py3dtiles.tileset.feature_table.FeatureTableBody[source]
Bases:
object
- static from_array(fth, array)[source]
Parameters
header : FeatureTableHeader
array : numpy.array
Returns
ftb : FeatureTableBody
- static from_features(fth: FeatureTableHeader, features: List[Feature]) FeatureTableBody [source]
- class py3dtiles.tileset.feature_table.FeatureTableHeader[source]
Bases:
object
- static from_array(array)[source]
Parameters
- arraynumpy.array
Json in 3D Tiles format. See py3dtiles/doc/semantics.json for an example.
Returns
fth : FeatureTableHeader