简体   繁体   中英

OpenStreetMap offline?

I use OpenStreetMap on my side, but it works through their page. I wonder if it is possible to download some of the map and use the local server. So far I have found something like this: http://openlayers.org/dev/examples/offline-storage.html

http://openlayers.org/dev/examples/offline-storage.js

But here are using the cache.

Of course this is possible, OpenStreetMap's data is free and so are most of the tools around it.

For rendering your own tiles just follow the steps described on switch2osm in the serving tiles guide. You can also import one of the extracts if you don't want to serve the whole planet. Alternatively you can use some of the other available renderers and toolchains for creating your own tiles, for example Maperitive and TileMill .

If you are interested in routing then take a look at the routing wiki page and especially at the list of various online routers and offline routers for OSM.

For geocoding there are various search engines available of which Nominatim is the most popular one at the moment.

With marble you can download regions of the selected map. Marble also has an interesting list of downloadable maps. Some OSM based: roads, cycle map and satellite as well as historical maps and other.

On linux+macOS+windows: Marble. sudo yum install marble or sudo apt-get install marble etc

"Marble is a virtual globe and world atlas — your swiss army knife for maps." Offline mode, download maps. Browse map. Select view/data source. Routing. Search. https://marble.kde.org/ https://marble.kde.org/features.php

Many various other applications: https://wiki.openstreetmap.org/wiki/Software/Desktop

For use on Android I favour OSMand.It stores data in a much more efficient, routeable, searchable format than the cached tiles. With a reasonable SD card in your phone you can easily have entire continents on your phone for offline use.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM