Can't display offline map after download maps.

Asked by François Maltey

Hello,

Unav description is exactly what I'm looking for, thank you !

I try to use offline mode. So I install unav 0.62 on my aquaris E4.5.

Download wordwide map/[0-7]/xxx/yyy *.png files on my laptop with
downloadosmtiles --long=... --lat=... --zoom=0:7 --destdir=map

Copy all theses files on my phone : adb push ...

I'm sure the files are in my phablet : "ls -lR" begins with :

/home/phablet/.local/share/navigator.costales/map/0/0:
total 8
-rw-r--r-- 1 phablet phablet 6916 Aug 23 08:28 0.png

/home/phablet/.local/share/navigator.costales/map/1:
total 8
drwxr-xr-x 2 phablet phablet 4096 Aug 23 08:28 0
drwxr-xr-x 2 phablet phablet 4096 Aug 23 08:28 1

/home/phablet/.local/share/navigator.costales/map/1/0:
total 16
-rw-r--r-- 1 phablet phablet 9012 Aug 23 08:28 0.png
-rw-r--r-- 1 phablet phablet 3225 Aug 23 08:28 1.png

/home/phablet/.local/share/navigator.costales/map/1/1:
total 16
-rw-r--r-- 1 phablet phablet 9716 Aug 23 08:28 0.png
-rw-r--r-- 1 phablet phablet 3872 Aug 23 08:28 1.png

.....

And

phablet@ubuntu-phablet:~$ ls -lR ~/.local/share/navigator.costales/map/ | wc
  22899 199764 1232307

When I launch umap I choose offLine mode and I get the offLine background screen event at the biggest scale line = 2000km.

Might you undestand what is wrong by this way ?

Question information

Language:
English Edit question
Status:
Solved
For:
uNav Edit question
Assignee:
No assignee Edit question
Solved by:
costales
Solved:
Last query:
Last reply:
Revision history for this message
François Maltey (myf) said :
#1

Hello,

Unav description is exactly what I'm looking for, thank you !

I try to use offline mode. So I install unav 0.62 on my aquaris E4.5.

Download wordwide map/[0-7]/xxx/yyy *.png files on my laptop with
downloadosmtiles --long=... --lat=... --zoom=0:7 --destdir=map

Copy all theses files on my phone : adb push ...

I'm sure the files are in my phablet : "ls -lR" begins with :

/home/phablet/.local/share/navigator.costales/map/0/0:
total 8
-rw-r--r-- 1 phablet phablet 6916 Aug 23 08:28 0.png

/home/phablet/.local/share/navigator.costales/map/1:
total 8
drwxr-xr-x 2 phablet phablet 4096 Aug 23 08:28 0
drwxr-xr-x 2 phablet phablet 4096 Aug 23 08:28 1

/home/phablet/.local/share/navigator.costales/map/1/0:
total 16
-rw-r--r-- 1 phablet phablet 9012 Aug 23 08:28 0.png
-rw-r--r-- 1 phablet phablet 3225 Aug 23 08:28 1.png

/home/phablet/.local/share/navigator.costales/map/1/1:
total 16
-rw-r--r-- 1 phablet phablet 9716 Aug 23 08:28 0.png
-rw-r--r-- 1 phablet phablet 3872 Aug 23 08:28 1.png

.....

And

phablet@ubuntu-phablet:~$ ls -lR ~/.local/share/navigator.costales/map/ | wc
  22899 199764 1232307

When I launch umap I choose offLine mode and I get the offLine background screen event at the biggest scale line = 2000km.

Might you undestand what is wrong by this way ?

Revision history for this message
costales (costales) said :
#2

Could you compress the tiles in 1 tar.gz and upload to dropbox (or
whatever you want)?
I'll test.
--
Sent using Dekko from my Ubuntu device

Revision history for this message
François Maltey (myf) said :
#3

Thank a lot for your so fast help to use unav !

The 4 files are
https://www.dropbox.com/s/e7uwo57rfxk1d4p/map-01.tgz?dl=0

I hope you can read it, it's my first dropbox use.

Then you must add the path to ../map/1

One my ubuntu laptop (not my phablet) I can display the world : display map/1/1/1.png and so.

Have a nice day !

François from France.

Revision history for this message
costales (costales) said :
#4

Uhm, this zooms 0 and 1 are so big :P
The minimal zoom is 3, could you download the planet with zoom 3 and maybe 4?
If it doesn't work, send me the files please :)
--
Sent using Dekko from my Ubuntu device

Revision history for this message
François Maltey (myf) said :
#5

I let map/0 and map/1 on the phablet.
There is also all the planet-files for map/2 to map/7 and only theses files : no file from map/8 to map/18.

The screen remains void with the unplugged jack.

I see scale line : 1000km, 500km, 200km, 100km, 50km (two lines a short and a long one) 20km, 10km, 5km, 2km, 1000m (and also the shorter ones)

Here are the files :

https://www.dropbox.com/s/xrubu997u9wwcq6/map-02.tgz?dl=0
https://www.dropbox.com/s/4uvvcav82olqbye/map-03.tgz?dl=0
https://www.dropbox.com/s/2ddnx2d6cpsea0r/map-04.tgz?dl=0
https://www.dropbox.com/s/54zyybhxre93ecn/map-05.tgz?dl=0

I'm inside, my fake position gps is 51.50618 -0.10024

Of course I can download tiles from other servers. Might you tell me one which is umap compatible ?

Many thanks for the time you spend to solve this question !

François

Revision history for this message
Best costales (costales) said :
#6

Oh, I found the issue,

in your phone:
mv /home/phablet/.local/share/navigator.costales/map
/home/phablet/.local/share/navigator.costales/maps

The folder has to have the name "maps", not "map" ;) It's working for me now.

Could you check that?

A hug.
--
Sent using Dekko from my Ubuntu device

Revision history for this message
François Maltey (myf) said :
#7

It's all right!

Many Thanks, and I am very annoyed to have wasted your time.
You write a right page for unav, I copy it with mistake.

François

Revision history for this message
François Maltey (myf) said :
#8

Thanks costales, that solved my question.

Revision history for this message
costales (costales) said :
#9

You're so welcome :) enjoy uNav!

We should do this task more easy for the users too :)

A big hug François

--
Sent using Dekko from my Ubuntu device