e2nIEE / pandapower-qgis

Plugin for interaction between QGis and pandapower Networks
Other
1 stars 0 forks source link

Need of example files to import and export #16

Open Biorix opened 1 month ago

Biorix commented 1 month ago

I couldn't import any of the examples from pandapowers, e.g. mv_oberrhein It always gives errors.

Is it possible top have one or two working examples on both import and export?

One JSON file and one SHP or gpkg file

Thanks

KS-HTK commented 1 month ago

If you are using the version from the QGIS plugin repository, there is an issue in the import_ppnet function which prevents importing. I can't create a release to the QGis plugin repository so this will most likely not be fixed in the near future as there are mayor changes comming in pandapower.

If you are using the version from the develop branch of this repo it should function. If not please provide the stacktrace of the error.

It should be possible to use the mv_oberrhein network if exported with pandapower 2.9.0 (the version this plugin uses). There is no need to convert it to WGS84 before exporting but make sure to select epsg:31467 (Gauß-Krüger-Zone-3) in the import dialog as with pandapower<3.0.0 mv_oberrhein has the coordinates stored in that format.