Posts: 4
Threads: 1
Joined: Nov 2020
I discovered RouteConverter some months ago and this is exactly what I was looking for ! Great software !
It would be great to allow displaying offline maps that are available locally as .mbtiles file. The reason I miss this possibility is that I very often have a hard time finding specific locations in the OSM maps that are easily identifiable on my paper maps (I am in Switzerland, and the difference in ease of reading between the official topo maps and OSM is enormous in difficult terrain).
OruxMaps can display .mbtiles files with such maps. Would that also be possible in RouteConverter ?
Posts: 1
Threads: 0
Joined: Nov 2020
19.11.2020, 12:19
(This post was last modified: 20.11.2020, 10:19 by Lekiro.)
I have a similar issues with finding specific locations but I live in
this Athens house in Greece. Can smb help us please with RouteConverter?
Posts: 7,441
Threads: 223
Joined: Aug 2007
(18.11.2020, 17:57)rthiker Wrote: OruxMaps can display .mbtiles files with such maps. Would that also be possible in RouteConverter ?
RouteConverter uses mapsforge to read offline maps and render them. And somebody seems to have implemented a renderer for mapsforge that reads MBTiles:
https://github.com/geosolutions-it/MapSt...derer.java
Please help my to understand why the mapsforge offline maps that can be downloaded outside of and even within RouteConverter from diverse sources don't satisfy your needs? What's within MBTiles what is not inside these files?
--
Christian
Posts: 4
Threads: 1
Joined: Nov 2020
(19.11.2020, 16:51)routeconverter Wrote: (18.11.2020, 17:57)rthiker Wrote: OruxMaps can display .mbtiles files with such maps. Would that also be possible in RouteConverter ?
RouteConverter uses mapsforge to read offline maps and render them. And somebody seems to have implemented a renderer for mapsforge that reads MBTiles:
https://github.com/geosolutions-it/MapSt...derer.java
So this means that it already is possible to use such an offline map? How would I then add it to the list of maps available in RouteConverter?
Posts: 4
Threads: 1
Joined: Nov 2020
(19.11.2020, 16:51)routeconverter Wrote: Please help my to understand why the mapsforge offline maps that can be downloaded outside of and even within RouteConverter from diverse sources don't satisfy your needs? What's within MBTiles what is not inside these files?
As said, these maps have a resolution and accuracy that is far inferior to the one that I would like to use (offline, available on my computer only as .mbtiles file).
Posts: 7,441
Threads: 223
Joined: Aug 2007
Please try the latest prerelease I've uploaded. It now accepts files in %USER_PROFILE%\.routeconverter\maps which have the extension .mbtiles and offers them in the map selector if they contain png or jpg tiles. Please test and give feedback!
--
Christian
Posts: 4
Threads: 1
Joined: Nov 2020
It works, many thanks!
There is a remaining bug, though: When I switch from the mbtiles map to e.g. OSM and then back to the mbtiles map again, it does not display anymore and I get an error of this form:
Dec 07, 2020 6:04:03 PM slash.navigation.maps.mapsforge.mbtiles.DatabaseRenderer executeJob
WARNING: Error while rendering job slash.navigation.maps.mapsforge.mbtiles.RendererJob@3e6e2f4: java.sql.SQLException: database connection closed
I am not sure whether this is given by mapsforge, but it would be nice to have a "digital zoom" when the highest resolution is reached. Not that this is absolutely critical, but on high DPI screens things can still look small even when all details are there.
Posts: 912
Threads: 52
Joined: Jan 2011
(07.12.2020, 18:08)rthiker Wrote: It works, many thanks!
There is a remaining bug, though: When I switch from the mbtiles map to e.g. OSM and then back to the mbtiles map again, it does not display anymore and I get an error of this form:
Dec 07, 2020 6:04:03 PM slash.navigation.maps.mapsforge.mbtiles.DatabaseRenderer executeJob
WARNING: Error while rendering job slash.navigation.maps.mapsforge.mbtiles.RendererJob@3e6e2f4: java.sql.SQLException: database connection closed
I tried to replicate this and can confirm the bug, same error lines in the logfile.
Grüße
Hans
Posts: 7,441
Threads: 223
Joined: Aug 2007
I have fixed the bug with the latest prerelease
--
Christian