OruxMaps
Visit the new forum: <a href="http://www.oruxmaps.com/foro">OruxMaps</a>

Join the forum, it's quick and easy

OruxMaps
Visit the new forum: <a href="http://www.oruxmaps.com/foro">OruxMaps</a>
OruxMaps
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Offline Map use on Motorola Pro+ Phone

2 posters

Go down

Offline Map use on Motorola Pro+ Phone Empty Offline Map use on Motorola Pro+ Phone

Post  mtbhk Sun Jul 15, 2012 7:23 am

Hi, Orux

I created offline map via MobAC, it generated two files XX.otrk2.xlm & oruxmapsimage.db. I can display the map on my tablet.
When I try to use these offline map on my phone, it prompt me that it fail to load the map, database need upgrage??

When I create offline map directly on my phone, offline map display OK!!
In my case, Oruxmaps can only open offline map which is generated via the phone and not by MobAC !
I found four files were on the map folder..
xx.otrk2.xlm
oruxmapsimages.db
oruxmapsimages.db-shm
oruxmapsimages.db-wal

Whats the two files .db-shm & db-wal use?
Many thanks ... Question


mtbhk

Cantidad de envíos : 4
Fecha de inscripción : 2012-07-15

Back to top Go down

Offline Map use on Motorola Pro+ Phone Empty Re: Offline Map use on Motorola Pro+ Phone

Post  mtbhk Fri Jul 20, 2012 3:18 pm

After some web search, found that ... cyclops
oruxmapsimages.db-shm ... is shared memory file for the database
oruxmapsimages.db-wal ... is write ahead log

It that my phone use different SQLite version compare with my tablet so all my old map cannot be read ?

mtbhk

Cantidad de envíos : 4
Fecha de inscripción : 2012-07-15

Back to top Go down

Offline Map use on Motorola Pro+ Phone Empty Re: Offline Map use on Motorola Pro+ Phone

Post  mtbhk Sun Jul 22, 2012 1:36 pm

Problem solved !!

The two sqlite db files format are sqlite 3 but the database header offset 18 & 19 are different.
Database created by MobAC - offset 18 & 19 write/read = 01
Database created by Oruxmaps in the phone - offset 18 & 19 write/read = 02

Using hex editor to change 01 to 02, the map created by MobAC can be display on the phone ... Laughing
OruxMapsImages.db-shm & OruxMapsImages.db-wal will be created on the same folder.

SQLite3 File Format Info - 1.2 Header Info

mtbhk

Cantidad de envíos : 4
Fecha de inscripción : 2012-07-15

Back to top Go down

Offline Map use on Motorola Pro+ Phone Empty Re: Offline Map use on Motorola Pro+ Phone

Post  orux Sun Jul 22, 2012 3:24 pm

mtbhk wrote:Problem solved !!

The two sqlite db files format are sqlite 3 but the database header offset 18 & 19 are different.
Database created by MobAC - offset 18 & 19 write/read = 01
Database created by Oruxmaps in the phone - offset 18 & 19 write/read = 02

Using hex editor to change 01 to 02, the map created by MobAC can be display on the phone ... Laughing
OruxMapsImages.db-shm & OruxMapsImages.db-wal will be created on the same folder.

SQLite3 File Format Info - 1.2 Header Info

Hi;

sorry,

you can convert your maps with OruxMapsDesktop, last tab --> www.oruxmaps.com

orux
orux
orux

Cantidad de envíos : 3946
Fecha de inscripción : 2009-07-06

Back to top Go down

Offline Map use on Motorola Pro+ Phone Empty Re: Offline Map use on Motorola Pro+ Phone

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum