![]() |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
But it can be realistically used in practice. Don't know about navit's routing libs for interfacing too, and there is the problem with OSM data you mention. Anyhow, navit's solution, is off-the-n900 conversion and then just download to N900, that's not bad. I mean, you don't need to keep updating your maps every second. The commercial vendors only do it let's say twice a year, and no big fuss, plus you can do it when you desire, on the PC... |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
One possible approach: take current coordinates; take coordinates of destination; generate vector of needed direction; find the closest node (not more than 5 minutes away from current coordinates); find the ways including this node; for each of the ways, take this one "current" node and take the next node after it and the previous before it; take the difference of GPS coordinates of current and next/previous node - you get two directions of the road; of these several directions, take the one which has the direction closest to needed. Thus, you can ask human to walk back if it seems that his destination is behind him. And no rerouting is needed because "route" is calculated incrementally. It's no better than walking by Sun and compass, but it requires no complex algorithms, and can be done at night without moon and stars. For a pedestrian it will not be that bad; at least, it will not be a bee-line requiring to jump over fences. Not all foot-walks are shown on a map, so no complex algorithm could give an ideal result; and this simplistic algorithm would often lead to "blind alleys" which turn out to be non-blind at all. Of course, for driving with all traffic rules and jams, Google server is better suited. And for catching a bus. Quote:
http://78.46.81.38/ 1. Find a Wikipedia article about this place (suburb/street). 2. Take GPS coordinates from article and put them into "To which country belongs this location?". 3. In small XML file find the tag which includes the name of the place, and take its ID. 4. Put the ID into "Download an entire city". You have the *.osm XML file with nodes, ways, relations, etc. Quote:
Best luck to you! If you make ModRana use either of them, I will cheerfully attempt to test it. |
Re: [Announce] modRana: a flexible GPS navigation system
Hey peeps,
Iv'e installed this app today, read the wiki and went over most of the Thread. Modrana shows me where I am immediately, but I can't find my way to starting a navigation session. For example, navigate from my house to my parents house. Google maps appear, I can see where I am, move around, zoom in out, but, where do I put in my destination address and hit "Navigate"? I tried using the "Route" option in the menu, just doesn't work. I set the start position to me my current position, inserted some letters in the destination, press route and nothing happens, no error too. Any ideas? |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
I think that with this structure, all operations needed for routing, like computing distance between nodes or finding which way is a node part of would be very, very slow. My guess is, that in the binary formats:
Quote:
Quote:
There also seems to be a binary OSM API for mobile devices, that accepts bounding box input and also supports diffs. Quote:
Anyone interested in packaging Gosmore and/or Routino for Maemo 5 ? :) Quote:
To start a navigation session, you first need to successfully get a route (point to point, address to address, etc.), then go to "route" -> "Current route" -> "tools" and press the "Start navigation" button. |
Re: [Announce] modRana: a flexible GPS navigation system
1 Attachment(s)
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
There is an application compiled for Maemo 4 and Windows CE which uses OSM Binary Protocol: http://sourceforge.net/projects/roadmap/files/ You can have a look at its code. EDIT: Adding a picture |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
Quote:
Concerning the binary format, there seems to be some sort of an alternative developing: just stuffing the OSM data to a sqlite database Although this article is quite old, there seems to be some progress, as there are two programs that seem to be able to do this: osm2sqlite - some sort of a bash script osm4routing - a python module with parts implemented in C using the boost library Storing the data in a database could be quite handy for updating, searching, etc. But this is not all. :) There was once routing support in modRana, but then it was still called Rana and I was not yet working on it. It seems, that the development of Rana stopped in quite an early phase, with many features not in a complete state. When I choose Rana as a basis for a development of a navigation system, I went through the features and fixed or disabled what appeared not to be working, including off-line routing and map rendering. So today I took a second look on that old code and, well, it seems to actually work. :) Work, as in:
I have not made any tests on the N900 yet, it is not integrated in the current routing code and handling of all the OSM data handling and conversion will have to be made more user-friendly. Therefore, this does not mean that off-line routing will be added tomorrow, but it is significantly closer than before. :) Concerning map rendering, there seems to be a Python OSM renderer called Ceyx. It could be theoretically used in the future by modRana for generating map tiles on demand from OSM data. And now back to coding, this post is already a bit too long. :) |
Re: [Announce] modRana: a flexible GPS navigation system
I tried to use modRana this weekend, but wasn't succesful at all. Did use Maporama then. But I see modRana's GUI with big buttons has potential.
First, when buttons are touched on the touch screen, nothing indicates you have succesfully touched a button. I guess it is a GUI library issue, but a major lag of usability. Just creating a route, putting start and end addresses there and then pressing the "route"-button....nothing seems to happen or indicate you have successfully touched the button, until after few seconds it returns to an empty map. Support for portrait screen would be nice. I use Maporama in portrait mode and the map rotating to the direction I am going, so I will see more road ahead in the map. In landscape mode, I would see less. Could it be possible to get modRana to use same map tiles on local directory as Maporama is using? So one could download map tiles with either program and both programs could use them? When going to Menu/route/Current_route, it does show the start and the end addresses. Show on map returns to an empty map again. Tools/start_navigation/first_step returns to an empty map. Logging the track works though. Isn't there a way to mark your current position on the map somehow with some dot? This (and also Maporama) misses a feature where the map can be zoomed without showing a more accurate map. When driving (a car) one cannot see the small font which is on the map. Somekind of pixel doubling or tripling or similar would be useful. [Edit: I looked the first post again. I just cannot get any indication of the GPS position on the map, although it centers the map correctly where I am. Routes just do not show on the map. I wonder what I've done so those features do not work. Where in the filesystem does modRana keep its persistent configuration data? Gconf?] [Edit2: I meant ofcourse Mappero, not Maporama] |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
BTW, the whole GUI is custom made and actually drawn by a single cairo widget :) Quote:
Quote:
Quote:
ModRana shares the tile folder with Mappero since a few versions ago. Quote:
Quote:
You can try to run modrana from terminal, there can be some error output. Persistent configuration data is stored in /opt/modrana/data/options.bin It is basically a python dictionary stored using the marshal module. BTW, some drawing errors in the past were caused by corrupted persistent configs :) Try to delete/move that file, it might fix your issue :) |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
(I meant ofcourse Mappero, not Maporama in my previous post.) |
Re: [Announce] modRana: a flexible GPS navigation system
I second the request for "pixel doubling" zoom to allow easier reading of street names whilst on the move. My eys aint great, and this would make life a lot easier while walking through an unfamiliar city.
|
All times are GMT. The time now is 13:04. |
vBulletin® Version 3.8.8