windkit.get_vector_map

windkit.get_vector_map(bbox, dataset='CORINE', source='dtu', **kwargs)[source]

Download a map from the GWA map API.

Parameters:
  • bbox (windkit.spatial.BBox) – Bounding box of the map to download. Must be in “EPSG:4326” coordinates.

  • dataset (str, optional) – Dataset to download. Currently only CORINE vector data.

  • source (str, optional) – Source to download from. Can be “dtu” only.

  • kwargs (Extra arguments to forward to the dataset readers, e.g. polygon=True [...])

Returns:

Geopandas GeoDataFrame with vector features

Return type:

gpd.GeoDataFrame

Raises:

ValueError – If the source is not supported