windkit.workspace.Workspace.get_vector_map

Workspace.get_vector_map(ID, map_type='elevation', crs=None)[source]

Extracts vector map from WWH and creates VectorMap object.

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

  • map_type (str) – Feature type to extract from mapfile Possible values ‘elevation’, ‘roughness’. Defaults to ‘elevation’

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

Returns:

Vector representation of the map.

Return type:

geopandas.GeoDataFrame