src.subtiling package¶
Submodules¶
src.subtiling.subtiling module¶
-
class
src.subtiling.subtiling.Subtiling(tile: src.tile.Tile, connectivity: dict)¶ Bases:
object-
clip_tile_by_subtiles()¶ Uses las2las from LAStools in a subprocess to clip the provided main tile (self._tile) into the determined subtile grid.
Has checks to determine which other tiles should be included in the las2las command. This prevents the unnecessary merging of extra AHN3 tiles. Creates as many subprocesses as there are subtiles and waits for them all to complete before closing the function.
- Returns
None
-
get_created_subtiles()¶ Returns the list of subtile names, determined by appending _NUM to the original tile name, where NUM is the sequence id of the subtile.
- Returns
List containing output names of subtiles
-
set_tile_extents()¶ The bounds of the tile geometry to retrieve the bounding box of the point cloud. Stores this information in the class variables _min_coord and _max_coord.
- Returns
None
-
subdivide_tile()¶ Creates all subtiles and stores them in the class variable _subtiles.
Creation is done by taking the difference between the extremes in x and y direction, then dividing this by the number of rows or columns to provide a cell width/height. Then for each cell the bounding box is created and stored.
- Returns
None
-