windkit.vector_map.create_flat_vector_map
- windkit.vector_map.create_flat_vector_map(crs, dist=None, bbox=None, map_type='elevation', elev=0.0, z0_change=(0.0, 0.0))[source]
Create a square flat elevation map, with bbox (-dist, -dist, dist, dist).
- Parameters:
crs (str) – Spatial Reference System for projection information.
dist (postive float) – 1/2 the length of a single side of the map (Either this or bbox must be set).
bbox (BBox) – Bounding box to use for setting the boundary rather than using dist. Defaults to None.
map_type (str) – One of “elevation” or “roughness” to specify the type of map to create. Defaults to “elevation”.
elev (float) – Elevation to set the line to if it is an elevation map. Defaults to 0.0.
z0_change (array of 2 floats) – Left and right z0 values for the line. Defaults to (0.0,0.0).
- Returns:
vector_map – Flat vector_map
- Return type: