April 12, 2012

pascal95abc pascal95abc
Lab Rat
80 posts

Map Object doesn’t cache map tiles

 

Hello,

is there a way to cache tiles with the map object ?

I know that these tiles are on my device because I use “Nokia Maps” application without internet connection!

Thank you

 Signature 

Qt 4.7.3
Symbian OS v9.4 / Symbian^1, S60 5th Edition
on N97

9 replies

April 12, 2012

mlong mlong
Robot Herder
1537 posts

See this thread [qt-project.org] for another discussion of a similar topic.

 Signature 

Senior Software Engineer
AccuWeather Enterprise Solutions
/* My views and opinions do not necessarily reflect those of my employer.  Void where prohibited. */

April 12, 2012

pascal95abc pascal95abc
Lab Rat
80 posts

How to specify the path which is E:/cities/diskcache ?

In the question linked by you, there is written /var/tmp/sampleMap/ without specifying the disk drive, so how to set E: (the mass memory) as the corresponding disk drive ?

 Signature 

Qt 4.7.3
Symbian OS v9.4 / Symbian^1, S60 5th Edition
on N97

April 12, 2012

mlong mlong
Robot Herder
1537 posts

I was referring down-thread further where it talked about the Map stuff not caching, and potentially being in violation of the licensing agreement if you do.

 Signature 

Senior Software Engineer
AccuWeather Enterprise Solutions
/* My views and opinions do not necessarily reflect those of my employer.  Void where prohibited. */

April 12, 2012

pascal95abc pascal95abc
Lab Rat
80 posts

This problem is obsolete, I think.

Nokia even published a tool to download whole regions like the USA.

 Signature 

Qt 4.7.3
Symbian OS v9.4 / Symbian^1, S60 5th Edition
on N97

April 12, 2012

mlong mlong
Robot Herder
1537 posts

Oh, that’s good to know then. Do you have a link to such tool? I’d be interested, myself.

 Signature 

Senior Software Engineer
AccuWeather Enterprise Solutions
/* My views and opinions do not necessarily reflect those of my employer.  Void where prohibited. */

April 12, 2012

pascal95abc pascal95abc
Lab Rat
80 posts

Yeah, it was first known as Nokia Map Loader, then included in the Nokia Suite.
These maps can be loaded directly on the phone with the computer’s internet connection, then the program Nokia Maps can be started on the phone with the settings checked Offline Mode.
This is what I am using on my N97 currently and am very happy with.

The path is E:/cities/diskcache
So I have to configure it to use this path if it is the same format how Nokia Maps saves the tiles and how the Map Element does it.

 Signature 

Qt 4.7.3
Symbian OS v9.4 / Symbian^1, S60 5th Edition
on N97

April 12, 2012

mlong mlong
Robot Herder
1537 posts

I don’t know that the tile-based maps that the Map QML element uses are in the same format as the Map Loaded/Nokia Maps app data. On the N9, at least, I’m pretty sure they aren’t.

 Signature 

Senior Software Engineer
AccuWeather Enterprise Solutions
/* My views and opinions do not necessarily reflect those of my employer.  Void where prohibited. */

April 12, 2012

pascal95abc pascal95abc
Lab Rat
80 posts

Ok, thne I would have to have to caches what would be much space.
I will try it out tomorrow…

 Signature 

Qt 4.7.3
Symbian OS v9.4 / Symbian^1, S60 5th Edition
on N97

April 12, 2012

mlong mlong
Robot Herder
1537 posts

At any rate, to answer your original question:

How to specify the path which is E:/cities/diskcache ?

I believe it should just be a matter of using

  1.  PluginParameter {
  2.     name: "mapping.cache.directory"
  3.     value: "E:/cities/diskcache"
  4. }

 Signature 

Senior Software Engineer
AccuWeather Enterprise Solutions
/* My views and opinions do not necessarily reflect those of my employer.  Void where prohibited. */

 
  ‹‹ VKB does not open in TextInput      How to clear out a QGLSceneNode’s transforms() list? ››

You must log in to post a reply. Not a member yet? Register here!