easyclimate_map.core.clip

Geospatial Clipping Utilities

This module provides functions for clipping and converting geospatial data for visualization in matplotlib with cartopy projections. The tools are specifically designed for working with GeoDataFrame objects and converting them to matplotlib-compatible path objects for clipping operations.

Functions

clip_rectangle_geometry(gdf, *args)

Clip a GeoDataFrame using a rectangular bounding box.

get_geometry_path(gdf, ax)

Convert geometries from a GeoDataFrame into matplotlib clipping paths.