This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

OSM - using maps of Europe offline

0

I like to use OSM-maps of Europe in an own applications. At run time, however, there is never an online connection to the Internet. Therefore, I must use the maps offline.

Unfortunately, the maps (for now) are too large to store. Max. available disk space is 15 GB. Although I only need roads + terrain (no point of views, gas stations, etc.).

I test Mapnik but I didn´t find a solution to compress the maps effective. It would be no problem to install a web server in addition to my program and get the tiles as png (or other) from there. But the disk space required may just not be larger 15 GB !

Any help ist appreciated. Regards.

asked 02 Nov '12, 12:00

goulasch's gravatar image

goulasch
11112
accept rate: 0%

no other hints ?

(05 Nov '12, 12:10) goulasch

2 Answers:

1

You should look into vector rendering options. Gosmore, for example, can put the whole planet into a 15 GB binary file and render from there; other options exist as well and which one you choose probably depends on your platform and programming language of choice.

answered 02 Nov '12, 12:22

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

thx for the fast answer.

I think Gosmore is a viewer. I need an app/web server with an API in C++ in order to obtain the desired map tiles to present in my app.

(02 Nov '12, 13:22) goulasch

0

Have a look at Tilemill or other solutions from Mapbox.

There are more hints and howto at their website.

Maybe you can use Tilemill by keeping OSM data (after filtering) in a database and do a realtime rendering?

Or look for their application "Tilestream"

answered 05 Nov '12, 17:28

stephan75's gravatar image

stephan75
12.6k556210
accept rate: 6%

edited 05 Nov '12, 17:32

Source code available on GitHub .