Release v4.0.1
Bug Fixes
Plus everything from v4.0.0:
Breaking Changes
- Upgrade required Python version to 3.11, upgrade packages GDAL to 3.6 and autopep8 to 2.0 (#166)
afb3d1e
- X/Y input via geofabrik .json + only support processing maps via geofabrik .json, delete
wahoomc/resources/json/
files, constants and related coding (#183)0d62840
- Downgrade required Python version to 3.10 (#187)
70c0395
Features
- update documentation (#175)
008e0b5
- macOS: Download mapwriter plugin during usage instead of manually copying during setup (#177)
1119db5
- Add a FAQ entry about routing tiles for device routing (#191)
ca0261a
- Allow processing of multiple countries via CLI (#190)
ddbe61e
- Integrate contour lines (elevation) into generated maps with argument
-con
(#188)0078845
- Include waterway/canal in tag-wahoo-poi.xml (#199)
d7b771b
- Include waterway/stream in tags-to-keep.json (#201)
f6a4b99
Bug Fixes
- default to BOLT_2 in VTM theme. With new firmware-releases BOLTv1 act asl BOLT_2
16a1586
- Do not use geofabrik .json file before geofabrik .json file has been downloaded (#192)
badef50
- install shapely and requests via conda instead of pip. For processing geofabrik.json with shapely on Windows (#193)
c84c3e0
Development/Infrastructure/Test/CI
- macOS: Check .osm.pbf files in unittests with
osmium diff
(due to osmium-tool upgrade) (#176)2906a56
- enable Github action to update
latest
release (#178)f4143fc
- Fix unittest, add v3 to v4 migration to FAQ, delete unused class attribute (seen during implementation of release v4.0.0) (#180)
99ed025
- adjust dependencies by implementing pydeps adjustments (#184)
2e66c50
- Use geofabrik .json for countries and regions for internal processing (from former
constants.py
andwahoomc/resources/json
) (#182)8632fbf
- unittests: compare map files with osmium in Windows, park static files, have static geofabrik .json (#186)
f400f89
- refactor osm_maps_functions.py like geofabrik.py - using a interface and two implementing classes (#194)
aa5b541
- detail logging of subsprocesses, unify logging (tile progress, country config file) (#195)
97b4da6
- refactor coding: do/remove checks, adjust exceptions, cleanup coding (#196)
0474978
BREAKING CHANGE
Processing is now only based on Geofabrik .json file which is downloaded both for country and X/Y input. The static country .json files and the whole implementation has been removed.
-gt
input argument was also removed because there is only one processing method implemented.
Input should now be in Geofabrik style. The hardcoded translation to geofabrik countries has been removed.
The size of generated maps for X/Y coordinates should remain exactly the same as before. The size of generated maps for countries should roughly be the same as before.
You need to create a new Anaconda environment with Python v3.10 for this version. These are the steps:
- Remove existing environment:
conda env remove -n gdal-user
- Create new environment and install wahoomc:
conda create -n gdal-user python=3.10 geojson=2.5 gdal=3.4 requests=2.28 shapely=1.8 bs4=4.11 lxml=4.9 matplotlib=3.4.3 pip --channel conda-forge --override-channels
conda activate gdal-user
pip install wahoomc