View Single Post
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#265
Originally Posted by renjithza View Post
Hi MartinK

Regarding SQLite storage, I came across the Mobile Atlas Creator (formerly known as TrekBuddy Atlas Creator - [URL="http://mobac.dnsalias.org/"]http:
...
If I downloaded maps using this tool to one of these formats, would it work with modRana? Thanks.
Never heard of this tool before, I'll have to check out the structure of the files it produces.

Originally Posted by ThePooBurner View Post

Feedback:
However the Check feature may not be working quite right. Here what i have found so far.
1) Still shows KM and not miles in download area. Not sure if that was one of the fixes mentioned in the change log, but it seemed to be.
This may be a bit more complex to fix than expected. Basically, after examining the (older Rana-heritage) code a bit more throughly, I found that it actually uses some tile coordinate derived (scale dependent! ) unit and not plain kilometers as I thought. Before some conversion code is added, I can just switch the labels and and the would not be much difference in precision


Originally Posted by ThePooBurner View Post
2) If you run a check for a given area (ie: 5km, 10km, etc.) and all tiles are considered available, if you just hit "edit" and increase the size and check again it will continue to report that all tiles are available no matter how high you go.

3) if you hit Download anyway, despite #2 above, because you know you don't actually have them, it will finish without having downloaded anything (as noted by the lack of change in disk space) and tell you that all are now available. if you then return to the map and scroll to an area where you know you don't actually have tiles you will just get a black area, and the menu buttons disappear, and the program becomes unresponsive (or rather, unuseable since three are no buttons and the screen can no longer be scrolled) and has to be closed.

4) After restarting the app: going to batch and starting a download for the area you tried to download in #2, it will run normal and start downloading all the missing tiles. However, if i wanted to check the size of the download before letting it continue, to see if it would actually see that i didn't have them, i hit stop and then check. It said i would only need 1.8mb of files, so i hit continue download. As opposed to the slow pace at which it was going before (reporting 2-4 tiles downloaded per second), it was showing thousands downloaded per second (the same speed as the check) and finished without downloading anything. repeat the black screen from #3.
I tried to reproduce the stuck "all tiles available" bug and the black screen without success, but I have found and fixed a probably unrelated bug in the size estimation thread.
There may be some different circumstances involved, like a corrupted database file, different database size, etc.

Originally Posted by ThePooBurner View Post
More Feedback:

Seeing as the download is going to take sometime, and i like to use my phone for lots of stuff, i thought i would try using it a bit while the download was in progress.
I did a quick test and once reproduced the stuck/very slow download with the standard media player running, but it worked normally next time. I also noticed some skipping in the music, from time to time.
BTW, the tile download is potentially quite resource intensive as there are multiple threads involved and quite a lot of disk access, but it should not be so bad as to basically freeze. Could you try look on the CPU usage if/when something like this happens next ?

Originally Posted by ThePooBurner View Post
More Feedback:
I think when i get home i am going to try deleting the DB files and downloading over wifi and see what happens then.
Good idea, maybe the database got corrupted during the testing, the commit mechanism in the previous version also wasn't too robust.

Also, just an idea:
When you get some weird results (like slow response, freezing, black screen), could you also try if the same happens while using the file storage ?

This could help to discern what is caused by the database and what by the download/threading logic.

Originally Posted by ThePooBurner View Post
I will also see about uploading the log file that modrana makes now.
That would be really helpful!
Please note, that the log file is currently overwritten each time you start modRana. I guess I'll have to add a dedicated log folder + numbered log files...

Also, thanks for the feedback, it is much appreciated !
__________________
modRana: a flexible GPS navigation system
Mieru: a flexible manga and comic book reader
Universal Components - a solution for native looking yet component set independent QML appliactions (QtQuick Controls 2 & Silica supported as backends)

Last edited by MartinK; 2010-10-14 at 01:10.
 

The Following 2 Users Say Thank You to MartinK For This Useful Post: