Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 369
Maury Avatar asked Sep 11 '13 07:09

Maury


People also ask

Can OpenStreetMap be used offline?

Many software tools and services allow you to use OpenStreetMap data offline, without an Internet connection. You may want to use OpenStreetMap offline to: Access the map quickly if you live or work in an area with poor Internet service. Continue to use the map while underground in a basement or subway (metro)

Can you download OpenStreetMap?

It is possible to download map data from the OpenStreetMap dataset in a number of ways. The full dataset is available from the OpenStreetMap website download area. It is also possible to select smaller areas to download. Data normally comes in the form of XML formatted .

Does map work offline?

Use offline maps After you download an area, use the Google Maps app just like you normally would. If your internet connection is slow or absent, your offline maps will guide you to your destination as long as the entire route is within the offline map.


1 Answers

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.

like image 149
scai Avatar answered Sep 24 '22 18:09

scai