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 |
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 I was not able to find any setting that allows OsmAnd to overlay highways only, can you please elaborate?
(09 Jul '21, 10:07)
knix
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.
(09 Jul '21, 12:59)
InsertUser
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)
(09 Jul '21, 13:25)
SomeoneElse ♦
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.
(09 Jul '21, 14:08)
knix
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.
(09 Jul '21, 15:19)
InsertUser
Ok, thanks I got it work, I had to disable "Show polygons" on the underlay map. Here is the complete steps
(09 Jul '21, 17:18)
knix
showing 5 of 6
show 1 more comments
|