Skip to content

Commit

Permalink
[DEV] unittests: compare map files with osmium in Windows, park stati…
Browse files Browse the repository at this point in the history
…c files, have static geofabrik .json (#186)

* compare unittest files with osmium-tool on Windows

the same way as on macOS, install osmium-tool via conda therefore
unittests errored because split-malta.osm.pbf and split-malta-names.osm.pbf were not equal (most likely because of having more than 6 decimals after num2deg in geofabrik.py)

* park productive files during unittest run and restore after

* handle geofabrik .json the same way as other static input files

* refactor and add excpeption handling
  • Loading branch information
treee111 authored Feb 28, 2023
1 parent 8632fbf commit f400f89
Show file tree
Hide file tree
Showing 3 changed files with 8,902 additions and 22 deletions.
1 change: 1 addition & 0 deletions conda_env/gdal-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ dependencies:
- pylint=2.15.*
- geojson=2.5.*
- shapely=1.8.*
- osmium-tool=1.15.*
- autopep8=2.0.*
- mock
- twine
Expand Down
Loading

0 comments on commit f400f89

Please sign in to comment.