This object is in archive! 
Offline map performance and size
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?
Files:
Screen Shot 201...
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
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
Yes, it was created by Locus, in the folder Locus/maps, there is a ~400mb sqlitedb file, which stores the downloaded map (4UMaps)
Yes, it was created by Locus, in the folder Locus/maps, there is a ~400mb sqlitedb file, which stores the downloaded map (4UMaps)
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.
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.
Oh yeah, you're right! Well, thank anyways, keep up the great work :)
Oh yeah, you're right! Well, thank anyways, keep up the great work :)
Replies have been locked on this page!