skmap.overlay.SpaceOverlay#
- class SpaceOverlay(points, catalog, raster_tiles=None, tile_id_col='tile_id', n_threads=4, verbose=True)[source]#
Bases:
objectOverlay a set of points over multiple raster files. The retrieved pixel values are organized in columns according to the filenames.
- Parameters:
points (
GeoDataFrame|str|DataFrame) – The path for vector file orgeopandas.GeoDataFramewith the points.catalog (
DataCatalog) – scikit-map data catalog.n_threads (
int) – Number of CPU cores to be used in parallel. By default all cores are used.verbose (
bool) – UseTrueto print the overlay progress.
Methods
read data in parallel across blocks, normally called by self.run
Execute the space overlay.
- read_data(gdal_opts, max_ram_mb)[source]#
read data in parallel across blocks, normally called by self.run