Welcome to gspatial-tools’s documentation!
gspatial_tools is a library of utility functions written on top of geopandas, xarray, rasterio and rioxarray. It makes a lot of things we want to do easier gspatial-plot is licensed under MIT License.
Features
Generate Lat Lon grid at specific resolution
Filter points based on radius
Bulk Clip and Save Raster Files
Reproject Raster Files
Stitch Multiple Raster Files in same CRS
Read Raster File directly to GeoDataFrame
Convert Xarray to GeoDataFrame
Clip each geometry by rectangle/bbox
Sample points inside polygons
Sample points inside bbox
Sample points data from raster without loading the entire dataset
Get K nearest points along with distance and indices for each point in a GeoDataFrame
Move and Scale a polygon/shape from a GeoDataFrame
Installing
pip install gspatial-tools
Contents: