windkit.vector_map.vector_map_to_gmlfile

windkit.vector_map.vector_map_to_gmlfile(gdf, filename, lctable=None, desc='', **kwargs)[source]

Write vectormap in GeoDataFrame format to WAsP mapfile format.

Parameters:
  • gdf (geopandas.GeoDataFrame) – Elevation or roughness change vector_map.

  • filename (pathlib.Path or str) – Path to output file.

  • lctable (LandCoverTable) – Landcover table to map landcover and roughness / displacements. Defaults to None.

  • desc (str) – Description added to the file. Defaults to “”

  • kwargs (dict) – Extra arguments.