This object is in archive! 

Offline map performance and size

Marcel K shared this question 5 years ago
Answered

Hey!

I noticed that you store offline map tiles as hex strings in a sqlitedb. I was wondering if its a better idea to directly store them as png files, since they are about 50% smaller than the hey strings, from my experience.

Also, wouldn't the maps perform faster if they are already stored as png tiles, since the phone wouldn't have to convert the hex string to an image each time a tile is loaded?

Replies (4)

photo
1

Dear Marcel,


we do not store raster tiles as hex string in sqlite database. Tiles are stored as binary blobs. Is it your database created by Locus?

BR Petr

photo
1

Yes, it was created by Locus, in the folder Locus/maps, there is a ~400mb sqlitedb file, which stores the downloaded map (4UMaps)

photo
1

OK then it's probably some limitation of your DB viewer, check the schema to see the table definition. However it's not needed, tiles are really stored in binary form.

photo
1

Oh yeah, you're right! Well, thank anyways, keep up the great work :)

Replies have been locked on this page!