π Rastereasyο
rastereasy is a Python library designed to provide a high-level, human-readable interface for common geospatial raster and vector operations (e.g., *.tif, *.jp2, *.shp). Built on well-established libraries including rasterio, numpy, shapely, geopandas, and scikit-learn, it enables users to perform typical GIS tasksβsuch as resampling, cropping, reprojection, stacking, clipping rasters with shapefiles, or rasterizing vector layersβin just a few lines of code. Some basic Machine Learning functionalities (clustering, fusion) are also implemented.
It aims to streamline geospatial workflows by providing intuitive tools for:
Reading and processing raster and vector files.
Resampling, cropping, reprojecting, filtering, stacking, and more.
Creating visualizations (e.g., color composites, interactive spectral plots).
Training and applying classical Machine Learning algorithms.
Performing late fusion of classifications (e.g., Dempster-Shafer theory).
Performing dimensionality reduction (PCA, LLE, t-SNE) on spectral bands.
β
π Getting Startedο
β
π§ͺ Examples Galleryο
Examples
- Examples of rastereasy use
- Data for notebooks
- Note for google colab users
- 00 Quick Start
- 01 Read And Plot
- 02 Plot Spectral Bands And Get Pixel Values
- 03 Crop Image
- 04 Reprojection
- 05 Resample
- 06 Deal With Numpy Arrays
- 07 Boolean Operations
- 08 Apply Filters To Images
- 09 Standardization Of Bands
- 10 Select Bands
- 11 Pixel Vs Geo Coord
- 12 Add Bands
- 13 Remove Bands
- 14 Stack Images
- 15 Compute Features And Classify Image
- 16 Extract From Shp
- 17 Compute Ndvi
- 18 Adapt Bands With Ot
- 19 Kmeans
- 20 Fusion Dempster Shafer 2Hypotheses
- 21 Prepare Snippets Data For Training
- 22 Create Geoimage From Single Bands
- 23 Save Images
- 24 Deal With Bounding Boxes
- 25 Dimension Reduction
π οΈ API Referenceο
API Reference
β
π Main Featuresο
Easy reading and writing of georeferenced raster and vector data.
Intuitive tools for reprojection, resampling, cropping, and mosaicking.
Support for visualization and spectral analysis.
Integration with scikit-learn for machine learning tasks.
Tools for classification fusion and spatial reasoning.
β