edisgo.tools.geopandas_helper

Classes

GeoPandasGridContainer

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

Functions

to_geopandas(grid_obj, srid)

Translates all DataFrames with geolocations within a grid topology to GeoDataFrames.

Module Contents

edisgo.tools.geopandas_helper.to_geopandas(grid_obj, srid)

Translates all DataFrames with geolocations within a grid topology to GeoDataFrames.

Parameters:
  • grid_obj (Grid or Topology) – Grid or Topology object to transform.

  • srid (int) – SRID (spatial reference ID) of x and y coordinates of buses. Usually given in Topology.grid_district[“srid”].

Returns:

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

Return type:

GeoPandasGridContainer