The Following 7 Users Say Thank You to MartinK For This Useful Post: | ||
|
2019-04-02
, 07:34
|
Posts: 1,414 |
Thanked: 7,547 times |
Joined on Aug 2016
@ Estonia
|
#2042
|
The Following 4 Users Say Thank You to rinigus For This Useful Post: | ||
|
2019-08-12
, 11:56
|
Posts: 1,424 |
Thanked: 2,623 times |
Joined on Jan 2011
@ Touring
|
#2043
|
The Following 4 Users Say Thank You to biketool For This Useful Post: | ||
|
2019-08-13
, 05:17
|
Posts: 1,548 |
Thanked: 7,510 times |
Joined on Apr 2010
@ Czech Republic
|
#2044
|
Martink, is there a file that I could python scrape out turn by turn instruction events from?
I
The Following 4 Users Say Thank You to MartinK For This Useful Post: | ||
|
2019-08-13
, 08:26
|
Posts: 1,424 |
Thanked: 2,623 times |
Joined on Jan 2011
@ Touring
|
#2045
|
|
2019-09-03
, 17:38
|
Posts: 29 |
Thanked: 42 times |
Joined on Nov 2018
|
#2046
|
|
2020-02-06
, 10:22
|
Posts: 2,290 |
Thanked: 4,134 times |
Joined on Apr 2010
@ UK
|
#2047
|
The Following 8 Users Say Thank You to sixwheeledbeast For This Useful Post: | ||
|
2020-02-07
, 17:08
|
Posts: 562 |
Thanked: 1,732 times |
Joined on Jan 2010
@ NYC
|
#2048
|
The Following User Says Thank You to xman For This Useful Post: | ||
|
2020-02-08
, 03:01
|
Posts: 1,548 |
Thanked: 7,510 times |
Joined on Apr 2010
@ Czech Republic
|
#2049
|
HI MartinK,
I tried modrana offline mode on N900 as descripted in maemo-wiki. I unzipped tile-file on my linux-laptop, then copied via usb cable to correct folder on N900. But it works only in N900-ONLINE-Mode. Switch to offline, "tile download failed" displayed on map... Turned to online mode it works... Network-Settings in modrana are on "unlimited use of network".
How to enable correct offline-mode?
Thanks!
|
2020-02-08
, 03:27
|
Posts: 1,548 |
Thanked: 7,510 times |
Joined on Apr 2010
@ Czech Republic
|
#2050
|
For anyone interested support for N900 has ended.
https://github.com/M4rtinK/modrana/pull/287
I believe there will still be a fair few N900 users that should be made aware of this here.
It's a shame but I can understand this especially with python and GTK2 support disappearing.
One request i would have would be to get the last version into extra-devel if possible.
I think we spoke in the past about updates and that less devs have a build environment available but at least N900's would have a more upto date version in the repo if this was done.
The Following 7 Users Say Thank You to MartinK For This Useful Post: | ||
Tags |
bada rox, martin_rocks, modrana, navigation, openstreetmap, the best, wehasgps |
|
This is less serious on Sailfish OS due to the glorious offline routing API provided by OSM Scout Server, but much more of a problem for the N900, where OSM Scout Server is not available & the old Monav based offline routing is often far from ideal.
Trying now on desktop with the Google online routing provider - and I'm getting failures. So looks like they might have already shut down the old API modRana uses & an alternative will be needed. Yay.
Basically the idea is to parse the command line arguments the launcher gets, and then decide what to do next. There are basically two options:
1) The command line arguments are not related to the modRana GUI (stuff like --help, adding a POI via CLI, etc.). In such a case the launcher will run modrana.py and pass it the arguments, expecting it to handle the CLI use case by itself.
2) The command influences the modRana GUI. This could be telling modRana which UI variant to launch or request to perform an action on startup (zoom on certain coordinates, serach for a POI, perform routing & start navigation, etc.). In this case the launcher would pass the arguments to the GUI and start it.
At the moment I'm thinking about doing just very simple argument parsing in C++, just to tell me if some arguments have been passed or not - actually, I guess it might be enough to just check the number of arguments.
If some arguments are found, the launcher would run modrana.py in some special mode which would tell it what to do next - terminate (if modRana already performed the CLI task) or to start the GUI (if the task requested is GUI related). If this works out, I should be able to avoid duplicating the option parsing logic in C++ in the launcher, even partially.
Nothing of the above should really be relevant for the user, they would just type (once implemented):
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)