This object is in archive! 

Is there a way to use my existing Maverick tiles in Locus?

Endolith shared this idea 11 years ago
Completed

I depend on offline maps because I have no data plan and wouldn`t always have reception anyway. I have GB of tiles downloaded for Maverick, and scripts to keep them up-to-date. They`re in nested folders like this:


googlemaps/z/x/y.png.tile


Is there any way to use these in Locus instead of having to re-download them all in some other format?

Replies (14)

photo
0

Hi Endolith,


unfortunately this system is really weird and is mostly unusable on mobile phones. So Locus do not support it. Maybe there is a way through Mobile Atlas Creator to convert it to some usable format. Or in this case, maybe anyone skilled with for example Python, may create some very simply script that fill SQLite database with these files

photo
0

hmmm "googlemaps/z/x/y.png.tile"


Are we talking about png-files ??


If,......you can always make your own mapItems from png-, jpg-files.


But if we are talking about Gbytes of files I think it could be "to much" !?

photo
0

you mean map items by "Calibration" feature or by some manual creating of KML Ground Polygon files? Ah yes, this is possible but it`s more then complicated, really.


As I wrote, it should be quite interesting to create small tool that will do this task, so if no one will know any simple method or won`t do any tool on this, and you should really want such tool, you may create new idea here on GetSatisfaction


Also, I already see similar ideas like https://getsatisfaction.com/locus/top... but I really do not want support such format. Only what I should support is creating of some tool that will convert such data into SQLite database

photo
0

What`s weird about it? It`s the same system used by AndNav and one of the OSM map apps. It works fine on both my phones.


Can the tiles in SQLite databases be updated? Aren`t the files limited to 2 GiB on FAT filesystem?

photo
0

Yes, they`re just PNG files, using the standard x y zoom coordinates as folder names

photo
0

- yes they can be updated, in very simple way


- Locus have workaround on these size limits


and why weird?


- did you ever checked real size of these files on card and size they consume? It`s quite difference


- did you tried delete or just move 2GB of these cached tiles? :) If not, try it


I`m sorry, but by me, it`s most stupid format for holding maps on mobile devices ever! And I`ll not for sure, directly support it

photo
0

Yes, I`ve worked with them a lot and they`re fine. Actually I`ve got less than I thought: 160,694 files taking up 1.12 GiB or 1.45 GiB on disk.


The important thing is that the files are already there and the format is simple and easy to support.


Here`s my tile updating script, for example: https://gist.github.com/2004789

photo
0

Endolith,


I was just thinking about it and sorry, but I`ll really not support this format.


I still think that it`s useless on mobile device and see no reason to support it. If you`re skilled as I see with python, it should be quite easy for you to put all tiles into SQLite database and update files in this database, if you`ll want to use these maps in Locus

photo
0

I`ve looked through the different SQLite formats, but I don`t see anything to indicate how old the tiles are. They have X Y Z S for each tile. Do you know what S is?

photo
0

I use S for custom time stampt. So if you want to create format compatible with Locus, put into S, time in hours since 1.1.2011

photo
0

Ok, I`ll look into it.

photo
0

Hi Endolith,


late but ..


1. question changed on idea


2. added support for tile storage of BackCountry Navigator, Gaia GPS, Maverick and OsmAnd


Keep in mind, that Locus add these maps into tab maps > Personal. YOu have to anyway use method "Add personal map" to add them there. More here http://docs.locusmap.eu/doku.php/manu... (it`s needed just to select parent directory of all tiles)


will be available in next Locus version

photo
0

When using Sqlite format, does Locus download more tiles itself and add them to the SQlite file?

photo
0

hmm I just discovered that after some changes in latest version, I by accident switched order of tiles, so these feature won`t probably work for you. Sorry


And to your question - if you use any personal map, then no, locus do now download more tiles automatically

Replies have been locked on this page!