Transforming network geodata from any projection to wgs84 (lat/long)

In case network geodata are not in The World Geodetic System (WGS84), that is latitude/longitude format, but in some of the map-projections, it may be converted to lat/long by providing number of the projection. A sample of converting geodata from mv_oberrhein network can be found in the tutorial.

pandapower.plotting.geo.convert_crs(net, epsg_in=4326, epsg_out=31467)

Converts bus and line geodata in net from epsg_in to epsg_out Supported geojson geometries are Point and LineString. Although Conversion away from WGS84 is highly discouraged.

Parameters:
  • net (pandapowerNet) – network

  • epsg_in (int, default 4326 (= WGS84)) – current epsg projection

  • epsg_out (int, default 31467 (= Gauss-Krüger Zone 3)) – epsg projection to be transformed to

Return type:

None