Notices


Reply
Thread Tools
Posts: 728 | Thanked: 1,217 times | Joined on Oct 2011
#1481
Originally Posted by MartinK View Post
That looks like a bug, I'll investigate it.

BTW, were there any download errors during the download ? Could be that you got banned during the download for downloading too much tiles (some tileservers do that) and some tiles didn't get downloaded.

Also try to do the batch download with "redownload ON", which can be set from the "edit" menu. This makes sure that all tiles are downloaded for the given area, even if there are already some (corrupted ?) tiles present. Might help.
I didn't see any errors during download the couple of times I tried from the desktop computer. I am now traveling and using the N9 with whatever I allegedly downloaded from the desktop and am also downloading "manually" from the phone.

It seems to work fine to be honest, except for the odd missing tile (error downloading it, or corrupted, etc. as you suggest).

I'll report more details when I'm back, as copy+paste during the console in the N9 can be a bit uncomfortable. I'll also have a play migrating tiles from the file system to sqlite
 

The Following 3 Users Say Thank You to ggabriel For This Useful Post:
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#1482
Originally Posted by petur View Post
Martin, can modRana do retries for on-demand downloads (during driving)? Yesterday I seemed to have a crappy connection and from time to time a tile was missing (showing an error tile).

Might be a good idea to try to redownload on failure *if* the other tiles are downloading fine. No need to retry if they all fail (except maybe at a slow rate for when the network connection dropped for a slightly longer time).

Or maybe this is already present somewhere? I'm running a clean install after my complete device got corrupted
Hmm, I'll have to check, there might actually already might be some simple redownload in there (quite long time since I wrote this part of the code).

But sure, it might by possible to improve this quite a bit - I especially like the idea of trying to redownload a failed tile if a few tiles get through fine.

BTW, even with current tile download implementation, there is a workaround:
  • modrana has a tile cache used to display tiles
  • tiles displayed on the map are drawn from this cache, including failed tiles (a tile-failed image is loaded from the cache)
  • this cache is fixed size and new tile requests are continuously replacing the oldest cached tiles
So if you zoom a bit or move around, the failed tiles will get bumped out of the cache and be downloaded again once you revisit the area (as the will be no tile file in storage as download failed previously). Still might not be really possible if you have bad Internet connectivity to begin with...

Originally Posted by ggabriel View Post
I didn't see any errors during download the couple of times I tried from the desktop computer. I am now traveling and using the N9 with whatever I allegedly downloaded from the desktop and am also downloading "manually" from the phone.

It seems to work fine to be honest, except for the odd missing tile (error downloading it, or corrupted, etc. as you suggest).

I'll report more details when I'm back, as copy+paste during the console in the N9 can be a bit uncomfortable. I'll also have a play migrating tiles from the file system to sqlite
I think I'll add a log-to-file toggle (modRana can do that) to the QML GUI ASAP (vkb terminal copy paste indeed sucks ).


modRana 0.43.4 has been pushed to Extras-testing
The latest modRana release seems to be stable and don't have any critical bugs so I've pushed it to Extras-testing!

So please test and vote based on your results on the Extras-testing package site.

Technical note: 6 positive votes are needed for the package to be promoted to Extras.
__________________
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 11 Users Say Thank You to MartinK For This Useful Post:
Ken-Young's Avatar
Posts: 387 | Thanked: 1,700 times | Joined on Feb 2010 @ Cambridge, MA, USA
#1483
Is there a way to disable the time display (white characters on blue background) that appears superimposed upon the map display?
 

The Following 2 Users Say Thank You to Ken-Young For This Useful Post:
Posts: 159 | Thanked: 217 times | Joined on Oct 2011
#1484
The overlays (time, speed,...) can be adjusted form /home/user/.modrana/user_config.conf , where you can disable and enable various displays over the map depending on what mode you are currently using the modrana (driving, biking, walking,...). There is also some time and distance remaining overlays, but I never got them to work even when using activated tracks or routes.
 

The Following 5 Users Say Thank You to Kossuth For This Useful Post:
Posts: 16 | Thanked: 14 times | Joined on May 2012
#1485
Originally Posted by MartinK View Post
Don't worry I'm working on it - but it is kinda complicated and will still take some time. But I sure make you all aware once routing is implemented in the QML GUI on Harmattan.


Sure, there is the sqlite import script by Beermad:
http://modrana.org/trac/wiki/SQLiteT...rtPerlScriptEN
Looks like Beermad changes his site, so use the modrana.org mirror for the script:
https://nlp.fi.muni.cz/trac/gps_navi...tEN/mapconvert

And eventually, I would like to integrate this functionality as a modRana CLI option, but have no timetable for that yet.


That looks like a bug, I'll investigate it.

BTW, were there any download errors during the download ? Could be that you got banned during the download for downloading too much tiles (some tileservers do that) and some tiles didn't get downloaded.

Also try to do the batch download with "redownload ON", which can be set from the "edit" menu. This makes sure that all tiles are downloaded for the given area, even if there are already some (corrupted ?) tiles present. Might help.


This is probably caused by the botched Monav data repository update described above. I'll be ready to do a new update run in a few days that will hopefully fix this corrupted data issue. So please hang on until then.
Hi Martin,
Offline routing still doesn' works for me. Are there any news regarding the botched Monav data repository update?
 
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#1486
Hi,

I'm playing with modrana-gtk and modrana-qml on N900. On gtk I'm able to get zoom > 1:6000, but on qml the maximal zoom is 1:6000. Should it be like that?

/edit: and after downloading the monav data pack, the tiles which haven't been visited aren't loaded. Why?

Thanks
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here

Last edited by marmistrz; 2013-11-11 at 20:18.
 

The Following 2 Users Say Thank You to marmistrz For This Useful Post:
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#1487
Originally Posted by marmistrz View Post
Hi,

I'm playing with modrana-gtk and modrana-qml on N900. On gtk I'm able to get zoom > 1:6000, but on qml the maximal zoom is 1:6000. Should it be like that?
There is no zoomlevel limit in the GTK GUI, as simple as that. This makes modRana GTK very future proof and ready to support atomic-scale map layers once (if ever ? :P) they become available.

Regarding the QML GUI, its is quite possible it is some hardcoded zoomlevel limit, maybe even from AGTL, which is the original source for the PinchMap element used by the modRana QML GUI.

This could be definitely improved upon, as since some time the modRana map definition file lists maximal zoomlevel for layers, so that could be used to set the lowest zoom, based on currently displayed layer. I guess also some sort of override might should be available, so that you can zoom in to arbitrary zoomlevel - for example to work with closely situated POIs that are overlaid on low zoomlevels (well, once they are implemented in QML GUI).

So I'll probably leave it without limit on GTK and use the max-zoom-per-layer with override in QML.

Originally Posted by marmistrz View Post
/edit: and after downloading the monav data pack, the tiles which haven't been visited aren't loaded. Why?

Thanks
The Monav data packs (BTW, I should really finally fix their updating) are currently used only for offline point-to-point routing.

Actually It does not even support offline address-to-address routing - the Monav preprocessor can create an address database, but there is no external interface to it. The database format is described here:
http://code.google.com/p/monav/wiki/...TournamentTrie

Any takers for Python parsing module (ctypes ?) so that modRana can use it for offline address lookup ?

Monav does support some sort of vector map rendering, but that is unfortunately internal functionality without any external interface (like for example telling Monav to render tile images), that modRana can use.

The current plan for vector map rendering is to use the Kothic Python+Cairo MapCSS using map renderer, but suggestions for alternative (preferably portable) renderers are also welcome.
__________________
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; 2013-11-13 at 00:18.
 

The Following 7 Users Say Thank You to MartinK For This Useful Post:
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#1488
And is there any way to preload all the maps (let's assume OSM) for a given country (assume Poland).

There are many types of maps available for modrana. What are their advantages/drawbacks?

I have an idea how to improve modRana qml on Fremantle. Maybe I'd be able to make a pull request but, would it fit: to make the fullscreen button enable/disable statusBar, and to enable minimize/close in the bar?

About theme, as in the source: meegotouchtheme-nokia-icons (blanco) is in the repos. The only missing package for blanco theme is meegotouchtheme-nokia-graphics. But it might not be needed there.

Thanks
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here

Last edited by marmistrz; 2013-11-12 at 15:56.
 

The Following 3 Users Say Thank You to marmistrz For This Useful Post:
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#1489
And one more question: the monav pack from modrana page for Poland is a couple bytes big: http://www.modrana.org/data/monav/europe/poland/
The one from the original monav page is ~300 MB big (compressed). Why the difference?
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 

The Following User Says Thank You to marmistrz For This Useful Post:
Posts: 804 | Thanked: 1,598 times | Joined on Feb 2010 @ Gdynia, Poland
#1490
Originally Posted by marmistrz View Post
And one more question: the monav pack from modrana page for Poland is a couple bytes big: http://www.modrana.org/data/monav/europe/poland/
The one from the original monav page is ~300 MB big (compressed). Why the difference?
It was answered before, see http://talk.maemo.org/showthread.php...9&#post1379199 and from MartinK's last post I think it's still on his ToDo list
 

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

Tags
bada rox, martin_rocks, modrana, navigation, openstreetmap, the best, wehasgps

Thread Tools

 
Forum Jump


All times are GMT. The time now is 12:34.