Submodules
- class GeoAnalyze.core.Core[source]
Bases:
objectProvides common functionality used throughout the
GeoAnalyzepackage.- is_valid_figure_extension(file_path: str) bool[source]
Returns whether the given path is a valid figure file.
- Parameters:
file_path (str) – Path of the figure file.
- Returns:
True if the file path is valid, False otherwise.
- Return type:
bool
- is_valid_ogr_driver(shape_file: str) bool[source]
Checks whether the given shapefile path is valid and supported.
- Parameters:
shape_file (str) – Path to the shapefile to be validated.
- Returns:
True if the shapefile path is valid and supported, False otherwise.
- Return type:
bool
- is_valid_raster_driver(raster_file: str) bool[source]
Checks whether the given raster file path is valid and supported.
- Parameters:
raster_file (str) – Path to the raster file to be validated.
- Returns:
True if the raster file path is valid and supported, False otherwise.
- Return type:
bool
- property raster_resampling_method: dict[str, Resampling]
Returns the dictionary of raster resampling methods.
Supported options:
Method
Description
nearest
Nearest-neighbor interpolation.
bilinear
Bilinear interpolation.
cubic
Cubic interpolation.