onstove.VectorLayer.start_points#
- VectorLayer.start_points(raster: RasterLayer) tuple[list[int], list[int]][source]#
Gets the indexes of the overlapping cells of the
VectorLayerwith the inputRasterLayer.Uses the rasterio.transform.rowcol function to get the rows and columns.
- Parameters:
- raster: RasterLayer
Raster layer to overlap with the current
VectorLayer.
- Returns:
- Tuple of lists rows and columns
Returns a tupe containing two list, the first one with the row indexes and the second one with the column indexes.