SlippyMapRegionalizer
¶
Bases: Regionalizer
SlippyMapRegionalizer class.
PARAMETER | DESCRIPTION |
---|---|
zoom |
zoom level
TYPE:
|
RAISES | DESCRIPTION |
---|---|
ValueError
|
if zoom is not in [0, 19] |
Source code in srai/regionalizers/slippy_map_regionalizer.py
¶
Regionalize a given GeoDataFrame.
PARAMETER | DESCRIPTION |
---|---|
gdf |
GeoDataFrame to be regionalized.
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
gpd.GeoDataFrame
|
gpd.GeoDataFrame: GeoDataFrame with regionalized geometries. |
RAISES | DESCRIPTION |
---|---|
ValueError
|
If provided GeoDataFrame has no crs defined. |