check_mask#

caf.viz.web.mapping.check_mask(mask)[source]#

Check that the mask is a single polygon and of the right CRS.

Parameters:

mask (GeoDataFrame | GeoSeries)

Return type:

Polygon