windkit.Workspace.get_roughness_map

Workspace.get_roughness_map(ID, crs=None, convert_to_landcover=False, polygons=True)[source]

Extracts vector map from WWH and creates VectorMap object.

Parameters:
  • ID (int) – ID of vector map object to be extracted.

  • crs (int, dict, str or pyproj.crs.CRS) – Value to initialize pyproj.crs.CRS Default, use from file.

  • convert_to_landcover (bool, optional) – If True, convert roughness map to landcover map and landcover table. Defaults to False.

  • polygons (bool, optional) – If True, convert roughness map to polygons. Defaults to True.

Returns:

Vector representation of the map.

Return type:

geopandas.GeoDataFrame