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

Unable to open maps in sqlite format

View previous topic View next topic Go down

Unable to open maps in sqlite format

Post  emkaa on Tue Jul 26, 2011 8:46 am

Maps in sqlite format stopped working for me. All I can see is "Unable to open the map! Perhaps you need to update maps..." But update did not help. Probably happened after update of my LG Optimus One to android 2.3.3, but at the same time I also upgraded to latest Oruxmpas so I am not sure what broke it. When I regenerated my maps in MOBAC to standard oruxmaps format (not sqlite), everything worked just fine.

emkaa
Guest


Back to top Go down

Re: Unable to open maps in sqlite format

Post  orux on Tue Jul 26, 2011 6:10 am

emkaa wrote:Maps in sqlite format stopped working for me. All I can see is "Unable to open the map! Perhaps you need to update maps..." But update did not help. Probably happened after update of my LG Optimus One to android 2.3.3, but at the same time I also upgraded to latest Oruxmpas so I am not sure what broke it. When I regenerated my maps in MOBAC to standard oruxmaps format (not sqlite), everything worked just fine.

You're the second person that I have news, also with the LG optimus, upgrading to 2.3.3 I do not know what may be happening. Are the tracks are recorded correctly (also use a sqlite database)?

orux

_________________
Ahora puedes contribuir:--> DONACIÓN
Now you can contribute:--> DONATE

orux

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

View user profile

Back to top Go down

Unable to open maps in sqlite format

Post  jose68 on Tue Jul 26, 2011 1:17 pm

Even I do not go to LG OO 2.3.3 with the original map in both versions 4.0.1 and 3.4.3. Stopped coming after a firmware upgrade. Well, the newly generated off-line maps directly from OruxMaps work! So I finally came to a comparison of the DB file and when I changed the 01 to 02 in the header file (offset 12 hex and 13 hex, 0101->0202 in hex editor) and tested and they work! Old and new maps from Mobac and from OMD, after modification. Why does not the original map? What's wrong?

jose68

Cantidad de envíos: 1
Fecha de inscripción: 2011-07-27

View user profile

Back to top Go down

Re: Unable to open maps in sqlite format

Post  vactis on Thu Jul 28, 2011 5:04 am

I have the same problem too with my Optimus One after upgrade to Gingerbread, can't open sqlite maps. Sad

vactis
Guest


Back to top Go down

Re: Unable to open maps in sqlite format

Post  enthalpie on Thu Jul 28, 2011 9:15 am

Same thing for me

Samsung Galaxy S under Gingerbread , rom XXJVP

Data ares on /sdcard/external_sd/oruxmap/mapfile/topo

oruxmap tel me it did'nt find map in directory

enthalpie

Cantidad de envíos: 54
Fecha de inscripción: 2011-07-24
Edad: 67
Localización: Yerres France

View user profile

Back to top Go down

Re: Unable to open maps in sqlite format

Post  orux on Thu Jul 28, 2011 8:31 pm

jose68 wrote:Even I do not go to LG OO 2.3.3 with the original map in both versions 4.0.1 and 3.4.3. Stopped coming after a firmware upgrade. Well, the newly generated off-line maps directly from OruxMaps work! So I finally came to a comparison of the DB file and when I changed the 01 to 02 in the header file (offset 12 hex and 13 hex, 0101->0202 in hex editor) and tested and they work! Old and new maps from Mobac and from OMD, after modification. Why does not the original map? What's wrong?


Thanks jose;

I am going to add a tool in OruxMapsDesktop to do this in batch mode.

It seems that the sqlite libraries of MOBAC and OruxMApsDesktop build a different header, and LG is sensitive to it.

orux

_________________
Ahora puedes contribuir:--> DONACIÓN
Now you can contribute:--> DONATE

orux

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

View user profile

Back to top Go down

Re: Unable to open maps in sqlite format

Post  orux on Thu Jul 28, 2011 8:33 pm

enthalpie wrote:Same thing for me

Samsung Galaxy S under Gingerbread , rom XXJVP

Data ares on /sdcard/external_sd/oruxmap/mapfile/topo

oruxmap tel me it did'nt find map in directory

I think it is a different problem.

check the directory in settings--maps--maps directory.

then use 'reset map sources' in map selector list view.

orux

_________________
Ahora puedes contribuir:--> DONACIÓN
Now you can contribute:--> DONATE

orux

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

View user profile

Back to top Go down

Re: Unable to open maps in sqlite format

Post  enthalpie on Thu Jul 28, 2011 8:37 pm

orux wrote:
enthalpie wrote:Same thing for me

Samsung Galaxy S under Gingerbread , rom XXJVP

Data ares on /sdcard/external_sd/oruxmap/mapfile/topo

oruxmap tel me it did'nt find map in directory

I think it is a different problem.

check the directory in settings--maps--maps directory.

then use 'reset map sources' in map selector list view.

orux

HI

it is may-be a different problem

I have make sqlite map with topomap product
i have post a question in that topic

regards


Last edited by enthalpie on Fri Jul 29, 2011 10:39 pm; edited 1 time in total

enthalpie

Cantidad de envíos: 54
Fecha de inscripción: 2011-07-24
Edad: 67
Localización: Yerres France

View user profile

Back to top Go down

lg optimus one - 2.3.3

Post  tux on Fri Jul 29, 2011 10:32 pm

hi,

i get the same problem after upgrading the firmware. re-installing oruxmaps doesn't solve the problem. it can't even open the offline-'world' map. can i fix this manually? what files do i have to edit?

thanks,
tux

btw, this is a great app! keep up the good work!

tux
Guest


Back to top Go down

Re: Unable to open maps in sqlite format

Post  Pascal on Fri Sep 09, 2011 10:04 pm

Same problem for me after the os upgrade to 2.3.3 (unfortunately I didn't check this forum before).
Hope there will be a fix.
Tnx to Orux....

PS: I confirm that patching 0101->0202 does the map working as jose68 said

Pascal

Cantidad de envíos: 32
Fecha de inscripción: 2011-05-16

View user profile

Back to top Go down

Re: Unable to open maps in sqlite format

Post  orux on Sat Sep 10, 2011 4:15 am

Pascal wrote:Same problem for me after the os upgrade to 2.3.3 (unfortunately I didn't check this forum before).
Hope there will be a fix.
Tnx to Orux....

PS: I confirm that patching 0101->0202 does the map working as jose68 said

Hi;

Test this version of OruxMapsDesktop, last tab-->http://www.oruxmaps.com/OruxMapsDesktop2.0.16beta.zip

Try first with one map.

1.-Select the directory where your OruxMaps map is stored.
2.-Go!

The change is reversible;

Do it again, and 0202 will be set to 0101 in all OruxMapsImages.db sqlite files.

Then you can try with the root directory where your maps are stored, the program will search recursively inside all directories.

orux

_________________
Ahora puedes contribuir:--> DONACIÓN
Now you can contribute:--> DONATE

orux

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

View user profile

Back to top Go down

Re: Unable to open maps in sqlite format

Post  Pascal on Sat Sep 10, 2011 10:24 pm

It works.
Tnx Orux.

Just a warning to everyone:
Be carefull when applying the fix to a folder with several files to be fixed.
The program changes each 0101 to 0202 AND each 0202 to 0101.
So you could loose control on what is fixed a what is not

Pascal

Cantidad de envíos: 32
Fecha de inscripción: 2011-05-16

View user profile

Back to top Go down

Re: Unable to open maps in sqlite format

Post  orux on Mon Sep 12, 2011 7:19 am

Pascal wrote:It works.
Tnx Orux.

Just a warning to everyone:
Be carefull when applying the fix to a folder with several files to be fixed.
The program changes each 0101 to 0202 AND each 0202 to 0101.
So you could loose control on what is fixed a what is not

Thanks, Pascal.

I am going to add two radio button s to select direction,
0101 to 0202
0202 to 0101

orux

_________________
Ahora puedes contribuir:--> DONACIÓN
Now you can contribute:--> DONATE

orux

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

View user profile

Back to top Go down

Re: Unable to open maps in sqlite format

Post  Pascal on Mon Sep 12, 2011 8:05 am

I wonder how much you are so kind Orux!
Tnx.
p

Pascal

Cantidad de envíos: 32
Fecha de inscripción: 2011-05-16

View user profile

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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