maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] modRana: a flexible GPS navigation system (https://talk.maemo.org/showthread.php?t=58861)

kureyon 2011-08-25 09:49

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by 白い熊 (Post 1074456)
Google monitors I guess how fast subsequent requests for tiles come in and if it deems they're machine generated, then fails to serve the tiles.

I suspect they use some sophisticated heuristics to detect batch downloads. If it were simply based on speed of requests then I would expect at least the first few tiles to download correctly before the "speed limit" kicks in. All my attempts to batch download google tiles have failed (not 1 single tile downloaded). I zoomed out quite a bit then did a download 1km around view with zero levels up/down. This results in only 9 tiles to be downloaded, but all failed.

Quote:

What might help, if you REALLY want to download google stuff, instead of just boycotting it,
I've no intention of boycotting them since google's map source (Mapabc) for China is by far the best of those available in modRana. In fact the other "commercial" providers Virtual Earth Map and Yahoo Map provide practically no coverage for China and OSM although a lot better than those two is still far from "complete".

Quote:

would be to set the download threads to max out at 1 if possible (or is the lowest number 5?, don't remember), that might help it...
The lowest setting is 5 and still total failure :)

I'm wondering whether there are any differences in the modRana code to download tiles when scrolling around map and when doing the batch download.

Google Map Saver (GMS) seems to have a workaround for downloading a bunch of tiles at once:

Quote:

Q: I think your tool breaks the Google’s Terms of Use
A: I was thinking about this before I made the application public. What I can tell you, is that I’m not using any tricks (e.g. direct and bulk downloads) to get the maps. I’m simply using the a standard Google URL via IFRAME. Google allows us to see bigger maps. I found is possible, I did it. In GMS one user request = one Google Maps access. No bulk download.
But that workaround involves the opening of a browser window and most likely uses google's javascript thingies to do the heavy lifting then GMS probably trawls through the browser cache to stitch together the tiles.

白い熊 2011-08-25 09:59

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by kureyon (Post 1076296)
I'm wondering whether there are any differences in the modRana code to download tiles when scrolling around map and when doing the batch download.

I didn't look, but then there probably is a difference, as download threads also affect the downloads when just flipping through the map, so if you can flip through google's maps at will and it will download hundreds of tiles, there is probably something different, like an ID string that gets sent or what have you...

Pigro 2011-08-25 10:25

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by woody14619 (Post 1073240)
Uhm.. :rolleyes: I got mine and though it was cool, but it was literally the day before I was off for vacation for 2 weeks, so I forgot to reply about it when I got back. So at least 2 of 5 made it! :D

I never got a postcard, though my donation was a long time back, so perhaps before Martin started sending them out? Anyway, what a nice idea from an all round good guy!!

Regardless of postcard envy:rolleyes:, the ongoing support & development of modrana is all the thanks I need for my donation :-) I used modrana for the first time in ages last weekend and it performed perfectly. Really hope you've had more than just 5 donations for all your hard work, Martin.

petur 2011-08-25 12:45

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by Pigro (Post 1076316)
Regardless of postcard envy:rolleyes:, the ongoing support & development of modrana is all the thanks I need for my donation :-)

Amen to that, don't need the postcard, my money was well spent :)

shanttu 2011-08-25 16:59

Re: [Announce] modRana: a flexible GPS navigation system
 
Is there already another way to load GPX-files to Modrana than saving those to /opt/modrana/tracklogs?

Big thanks for this great app.

MartinK 2011-09-01 14:36

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by kureyon (Post 1074102)
I'm having problems with self created POIs.

Quote:

Originally Posted by 白い熊 (Post 1074455)
However, displaying my created POI's, the problem persists, i.e. kanji shows fine in POI information dialog and POI screen, on the map, just boxes.

OK, I'll fix the custom POI in the same way the online ones were fixed.

Quote:

Originally Posted by shanttu (Post 1076566)
Is there already another way to load GPX-files to Modrana than saving those to /opt/modrana/tracklogs?

The current modRana version no longer uses /opt/modrana/tracklogs but /home/user/MyDocs/tracklogs, which should be user writable & accessible through USB mass-storage. :)

Progress update
ModRana is taking part in the MeeGo coding competition and I'm using the current release-freeze to implement some more invasive features and also for a general code cleanup and streamlining.

You can expect a new release once the competition vote - which should start any day now - finishes. :)

Things I'm working on:
  • more efficient menu drawing (done)
  • Wikipedia search (done)
  • a module for handling map markers (working)
  • handling multiple results from address and Wikipedia searches(done)
  • show labels and detailed menus for the results(done)
  • improved listable menus

petur 2011-09-01 15:00

Re: [Announce] modRana: a flexible GPS navigation system
 
*drool* :D

kureyon 2011-09-02 14:40

Re: [Announce] modRana: a flexible GPS navigation system
 
There's a minor problem with modrana.py. The first 2 lines are:

Code:

import os.path
#!/usr/bin/python

The line with the shebang (ie 2nd line) should always come first. The problem is masked when running on the N900 because it is started with a shell script which explicitly starts python. If you run it directly ie:
Code:

./modrana.py
it dies with the following errors:
Code:

./modrana.py: line 25: modulesFolder: command not found
./modrana.py: line 27: syntax error near unexpected token `modulesFolder'
./modrana.py: line 27: `sys.path.append(modulesFolder)'


Musta susi 2011-09-02 20:09

Re: [Announce] modRana: a flexible GPS navigation system
 
I'm having difficulties to route tracks in Israel. The places and roads are shown correctly but when attempting a point to destination route, it completely ignores my request. Any idea?

ejasmudar 2011-09-18 18:40

Re: [Announce] modRana: a flexible GPS navigation system
 
MartinK, this is a feature request:
Can u please add a location based alarm? ie, if we mark a point, when our position comes within, say 100m of that point, the alarm goes off.
This will be useful for people in trains or other public transport, where one may doze off and miss their destination. In this mode, the gps need to be polled only every minute or so.

What do you think? Is it possible?


All times are GMT. The time now is 20:37.

vBulletin® Version 3.8.8