hydromt.Dataset.vector.to_gdf#
- Dataset.vector.to_gdf(reducer=None)#
Return geopandas GeoDataFrame with Point geometry based on Dataset coordinates. If a reducer is passed the Dataset variables are reduced along the all non-index dimensions and to a GeoDataFrame column.
- Parameters:
reducer (callable, optional) – method by which multidimensional data is reduced to 1 dimensional e.g. numpy.mean
- Returns:
gdf – GeoDataFrame
- Return type: