edisgo.tools.geopandas_helper

Module Contents

Classes

GeoPandasGridContainer

Grids geo data for all components with information about their geolocation.

Functions

to_geopandas(grid_obj)

Translates all DataFrames with geolocations within a Grid class to GeoDataFrames.

class edisgo.tools.geopandas_helper.GeoPandasGridContainer(crs: str, grid_id: str | int, grid: edisgo.network.grids.Grid, buses_gdf: geopandas.GeoDataFrame, generators_gdf: geopandas.GeoDataFrame, loads_gdf: geopandas.GeoDataFrame, storage_units_gdf: geopandas.GeoDataFrame, transformers_gdf: geopandas.GeoDataFrame, lines_gdf: geopandas.GeoDataFrame)[source]

Grids geo data for all components with information about their geolocation.

Parameters:
edisgo.tools.geopandas_helper.to_geopandas(grid_obj: edisgo.network.grids.Grid)[source]

Translates all DataFrames with geolocations within a Grid class to GeoDataFrames.

Parameters:

grid_obj (Grid) – Grid object to transform.

Returns:

Data container with the grids geo data for all components with information about their geolocation.

Return type:

GeoPandasGridContainer