hydromt.DataArray.raster.vector_grid#

DataArray.raster.vector_grid(geom_type: str = 'polygon') GeoDataFrame#

Return a vector representation of the grid.

Parameters:

geom_type (str, optional) – Type of geometry to return, by default ‘polygon’ Available options are ‘polygon’, ‘line’, ‘point’

Returns:

GeoDataFrame with grid geometries

Return type:

geopandas.GeoDataFrame