maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   How to download large maps with high resolution with mappero (https://talk.maemo.org/showthread.php?t=74415)

peterleinchen 2011-12-08 21:50

Re: How to download large maps with high resolution with mappero
 
OK, as you confirmed my problem with the USB mass storage mode, I do know that it is the mounted file on a (also) mounted device.
I am afraid we have to live with that, But there is a workaround:
before putting N900 into mass storage mode, type in x-term
Code:

sudo umount -l /home/user/MyDocs
afterwards (MyDocs will get mounted automatically) we have to mount the maps file again with
Code:

sudo mount /home/user/MyDocs/.maps
But vi_ has another thread open with a hint to do that automatically, I did not have time to check/test that myself.

sup 2011-12-08 21:53

Re: How to download large maps with high resolution with mappero
 
Quote:

Originally Posted by peterleinchen (Post 1135203)

But vi_ has another thread open with a hint to do that automatically, I did not have time to check/test that myself.

Would you care to point to that thread?

sup 2011-12-08 21:54

Re: How to download large maps with high resolution with mappero
 
Quote:

Originally Posted by daniel_m (Post 1134988)
Btw., how can I see that everything worked and .maps is a mounted file instead of an ordinary folder?

run df. You should see something like

/home/user/MyDocs/.mappero_disk 4182016 1685044 2496972 40% /home/user/MyDocs/.maps

peterleinchen 2011-12-08 22:07

Re: How to download large maps with high resolution with mappero
 
Quote:

Originally Posted by sup (Post 1135204)
Would you care to point to that thread?

Yes,of course:
Power Search with "mount vi_" lead the way ;j
http://talk.maemo.org/showthread.php?t=80562

Quote:

Originally Posted by sup (Post 1135205)
run df. You should see something like
/home/user/MyDocs/.mappero_disk 4182016 1685044 2496972 40% /home/user/MyDocs/.maps

I just put a plain file named 'mount_point' or any other meaningful into the mount point directory. To be checked easily with 'ls'. But 'df' is also good idea.

sup 2011-12-08 22:10

Re: How to download large maps with high resolution with mappero
 
Quote:

Originally Posted by peterleinchen (Post 1135214)
Yes,of course:
Power Search with "mount vi_" lead the way ;j
http://talk.maemo.org/showthread.php?t=80562


Thanks. It is strange I did not come across this thread when first doing this setup... :-).

peterleinchen 2011-12-08 22:45

Re: How to download large maps with high resolution with mappero
 
No, not strange at all.
Just look at the first post's date
sup 28th Jun 2011 , 10:29
vi_ 2nd Dec 2011 , 11:23

So, only "little" chance for you to detect that ;)

sup 2011-12-08 22:46

Re: How to download large maps with high resolution with mappero
 
Oh yeah, I saw 12-02-11 - that crazy american way of indicating time will always puzzle me:-).

daniel_m 2011-12-10 12:17

Re: How to download large maps with high resolution with mappero
 
I get /dev/loop0 4086976 8276 4078700 0% /home/user/MyDocs/.maps
Looks like it is working pretty well :)

Hm, I think I will just copy things to my SD card and move it to internal memory if necessary :)

jaromrax 2011-12-19 09:38

Re: How to download large maps with high resolution with mappero
 
Quote:

Originally Posted by peterleinchen (Post 1132396)
You see why I came to use vFAT? I did/do not see any advantages here for an ext FS. Just for storing map tiles.

Surely, 5% and 23% - there is an advantage of ~700M free. But anyway I see two more reasons to use ext FS. Maybe you can reduce my number:
1/ the rights - I want to have all odd-numbered subdirs for mappero readonly - to keep only every second zoom tile - with the actual zoom level the maps details are too faint to view (I didnt manage? under fat).
2/ I can imagine to link some more map directories from SD card anytime when needed.

peterleinchen 2011-12-19 14:35

Re: How to download large maps with high resolution with mappero
 
OK.
Point 1 is not to beat (at all).
If you like/need read/write access to set explicitly, there is no other chance than ext (1024 bs ?). The vFat image itself may be mounted write protected, but only the complete imgae (not down to single directories).
And I do not mind anyone to use ext, my personal favorite is vFat.

Point 2 may also be achieved with whatever file system you use.
)ust map the single Map Providers as storage files (e.g. OSMI and OSMII) to as many directories you need under /home/user/MyDocs/.maps/xxx.


All times are GMT. The time now is 01:23.

vBulletin® Version 3.8.8