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.

merge layout map in create offline mode

3 posters

Go down

merge layout map in create offline mode Empty merge layout map in create offline mode

Post  alikalla20 Tue Feb 21, 2012 7:36 pm

hi.
how can i merge several zoom maps and maps belong several services.example zoom14 googlemap and zoom15 ovi map or ect
alikalla20
alikalla20

Cantidad de envíos : 5
Fecha de inscripción : 2011-10-22

Back to top Go down

merge layout map in create offline mode Empty Re: merge layout map in create offline mode

Post  orux Fri Feb 24, 2012 7:13 pm

alikalla20 wrote:hi.
how can i merge several zoom maps and maps belong several services.example zoom14 googlemap and zoom15 ovi map or ect

Hi;

You can create those maps using MOBAC drag & drop feature with atlases.

Only one restriction, you can not merge two maps which contains the same zoom levels.

orux
orux
orux

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

Back to top Go down

merge layout map in create offline mode Empty Re: merge layout map in create offline mode

Post  yip Sat Feb 25, 2012 11:22 pm

orux wrote:
You can create those maps using MOBAC drag & drop feature with atlases.

Wow cyclops

I've used sqlite and xml editing so far ...
using MOBAC drag&drop is much simpler ...

If you can't use mobac, for some reason, here is how to do it "by hand":

assuming you have 2 directories, named "ovi" and "gmap", with 1 otrk2.xml and 1 OruxMapsImages.db inside each.

-get sqlite3.exe (linux and mac, replace with your official sqlite binary)
-move the db files in the sqlite3 directory, and rename them as ovi.db and gmaps.db
-follow these steps:
C:\tmp>sqlite3.exe
SQLite version 3.7.5
sqlite> attach 'ovi.db' as total ;
sqlite> attach 'gmaps.db' as gmap ;
sqlite> insert into total.tiles select * from gmap.tiles ;
sqlite> detach database total;
sqlite> detach database gmap;
sqlite> .quit
C:\tmp>
-rename ovi.db as OruxMapsImages.db
-open both XML file in 2 text editor
-copy the <OruxTracker> XML definition for each zoomlayer you want to include.
-put the OruxMapsImages.db and the new XML file into some new directory, and it will gives you a new map combining both !

note that the sqlite3 operation takes only seconds to complete for a 200M merger. fine piece of software !

yip

Cantidad de envíos : 40
Fecha de inscripción : 2012-01-21

Back to top Go down

merge layout map in create offline mode Empty Re: merge layout map in create offline mode

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