Is there a way to generate offline overlays maps with roads and pathways only? (Key:highway=*) I want to use it in an Android app to extend older raster maps. Preferably in RMaps SQLite Maps (*.sqlitedb) format. (Using Alpinequest) It doesn't need to be offline, but I have not yet found a tile server that does highway only. There is hiking.waymarkedtrails.org. but it shows waymarked trails only. asked 05 Jul '21, 14:10 knix edited 06 Jul '21, 13:03 |
One Answer:
This probably is nowhere near the best solution, but OsmAnd allows raster map backgrounds with a highway overlay and is open source. If you already have a way of generating the tiles you need, but need a way of excluding certain features, there are tools like osmosis and osmium for filtering data before you feed it into your tile generator. answered 07 Jul '21, 19:07 InsertUser showing 5 of 6 show 1 more comments |
I was not able to find any setting that allows OsmAnd to overlay highways only, can you please elaborate?
In OsmAnd you need to:
The description for the Online maps plugin mentions that it can display tiles pre-packaged as a SQLite database and dropped in the data folder (Googled tutoiral), I'm not sure if it can be configured to point at another online provider.
Adding a new online map source now seems to be something like:
Menu / Configure Map / Map source / Add
Either enter details for a new one or "select existing". Edit and save
example URL http://map.atownsend.org.uk/hot/{0}/{1}/{2}.png
min zoom 0 max zoom 24 don't tick "elliptic mercator"
(those last settings will vary by site of course)
I'm still not able to follow. I have no problem to add online sources or custom maps. That's not what am asking for.
I have set my own map as default map and OSM online as Underlay. Then Hiding features in the "Hide" menu does nothing.
The original question was a way to have OSM roads over raster maps on Android. Offline rendering in OsmAnd uses OSM data and always considers itself to be the middle, so if you want OSM over your raster tiles you need to set your raster tiles to be "underlay". This will then default to suppressing area rendering but not building or highway rendering (buildings can be suppressed in the hide menu). You will have to have downloaded the OsmAnd map for the country/region you are in for offline rendering to work.
Ok, thanks I got it work, I had to disable "Show polygons" on the underlay map. Here is the complete steps
Set Mapsource = Offline vector maps
Overlay map = none
Underlay map = Your map (Disable "Show polygons")
Map style = OsmAnd
Hide = Enable everything except "Overground objects"