windkit.vector_map.vector_map_to_gmlfile

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

Write vectormap in GeoDataFrame format to GML 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 (cannot be empty when reading with map editor). Defaults to “Windkit”

  • kwargs (dict) – Extra arguments.