def convert_gis_to_geodata(net, node_geodata=True, branch_geodata=True):
    '\n    Extracts information on bus and line geodata from the geometries of a geopandas geodataframe.\n\n    :param net: The net for which to convert the geodata\n    :type net: pandapowerNet\n    :param node_geodata: flag if to extract x and y values for bus geodata\n    :type node_geodata: bool, default True\n    :param branch_geodata: flag if to extract coordinates values for line geodata\n    :type branch_geodata: bool, default True\n    :return: No output.\n    '
    if node_geodata:
        _transform_node_geometry_to_geodata(net.junction_geodata)
    if branch_geodata:
        _transform_branch_geometry_to_coords(net.pipe_geodata)
Extracts information on bus and line geodata from the geometries of a geopandas geodataframe.

:param net: The net for which to convert the geodata
:type net: pandapowerNet
:param node_geodata: flag if to extract x and y values for bus geodata
:type node_geodata: bool, default True
:param branch_geodata: flag if to extract coordinates values for line geodata
:type branch_geodata: bool, default True
:return: No output.
def convert_gis_to_geodata(net, node_geodata=True, branch_geodata=True):
    '\n    Extracts information on bus and line geodata from the geometries of a geopandas geodataframe.\n\n    :param net: The net for which to convert the geodata\n    :type net: pandapowerNet\n    :param node_geodata: flag if to extract x and y values for bus geodata\n    :type node_geodata: bool, default True\n    :param branch_geodata: flag if to extract coordinates values for line geodata\n    :type branch_geodata: bool, default True\n    :return: No output.\n    '
    if node_geodata:
        _transform_node_geometry_to_geodata(net.junction_geodata)
    if branch_geodata:
        _transform_branch_geometry_to_coords(net.pipe_geodata)