windkit.read_elevation_map
- windkit.read_elevation_map(filename, crs=None, **kwargs)[source]
Read elevation map from file.
The file can be either a raster file or a vector file.
- If the file is a raster file, the following formats are supported:
“grd” and “tif” (geoTIFF).
- If the file is a vector file, the following formats are supported:
“gpkg”, “gml”, “map”, “tmp”, “zip”, “ZipExtFile”
- Parameters:
filename (str or pathlib.Path) – Path to file
crs (int, dict, str or pyproj.crs.CRS, optional) – Value to initialize
pyproj.crs.CRS
(Default: read from file)**kwargs (dict) – Additonal keyword arguments passed to reader.
- Returns:
elevation_map object
- Return type:
xarray.DataArray, gpd.GeoDataFrame