View Single Post
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#291
Originally Posted by extendedping View Post
Just to chip in, I have not used modrana in a while (have not taken a long drive) but I too experienced multiple lock up have to remove the battery issues. I think if I recall it happened mostly when calculating a route.
This might actually be a separate issue, at least sometimes.
ModRana does not actually calculate routes, but asks an online service. ModRana currently waits for a reply and the GUI freezes while it waits.
The reply usually comes instantly on a good connection, but it can take a while on a slow one. This means that the modRana interface might freeze for up to 30 seconds (current connection timeout value) if the query or the result gets lost.
Thats clearly not ideal and I am going to implement the queries in a separate thread. There should also be a "getting route" overlay with a cancel button.

Originally Posted by woody14619 View Post
Ah.. I was talking about renaming the saved gpx files made for when you get a route from online, not the logs you make yourself, though that is handy to know too.
OK, I can make it to show a pre-filled entry box when saving online routes, like when saving online POI.

Originally Posted by woody14619 View Post
What format does it come in from the route server as? Maybe you can just save it in that format (with it's own extension) for later loading. I wouldn't mind having a difference between routes and logs, especially if I can make a route (say on Goggle maps) and export it in some way that modRana would understand.
I get them from the GoogleMaps module as a nested python dictionary. IMO, it would be quite easy to serialize it to and from a file. But I'd rather integrate it with the current tracklogs, than add a third way to represent a track to modRana

Originally Posted by woody14619 View Post
Looks nice, except for one tweak. I was thinking the alerts would be more like 10k and 2k out, vs 2k and 1k. When you're going 100kmhr, 2k isn't much warning, especially on a multi-lane highway. It can take 3 or 4K just to get over to the proper lane sometimes.
Good point, I'll also add a 10k trigger then

Originally Posted by woody14619 View Post
In the not too distant future (Thanksgiving-ish) I may have some time to work on porting a tile server to the N900. If so, it could act as a local server (backup) for non-networked usage. I've made some pretty extensive changes to an opensource tile server for a group I've been working with, and think it may be pretty doable to get it up and running on here.
Well, that sounds very interesting !

I already see quite a few things to do with it:
  • using tiles from the local tileserver without saving them (provided the rendering is fast enough) could save quite a lot space as the vector data for the map server should be quite small in comparison to saving tiles for a whole area
  • automatic switch to the local tileserver when the remote on becomes unavailable (+ manual override)
  • download and manage vector data for the tileserver directly from the device
  • different tile styles (night, bike optimized, etc) - if the server supports it
  • generate tiles with transparent background for using as overlay - (I have actually yet to see an OSS tile layer with total transparency
__________________
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)
 

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