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)

MartinK 2013-12-04 00:14

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

Originally Posted by marmistrz (Post 1392189)
libproj built (now some minor tweaking). Waiting 'til the builder updates my ssh pubkey and I'll push it to devel

/edit: I can't do it even through the autobuilder. stuck (tried with user agent tool)

Fingers crossed! :)

marmistrz 2013-12-04 15:52

Re: [Announce] modRana: a flexible GPS navigation system
 
Pushed to the builder... Waiting for something to break... :D knock on wood! ;)

marmistrz 2013-12-05 19:42

Re: [Announce] modRana: a flexible GPS navigation system
 
OK, proj build. mapnik would build, but the build is so extremely slow, that it's inacceptable.

scons from the sdk repo seems to be using the scratchbox python, but scratchbox python seems to be missing the subprocess modules. Is my scratchbox broken, am I missing something, or do you have an idea what to do with it?

As the build with sbox disabled is too slow to be acceptable, I can't build mapnik 'til this is fixed.

/edit: /scratchbox/tools/lib/python2.3 seems to be missing subprocess on my installation

int_ua 2013-12-06 03:24

Re: [Announce] modRana: a flexible GPS navigation system
 
I think the old problem with phone lockups might be related to SGX driver issue:
http://talk.maemo.org/showthread.php?t=66660
https://bugs.maemo.org/show_bug.cgi?id=9150

marmistrz 2013-12-15 19:09

Re: [Announce] modRana: a flexible GPS navigation system
 
OK, mapnik builds, but libboost1.42 here is borked (python stuff missing)
I'd build 1.49, but I don't have enough time to get hold of all the deps. MartinK, Can you port libtorque2-dev ?

Thanks.

anab 2013-12-15 19:31

Re: [Announce] modRana: a flexible GPS navigation system
 
1 Attachment(s)
Quote:

Originally Posted by anab (Post 1379646)
Hi Martin,

After updating modrana and installing the updated map from here: [URL="http://data.modrana.org/monav/europe/europe_car.tar.gz[/URL] offline routing doesn’t works.

It only shows loading but not the internal map. I did the adjustments found here: [URL="http://wiki.maemo.org/ModRana_offline_routing_guide[/URL]

Also the map (Germany big) comes with the same behavior after updating modrana.

I installed this one half a year ago from here: [URL="http://monav.openstreetmap.de/mapsets/Germany_big.zip[/URL] and bfore updating modrana it works pretty fine.

Please find Xterm output attached.
Any help is appreciated.

Marting, after installing the new maps, still the same problem here, pls find Xterm output attached

MartinK 2013-12-16 23:02

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

Originally Posted by marmistrz (Post 1396838)
OK, mapnik builds, but libboost1.42 here is borked (python stuff missing)
I'd build 1.49, but I don't have enough time to get hold of all the deps. MartinK, Can you port libtorque2-dev ?

Thanks.

Looking at the otuput of:
Code:

apt-cache rdepends libtorque2
as run on a Ubuntu 12.04 box (should be hopefully close enough):
Code:

libtorque2
Reverse Depends:
  torque-server
  torque-scheduler
  torque-mom
  torque-client-x11
  torque-client
  pbs-drmaa1
  libtorque2-dev
  libopenmpi1.5-2
  libopenmpi1.3

libtorque2 seems to be the dependency of openmpi, which I guess libboost is declaring as a dependency ? Well, I don't think we need mpi, so we should build boost without the openmpi dependency, getting rid of many other deps, including libtorgue2.

Also according to this Github issue reply from Mapnik developers, mpi-enabled boost is not needed to build Mapnik anyway.

Quote:

Originally Posted by anab (Post 1396842)
Marting, after installing the new maps, still the same problem here, pls find Xterm output attached

Actually, modRana does not currently support using offline map packs. But modRana can do offline routing (finding a way between two points without internet connectivity) and that's what the routing data packs you are linking to are for.
So for offline map display, you currently have to use the "Download" submenu and preload map tiles for the area of you interested in. Also modRana stores all downloaded tiles, so if you visited an area with internet connectivity, when you visiti it again, even without connectivity, the tiles should be locally available.


BTW, regarding the modRana Monav offline routing repository, living on:
http://data.modrana.org/monav

It is back online with up-to-date correct data packs & global coverage! :)

I'll write a bit more about it in a later post. :)

marmistrz 2013-12-22 14:03

Re: [Announce] modRana: a flexible GPS navigation system
 
Boost built, proceeding with mapnik.

MartinK: mapnik warns that using sqlite < 3.6.18 may make the rendering slow. sqlite3 v 3.7 is in the meecolay repo, but couldn't get it into cssu

freemangordon 2013-12-22 14:07

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

Originally Posted by marmistrz (Post 1399664)
Boost built, proceeding with mapnik.

MartinK: mapnik warns that using sqlite < 3.6.18 may make the rendering slow. sqlite3 v 3.7 is in the meecolay repo, but couldn't get it into cssu

I'll take on that if you show me any data proving that stock sqlite is slower than 3.7

marmistrz 2013-12-22 14:26

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

Originally Posted by freemangordon (Post 1399666)
I'll take on that if you show me any data proving that stock sqlite is slower than 3.7

I don't have any data. I'm just reporting what the developers say in the build warnings.

Users do say it's faster but it might be a placebo effect.

marmistrz 2013-12-28 19:21

Re: [Announce] modRana: a flexible GPS navigation system
 
Good news: Ladies and gentlemen, Mapnik is there! Latest version, 2.2. This doesn't require neither geos nor rasterlite ;)

Bad news: It requires newer gcc/g++. 4.2.1 is simply too old. Options:
1. use thumb toolchain (current approach), upload to non-free (and possibly require modrana to be built with 4.7.2) [if only that damn autobuilder allowed to build against cssu...]
2. use gcc 4.6 from extras and therefore possibly require to build modrana against gcc 4.6
3. Push it into my own repo
4. could be probably a temporary workaround, but still a workaround
Modrana could have a separate version then - with use of mapnik, and a plain extras-devel without mapnik

What are your opinions, how will we handle that

Mapnik is right there
http://marmistrz.net63.net/public/mapnik/

Estel 2013-12-28 19:56

Re: [Announce] modRana: a flexible GPS navigation system
 
If something uses thumb-toolchain (especially, if it *requires* it to work), shouldn't it just land in thumb repos?

ModRana could just use it as optional "module" (plug-in, or whatever), with functionality present if Mapnik from thumb is present.

/Estel

handaxe 2013-12-29 01:14

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

Originally Posted by marmistrz (Post 1401611)
Good news: Ladies and gentlemen, Mapnik is there! Latest version, 2.2. This doesn't require neither geos nor rasterlite ;)

You Sir, are a rottweiler ... never giving up.

MartinK 2014-01-18 14:18

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

Originally Posted by marmistrz (Post 1401611)
Good news: Ladies and gentlemen, Mapnik is there! Latest version, 2.2. This doesn't require neither geos nor rasterlite ;)

Wow, nice ! :D

Quote:

Originally Posted by marmistrz (Post 1401611)
Bad news: It requires newer gcc/g++. 4.2.1 is simply too old. Options:
1. use thumb toolchain (current approach), upload to non-free (and possibly require modrana to be built with 4.7.2) [if only that damn autobuilder allowed to build against cssu...]
2. use gcc 4.6 from extras and therefore possibly require to build modrana against gcc 4.6
3. Push it into my own repo
4. could be probably a temporary workaround, but still a workaround
Modrana could have a separate version then - with use of mapnik, and a plain extras-devel without mapnik

Well, the modRana package is already shipping the monav routing server binary, so it would be possible to also bundle Mapnik this way. Not that nice as proper package and dependencies, but as long as it works... :)

Quote:

Originally Posted by marmistrz (Post 1401611)
What are your opinions, how will we handle that

Mapnik is right there
http://marmistrz.net63.net/public/mapnik/

Thanks a lot ! :) I'll check it out, try some simple map rendering and will report back with my findings.

marmistrz 2014-01-18 16:05

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

Originally Posted by MartinK (Post 1407309)
Well, the modRana package is already shipping the monav routing server binary, so it would be possible to also bundle Mapnik this way. Not that nice as proper package and dependencies, but as long as it works... :)

I guess including mapnik to the modRana package might not be a good idea. Imagine all those voices - "why don't my mapnik maps work...!? plzplzplzplz help"

What do you think about the methods I proposed?

petur 2014-01-31 16:44

Re: [Announce] modRana: a flexible GPS navigation system
 
I've noticed for some (short) time now that search no longer works. Not for addresses or POI (both custom or preset).

Anybody else seeing this or is this broken on my device only?

Kossuth 2014-01-31 18:00

Re: [Announce] modRana: a flexible GPS navigation system
 
Search no longer seems to tolerate commas. I used to search like:

country, city, street

but now I have to search like

country city street ot just city street

petur 2014-02-01 07:10

Re: [Announce] modRana: a flexible GPS navigation system
 
So it still works for you?
Because here it doesn't, regardless of commas....

Kossuth 2014-02-01 07:35

Re: [Announce] modRana: a flexible GPS navigation system
 
The address search works for finnish locations, also finds for example Belgium and Lille. The POI search returns no hits, but I havent used it before, so I'm not sure how it is supposed to work.

nodevel 2014-02-01 08:44

Re: [Announce] modRana: a flexible GPS navigation system
 
Just a quick heads up, MartinK :) :
According to thp, starting with the 1.0.3.8 update, Sailfish now includes Python 3.3.3 and the PyOtherSide plugin.

petur 2014-02-04 20:25

Re: [Announce] modRana: a flexible GPS navigation system
 
FWIW, at FOSDEM I came across this talk about a routing engine that uses OSM, called GraphHopper: http://graphhopper.com/. Java though (IIRC)....

MartinK 2014-02-06 00:11

Re: [Announce] modRana: a flexible GPS navigation system
 
Thanks a lot for the info! :) I'm reading everything but don't really have time for a proper answer due to the upcoming DevConf conference in Brno (everybody is welcome! :) ).

I'll do a proper answer post once the conference is over. :)

PS.: It was really nice to finally see some of you face-to-face on FOSDEM last week! :)

taixzo 2014-02-06 04:36

Re: [Announce] modRana: a flexible GPS navigation system
 
I am really hoping routing/turn-by-turn navigation comes to the N9 soon. I keep getting frustrated with nokia maps on long trips where I can't use my N900 (broken USB port means I can't charge on-the-go).

petur 2014-02-06 09:31

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

Originally Posted by MartinK (Post 1411240)
PS.: It was really nice to finally see some of you face-to-face on FOSDEM last week! :)

Didn't know you were coming... we should meet next year then :)
I'll buy you a coffee or beer

petur 2014-02-06 12:44

Re: [Announce] modRana: a flexible GPS navigation system
 
I've gotten around to investigate my search problem a bit more, and the issue is not with my n900 but with the call to Google:

Code:

INFO:Running Thread: modRanaLocalSearchGoogle (1073862784)
local search query: supermarket loc:51.149360,4.162541
Traceback (most recent call last):
  File "/opt/modrana/core/threads.py", line 286, in run
    self._conditionalCallback(self.target())
  File "/opt/modrana/core/providers.py", line 49, in <lambda>
    **kwargs
  File "/opt/modrana/core/requirements.py", line 223, in wrapper
    return function(*args, **kwargs)
  File "/opt/modrana/core/requirements.py", line 190, in wrapper
    return function(*args, **kwargs)
  File "/opt/modrana/core/requirements.py", line 202, in wrapper
    return function(*args, **kwargs)
  File "/opt/modrana/core/requirements.py", line 141, in wrapper
    return function(*args, **kwargs)
  File "/opt/modrana/core/requirements.py", line 164, in wrapper
    return function(*args, **kwargs)
  File "/opt/modrana/modules/mod_onlineServices/online_providers.py", line 183, in search
    result = gMap.local_search(query, maxResults)
  File "/opt/modrana/modules/googlemaps/googlemaps.py", line 411, in local_search
    raise GoogleMapsError(status_code, url=url, response=response)
modules.googlemaps.googlemaps.GoogleMapsError: 403
INFO:Thread Done: modRanaLocalSearchGoogle (1073862784)


MartinK 2014-02-26 19:48

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

Originally Posted by marmistrz (Post 1407327)
I guess including mapnik to the modRana package might not be a good idea. Imagine all those voices - "why don't my mapnik maps work...!? plzplzplzplz help"

Well, that would be a strictly internal Mapnik copy for modRana usage only. But sure, a proper package, preferrably from Extras-Devel/Extras would definitely be a preferred option.

Quote:

Originally Posted by marmistrz (Post 1407327)
What do you think about the methods I proposed?

Quote:

Originally Posted by marmistrz (Post 1401611)
1. use thumb toolchain (current approach), upload to non-free (and possibly require modrana to be built with 4.7.2) [if only that damn autobuilder allowed to build against cssu...]
2. use gcc 4.6 from extras and therefore possibly require to build modrana against gcc 4.6
3. Push it into my own repo
4. could be probably a temporary workaround, but still a workaround
Modrana could have a separate version then - with use of mapnik, and a plain extras-devel without mapnik

All of these would work for modRana without any need to change how the modRana package is currently distributed (package in Extras-Devel/Extras). ModRana is all pure-Python code and there are not even any C extension, so no code at all that would need to be compiled. As long as you have a working Python and Py/GTK, modRana will work.

The same thing with Mapnik - modRana can check if it is present before using it (checking if the binary is present or maybe just trying to import it and catching the error). If Mapnik is available, modRana will use (regardless of how it is compiled and where it comes from) it and if it is not, modRana will not use it and display an error message.

Still, regarding my personal preference, I would say 2 and 1 are the best, as the Mapnik package could be just declared a dependency and pulled in automatically without the need for user intervention (adding a separate repo). If 2 & 1 don't work, I would be willing to add the Mapnik binary to the modRana package (so basically nr. 4), provided it is not too big (modRana already does this with the Monav routing server binary). I could even add different binaries (thumb/non-thumb, etc.) and use them depending on current environment, but that would be quite a hack.

BTW, unfortunately haven't really got to proper Mapnik testing, but hopefully will get to that soon. :)

Quote:

Originally Posted by nodevel (Post 1410227)
Just a quick heads up, MartinK :) :
According to thp, starting with the 1.0.3.8 update, Sailfish now includes Python 3.3.3 and the PyOtherSide plugin.

Thanks for info, already using the official package. :)

BTW, according to THP on IRC, while the needed packages are already present in the official repositories, PyOtherSide applications can't yet be submitted to the Jolla store, but it should be possible soon.


Quote:

Originally Posted by petur (Post 1411299)
I've gotten around to investigate my search problem a bit more, and the issue is not with my n900 but with the call to Google:

Code:

INFO:Running Thread: modRanaLocalSearchGoogle (1073862784)
local search query: supermarket loc:51.149360,4.162541
Traceback (most recent call last):
  File "/opt/modrana/core/threads.py", line 286, in run
    self._conditionalCallback(self.target())
  File "/opt/modrana/core/providers.py", line 49, in <lambda>
    **kwargs
  File "/opt/modrana/core/requirements.py", line 223, in wrapper
    return function(*args, **kwargs)
  File "/opt/modrana/core/requirements.py", line 190, in wrapper
    return function(*args, **kwargs)
  File "/opt/modrana/core/requirements.py", line 202, in wrapper
    return function(*args, **kwargs)
  File "/opt/modrana/core/requirements.py", line 141, in wrapper
    return function(*args, **kwargs)
  File "/opt/modrana/core/requirements.py", line 164, in wrapper
    return function(*args, **kwargs)
  File "/opt/modrana/modules/mod_onlineServices/online_providers.py", line 183, in search
    result = gMap.local_search(query, maxResults)
  File "/opt/modrana/modules/googlemaps/googlemaps.py", line 411, in local_search
    raise GoogleMapsError(status_code, url=url, response=response)
modules.googlemaps.googlemaps.GoogleMapsError: 403
INFO:Thread Done: modRanaLocalSearchGoogle (1073862784)


Yeah, turns out Google nuked their perfectly fine local search API, that has been available for ages and replaced it by a new-and-shiny Places API, that might not support what the old one did or might bee too rate limited for proper use.

Will have to investigate and if the new API turns out to be usable, rework the local search code to work with it. At least before Google also nukes also nukes the new one. :)

Looks like also Wikipedia search was broken, but I've fixed that in Git.

Quote:

Originally Posted by taixzo (Post 1411254)
I am really hoping routing/turn-by-turn navigation comes to the N9 soon. I keep getting frustrated with nokia maps on long trips where I can't use my N900 (broken USB port means I can't charge on-the-go).

I'm currently working mostly on the Qt 5 GUI, while maintaining & improving the GTK GUI used on the N900. Unfortunately I don't have much time to work on the Qt 4 based GUI, that is currently being used on the N9...

But I plan to support offline routing with the Qt 5 GUI, so if it would be possible to use Qt 5 (at least 5.1, preferably 5.2) and Python 3 (for the PyOtherSide Python-Qt bindings), the Qt 5 GUI would run on the N9 and will get offline routing basically at the same time it will be supported on other platforms that use the Qt 5 modRana GUI.

petur 2014-02-26 19:54

Re: [Announce] modRana: a flexible GPS navigation system
 
Well, without the search modrana is pretty much useless for me, hope you can fix it...

MartinK 2014-02-26 19:56

Re: [Announce] modRana: a flexible GPS navigation system
 
Testing packages for Sailfish OS available! :)
If you have a device running Sailfish OS, you can install a testing modRana package from this URL:

http://www.modrana.org/packages/sailfish/harbour-modrana-0.45.3-1.1.1.armv7hl.rpm


Alternatively you can also add the cutting-edge testing repository by following following the directions from the modRana wiki.

I also plan to soon publish modRana OpenRepos and eventually also to the Jolla store (once it is actually technically possible to meat the Jolla store guidelines).

MartinK 2014-02-26 19:59

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

Originally Posted by petur (Post 1414496)
Well, without the search modrana is pretty much useless for me, hope you can fix it...

Yeah, working local search is pretty important. :)

But online routing and address search should be still working. And once I update the Maemo package, Wikipedia search should also work again.

petur 2014-02-26 20:40

Re: [Announce] modRana: a flexible GPS navigation system
 
Indeed, address search still works, must have been something else when it failed on me last time I checked.

CLRS530 2014-02-26 21:05

Re: [Announce] modRana: a flexible GPS navigation system
 
Thank you so much for a first sailfish version. :)
Waited for it since I saw a post of you in jolla together.

It worked good in a first test. But only scrolled on the map. My current location updated successful too. I'll report back if I tested tracking a bit.

Features like routing are yet to come, y?

It would be a good idea to change the thread title or post another thread in sailfish forum part if you are ready to give it to more then a handful people with a jolla getting lost here. :p

MartinK 2014-02-26 22:13

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

Originally Posted by CLRS530 (Post 1414511)
Thank you so much for a first sailfish version. :)
Waited for it since I saw a post of you in jolla together.

It worked good in a first test. But only scrolled on the map. My current location updated successful too. I'll report back if I tested tracking a bit.

Features like routing are yet to come, y?

Routing is planed, but not yet there in the GUI.

What should work:
  • position display and centering
  • the tiled map
  • map tile caching to local storage (tiles are downloaded only once)
  • switching map layers (some layers might not work)
  • address and Wikipedia search
  • location stats display
  • both landscapes and portraits
  • about page :)

Quote:

Originally Posted by CLRS530 (Post 1414511)
It would be a good idea to change the thread title or post another thread in sailfish forum part if you are ready to give it to more then a handful people with a jolla getting lost here. :p

Sure, I plan to do that once I publish it on OpenRepos. :) But I think I'll probably stick with this thread for the time being, it has been going for 4 years already and I don't feel like replicating stuff all the time to another one. :)

But I will probably create a question on Together. :)

taixzo 2014-02-26 23:55

Re: [Announce] modRana: a flexible GPS navigation system
 
I wish the GPS was working in the N9 Sailfish port - then I could at least use the Jolla version if routing came to that first. Nokia Maps is just so frustrating, it keeps declaring "you can't get there from here".

jcharpak 2014-02-27 05:52

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

Originally Posted by MartinK (Post 1414494)
I'm currently working mostly on the Qt 5 GUI, while maintaining & improving the GTK GUI used on the N900. Unfortunately I don't have much time to work on the Qt 4 based GUI, that is currently being used on the N9....

:( while there is a project out there somewhere to bring qt5 to N9, I don't believe it ever reached the packaged stage and seemed to generally be received with apathy.

Some possibly useful links:

http://talk.maemo.org/showthread.php?t=85028
http://qt-project.org/wiki/Qt-5-on-Nokia-N9
http://trac.webkit.org/wiki/SettingU...vironmentForN9

MartinK 2014-03-01 10:06

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

Originally Posted by taixzo (Post 1414522)
I wish the GPS was working in the N9 Sailfish port - then I could at least use the Jolla version if routing came to that first. Nokia Maps is just so frustrating, it keeps declaring "you can't get there from here".

I will at least make sure the current Qt 4 based GUI still works on the N9 with new modRana version, but other than that it doesn't look very likely I will be able to to work on it much. Also regarding routing, vector drawing is basically completely different with Qt 4 (QPainter only) and Qt 5 (the hardware accelerated & tiled Canvas can be used), so at least for drawing the route there would basically need to be a separate QPainter drawing path only for Qt 4.

On the other hand, if anyone is interested in improving the Qt4 QML GUI, this is definitely welcome! I'm open to any sensible patches/pull requests and will provide assistance in getting started with the code. :)

Quote:

Originally Posted by jcharpak (Post 1414541)
:( while there is a project out there somewhere to bring qt5 to N9, I don't believe it ever reached the packaged stage and seemed to generally be received with apathy.

Some possibly useful links:

http://talk.maemo.org/showthread.php?t=85028
http://qt-project.org/wiki/Qt-5-on-Nokia-N9
http://trac.webkit.org/wiki/SettingU...vironmentForN9

Well, that is kinda unfortunate. On the other hand, the N900 Qt 5 port seems to be getting up to steam and looks like there is already a working Qt 5.2 that can be installed on the N900 since yesterday.

So maybe due to the fixes & improvements added since Qt 5.0 it might not be that difficult to make it run also on the N9.

MartinK 2014-03-01 12:42

Re: [Announce] modRana: a flexible GPS navigation system
 
modRana for Sailfish is now available from OpenRepos !

Get modRana from OpenRepos

http://modrana.org/images/qrcodes/mo...pos_qrcode.png

Currently supported features @ Sailfish
  • showing current position and direction of travel on the map
  • map tile caching (each tile is downloaded only once)
  • a great lot of various map layers
  • supports both landscapes and both portraits
  • address search, powered Nominatim and based on OpenStreeMap data
    • this is not strictly address search, queries such as "london tesco" will find all Tescos in London
    • you can also search for resturants and other ammenities with unique names, such as "Delirium cafe", which will find the venue of the anual FOSDEM beer event
  • Wikipedia search
  • detailed GPS info display
  • about page & donation links ;-)

How modRana looks like @ Sailfish:

http://modrana.org/images/sailfish/m...map_mapnik.png
http://modrana.org/images/sailfish/m..._landscape.png
http://modrana.org/images/sailfish/m...fish_cover.png
http://modrana.org/images/sailfish/m..._landscape.png
http://modrana.org/images/sailfish/m...map_layers.png
http://modrana.org/images/sailfish/m...ation_info.png

For more screenshot, you can visit the screenshot gallery.

Feedback welcome!
Even though I've recently published a testing package, it can be expected that many people will install it only now when it is more easily available. So, let me know how you like modRana on Sailfish! :)

asys3 2014-03-01 13:59

Re: [Announce] modRana: a flexible GPS navigation system
 
Great to see modrana on Saifish!
One of the killer features of ancient times was the quick view of interesting pois nearby.
So where's the next restaurant ,supermarket ...from my actual position .
Is this planned as well?
I would really like thïs.

asys3

MartinK 2014-03-02 19:45

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

Originally Posted by asys3 (Post 1414965)
Great to see modrana on Saifish!

Thanks! :)

Quote:

Originally Posted by asys3 (Post 1414965)
One of the killer features of ancient times was the quick view of interesting pois nearby.
So where's the next restaurant ,supermarket ...from my actual position .
Is this planned as well?
I would really like thïs.

asys3

Yeah, local search is definitely planed, the only issues preventing it from being already included like address & Wikipedia search is that a while ago Google nuked the API modRana for local search.

So I'll need to switch modRana to another API - either the the Google Places API or some other, hopefully more durable one (recommendations for a suitable local search API are welcome! :)).

new modRana package for the N900 has been released!

Following the Sailfish OS package release, I've also updated the modRana Maemo 5 package.
I't built fine in the Autobuilder and should soon be available from Extras-Devel.

Changes:
  • Wikipedia search should work again
  • more "night" icons for the Night theme
  • various fixes under the hood

taixzo 2014-03-02 21:42

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

Originally Posted by MartinK (Post 1414927)
I will at least make sure the current Qt 4 based GUI still works on the N9 with new modRana version, but other than that it doesn't look very likely I will be able to to work on it much. Also regarding routing, vector drawing is basically completely different with Qt 4 (QPainter only) and Qt 5 (the hardware accelerated & tiled Canvas can be used), so at least for drawing the route there would basically need to be a separate QPainter drawing path only for Qt 4.

Would it be possible to at least port the code that creates the route and gives turn-by-turn directions work on QT4? That way, even if you didn't draw anything extra on screen, you could still use modRana to replace the Drive app.

MartinK 2014-03-02 22:40

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

Originally Posted by taixzo (Post 1415160)
Would it be possible to at least port the code that creates the route and gives turn-by-turn directions work on QT4? That way, even if you didn't draw anything extra on screen, you could still use modRana to replace the Drive app.

Online & offline routing (though Monav) is already handled by the modRana Python core, in mod_route to be precise. The turn-by-turn functionality lives in mod_turnByTurn and handles TBT navigation startup, message triggers, forwarding of messages to Espeak, checking if route is followed, rerouting, navigation shutdown, etc.

So basically what's needed is just a Qt 4 GUI for setting up navigation & showing current navigation status (next turn, distances, etc.). For offline routing, the Monav routing server might need to be recompiled (if the armv7 binary for the N900 does not work) for Harmattan and for voice navigation Espeak would be needed.

If you have some Python/QML experience, it should not be that hard to get at least the basics working & I'm willing to help you get started. :)

But I unfortunately can give a timetable to when I might be able to do this myself due to all the other stuff that needs to be done on other parts of modRana...


All times are GMT. The time now is 02:53.

vBulletin® Version 3.8.8