Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I’ve realized a desktop application based on Qt Mobility for displaying maps and adds some landmarks in real-time (like QGeoMapObject). I've to see the track of some vehicles... I've used the code that can be downloaded here.

To manage the map, I've used a QGeographicsGeoMap object.

I want to have a cache for using my program also without an internet access.

Is it possible?

What is the way to do this?

share|improve this question
up vote 1 down vote accepted

I'd recommend looking at Marble, an open source (GNU Lesser General Public License (LGPL)) globe visualisation project. I use it for planning my routes in new cities when I'm on the train away from internet access, via the monav offline routing service.

This works fine, because all the places I have visited while online have been cached - I set the hard disk cache size to 1 Gb, allowing the most important data to be downloaded in advance of travel:

cache in Marble

Also, you can download tiles for entire regions if you like:

upload regions

I'm not sure if the code used by Marble is compatible with your program, but imagine the licence would allow you to harness it in your project if it's not for profit. I notice that a version of marble uses Qt for Android, so imagine their approach to caching would be compatible: see "Marble-Qt for the Asus EeePC" here.

Hope this helps and apologies if you've come across Marble's caching capabilities before.

share|improve this answer
Thank you so much for your answer! I've seen in the documentation of Marble and I've found this easy tutorial! – TommasoF Jan 4 '13 at 15:18
I update my last comment: By following the tutorial from this page it is easy to create a standalone Qt App and include a Marble viewer from you application. The dimension of the cache is not limited. – TommasoF Jun 17 '14 at 11:04

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.