Hello @treee111 ,
My bike GPS from the brand IGPSport is using mapsforge maps. I'm trying to take some good ideas from your repo to create something equivalent for my brand.
I'm trying to generate the maps myself but cannot find their secret sauce 😁
I've been successfully generating a *.map file from the *.osm.pbf file using osmosis.
I'm working from this region for my tests : https://download.geofabrik.de/europe/france/ile-de-france.html (on my GPS it's multiple files by regions for each country)
The manufacturer official map corresponding to this region is this one : https://files.catbox.moe/hb9vzp.map 27.6MB
The command I used was osmosis --rbf file=ile-de-france-latest.osm.pbf --mw file=ile-de-france-gps-FINAL.map tag-conf-file=gps-compatible-tag-mapping-v3.xml type=hd threads=4 zoom-interval-conf=13,13,13,14,14,14
Using some reverse engineering from the map file, I generated and used this xml for tag-mapping : https://files.catbox.moe/ws3o9v.xml
The final map I generated : https://files.catbox.moe/5prd6b.map 42.6MB (size is a bit higher)
I can successfully read my map from all the any applications compatible with mapsforge and it's visually exactly the same as the original at every zoom level. However it makes my GPS crash so something is wrong somewhere.
With your knowledge when you created wahooMapsCreator do you have any good ideas to compare the map files to see what could be different in the pipeline ? 🙏
Hello @treee111 ,
My bike GPS from the brand IGPSport is using mapsforge maps. I'm trying to take some good ideas from your repo to create something equivalent for my brand.
I'm trying to generate the maps myself but cannot find their secret sauce 😁
I've been successfully generating a
*.mapfile from the*.osm.pbffile usingosmosis.I'm working from this region for my tests : https://download.geofabrik.de/europe/france/ile-de-france.html (on my GPS it's multiple files by regions for each country)
The manufacturer official map corresponding to this region is this one : https://files.catbox.moe/hb9vzp.map 27.6MB
The command I used was
osmosis --rbf file=ile-de-france-latest.osm.pbf --mw file=ile-de-france-gps-FINAL.map tag-conf-file=gps-compatible-tag-mapping-v3.xml type=hd threads=4 zoom-interval-conf=13,13,13,14,14,14Using some reverse engineering from the map file, I generated and used this xml for tag-mapping : https://files.catbox.moe/ws3o9v.xml
The final map I generated : https://files.catbox.moe/5prd6b.map 42.6MB (size is a bit higher)
I can successfully read my map from all the any applications compatible with mapsforge and it's visually exactly the same as the original at every zoom level. However it makes my GPS crash so something is wrong somewhere.
With your knowledge when you created wahooMapsCreator do you have any good ideas to compare the map files to see what could be different in the pipeline ? 🙏