Map files larger than 2GB

joeloc shared this thanks 6 years ago

I just tested a huge RMAP (2.257.861.033 bytes to be exact) on ICS and behold... IT WORKS!


It is a bit sluggish when loading a zoom level, also twofinger pinch zoom does not really make any fun. Needs about a second to react (samsung galaxy note). Not sure why that is, but at least it works!

Comments (8)

photo
0

3.7GB RMAP... works! Really slow on loading though. Slows down Locus startup a lot, even though the map is NOT the current one. Whats going on here?

photo
0

Hmm,


weird. In case of RMAP, there should be almost no difference between various map sizes. Mainly if you don`t use this map.


anyway this is very hard to test if I don`t have any huge map at home. Isn`t there simple way how can I create even a blank map, but such big, at home?

photo
0

I wish I had a faster upstream.


Anyway... what I meant was: the bigger the RMAP file, the longer it takes when you scan the map directory on startup. That can be up to one second per file. Shouldnt that be done only once btw and then somehow be stored in cache/?


At the moment with the latest hw accel testing version, Locus always shows this window with "Automatic Backup..." and then scans through all my rmaps. On every single start. Starting up Locus thus takes about ten seconds.

photo
0

hmm in your case, there have to be at least one wrong map. One map that is not cached and during every start, Locus notice that there is something new and is trying to check them (all and the one without success). So check if in your directory isn`t at least one map that is not listed in Personal maps


PS: I know, some notification about which map is wrong should be more then welcome ...

photo
0

would be very welcome indeed... checking a hundred maps manually is not fun. but hey... i could use a "binary" approach moving files in and out... :).


maybe it would be good to include all map files in your personal list, even if they dont actually work. then when i select one of them, you could print a detailed error message into the tile.

photo
0

The Galaxy S3 supports ExFat out of the box and all ICS phones can be hacked to support NTFS. Might be time to test maps larger than 4GB. Any chance this can work in Locus?

photo
0

SQLite maps have limit on 2GB. So this will probably not work. But you already wrote something about working RMAP maps with bigger then 2GB size and it worked right?

photo
0

I never tried big sqlite maps. But I have a 3.7GB RMAP working nicely, except a somewhat slowish loading of higher zoom levels.