Notices


Reply
Thread Tools
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#1121
Originally Posted by magic_doc View Post
Hi MartinK,

thanks for your continous work on this project!

First of all, modrana-qml is no longer workling for me, see attached text-file for the output when started in xterm.

Much more important for me is the display of tracks generated by the webiste http://www.gpsies.com.
I use these for planing bicycle-tours and follow the tracks to not get lost somewhere, recording it at the same time to improve OSMīs data when necessary.

When I create a track there and display it at modrana, it looks like this:
http://talk.maemo.org/attachment.php...1&d=1347009537
You can see a wrong straight line between some trackpoints. In this track there are only two, but I also had tracks with three or five of them making it hard to figure out what is the right way to go

In comparison to that, Mappero shows the track correctly:
http://talk.maemo.org/attachment.php...1&d=1347009730

I attached the zipped gpx-File, hope you can reproduce this issue.

CU Michael
Thanks a lot! I'm now putting a few finishing touches on a modRana feature related to the coding competition but I'll check out your issue right away once I'm done.
__________________
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; 2012-09-09 at 12:39. Reason: fix typo
 

The Following 2 Users Say Thank You to MartinK For This Useful Post:
Posts: 53 | Thanked: 105 times | Joined on Jan 2012 @ Iran
#1122
Hi Martink,
Now I am the one of the user that uses your awesome application
Thank you for this great application
I have the same problem as magic_doc "First of all, modrana-qml is no longer workling for me"! Please help me to solve the issue!
And is there any way to add Persian language support?!
In old Symbian devices its one of my favorite feature to use Persian voice for routing

Best wishes

EDIT: The Modrana and the modrana-qml didnt open for me after update to V0.34.5!

Last edited by melisa queen; 2012-09-09 at 19:21.
 

The Following User Says Thank You to melisa queen For This Useful Post:
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#1123
Originally Posted by melisa queen View Post
Hi Martink,
Now I am the one of the user that uses your awesome application
Thank you for this great application
You are welcome!

Originally Posted by melisa queen View Post
I have the same problem as magic_doc "First of all, modrana-qml is no longer workling for me"! Please help me to solve the issue!
I think I already know the root cause (GTK and Qt not mixing very well) and I'm working on a fix.

Originally Posted by melisa queen View Post
And is there any way to add Persian language support?!
In old Symbian devices its one of my favorite feature to use Persian voice for routing
Looks doable - both Google Directions and the Espeak TTS engine should support Farsi.

Originally Posted by melisa queen View Post
EDIT: The Modrana and the modrana-qml didnt open for me after update to V0.34.5!
Try to update to 0.35.6. If the problem persists, try to run modRana from the terminal:
Code:
modrana
And post the output here.
__________________
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 2 Users Say Thank You to MartinK For This Useful Post:
Posts: 959 | Thanked: 3,427 times | Joined on Apr 2012
#1124
Originally Posted by MartinK View Post
...try to run modRana from the terminal:
Code:
modrana
And post the output here.
Just FYI - I haven't been able to run modRana this way, it says it isn't found. I have to do python /opt/modrana/modrana/py instead.
 

The Following User Says Thank You to taixzo For This Useful Post:
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#1125
modRana V0.35.6 has been relased

The main feature if this release is initial support for OFFLINE ROUTING!

How does it work ?
  • searches for routes without the need for Internet connection
  • routes much faster than online routing
  • mode based results (Car, Walk, Cycle; Bus & Train get results for Car)
  • uses monav-server as backend

Enable offline routing in 6 easy steps
  1. download routing data
    Compatible routing data packs are available from monav.openstreetmap.de. Just download a relevant pack for your area.
    It can be also done directly on the N900 like in this example:
    Code:
    cd MyDocs
    wget http://monav.openstreetmap.de/mapsets/Czech_Republic.zip
  2. unpack it to the Monav data folder
    This is the main Monav routing data folder:
    Code:
    /home/user/MyDocs/.maps/monav_data
    The .maps folder is normally visible by default when connecting the N900 in USB mass-storage mode to Windows PCs, on Linux PCs you have to enable Show hidden files/folders to see it.
    If there is no monav_data folder in .maps, create it:
    Code:
    cd MyDocs/.maps
    mkdir monav_data
    and unzip you data packs into it.

    Example (continuing where we left):
    Code:
    unzip Czech_Republic.zip -d .maps/monav_data/
    You should get paths similar to these:
    Code:
    /home/user/MyDocs/.maps/monav_data/Czech_Republic
    /home/user/MyDocs/.maps/monav_data/Czech_Republic/routing_bike
    /home/user/MyDocs/.maps/monav_data/Czech_Republic/routing_car
    /home/user/MyDocs/.maps/monav_data/Czech_Republic/routing_pedestrian
    Optional
    As their content is not currently used, you can remove the rendering_osm and rendering_vector folders.
  3. start modRana
  4. select preferred map data pack
    Go to menu->options->Navigation->Routing data and select a Monav data pack to use.
  5. select Monav as routing backend
    In Go to menu->options->Navigation->Routing and select Monav as Routing provider.
  6. route

Known issues
  • directions are very basic
    Monav actually doesn't return a turn type, so I'll have to add an algorithm that detects different turn types and assigns corresponding description (Marble also does it like this).
  • some turns are missed
    Monav actually doesn't return turns at all - just points for the route & name + type for the route edges. So an algorithm that analyses all edge junctions on the route and decides what is turn and what is not (based on sharp turns, edges changing type or name, etc.). Currently every route type change is just used to trigger turn.
  • no address2address offline routing
    The Monav GUI can be used for offline address search - I'll have to investigate if the same functionality can be used over the monav-server API.

Planed features
  • modRana project hosted repository with up-to-date data packs
  • built-in map pack downloader & updater
__________________
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 17 Users Say Thank You to MartinK For This Useful Post:
Posts: 959 | Thanked: 3,427 times | Joined on Apr 2012
#1126
Wow!! Awesome!!!
 

The Following 2 Users Say Thank You to taixzo For This Useful Post:
Whispering Weasel's Avatar
Posts: 54 | Thanked: 89 times | Joined on May 2011 @ Vlaardingen, Netherlands
#1127
I don!t have monav installed and V0.35.6 didn't start for me at first (both normal and qml version), creating the monav dir ( mkdir /home/user/MyDocs/.maps/monav_data ) fixed that for the normal version.
modrana-qml now gives a segfault:
Code:
== modRana Starting == 
  V0.35.6 git:c6483c5

modRana: loading options
N900: DBUS initialized
N900 Qt screen saver controller created
N900 device specific module initialized
 * device: A N900 modRana device-specific module (1060.00 ms)
modules/gui_modules/gui_qml/gui_qml.py:93: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
  self.app = QApplication(sys.argv)
 * gui: A Qt + QML GUI module (3510.00 ms)
importing modules:
 * mapView: Controls the view being displayed on the map (10.00 ms)
 * notification: This module provides notification support. (20.00 ms)
 * units: a unit handling module  (0.00 ms)
 * options: Handle options (10.00 ms)
 * markers: A module handling markers on the map. (20.00 ms)
 * interfaceFeedback: A sample pyroute module (10.00 ms)
 * stats: Handles messages (0.00 ms)
 * showGPX: draws a GPX track on the map (0.00 ms)
 * turnByTurn: A turn by turn navigation module. (0.00 ms)
 * info: A modRana information handling module (0.00 ms)
 * routeProfile: Creates a route profile (an elevation chart) (10.00 ms)
 @ mapTiles: map folder path: /home/user/MyDocs/.maps/
 * mapTiles: Display map images (80.00 ms)
 * textEntry: A module for handling text entry. (10.00 ms)
 * askMenu: A sample pyroute module (0.00 ms)
 * onlineServices: A module for talking to various online services (150.00 ms)
 * input: Handle input from keyboard, buttons, etc. (0.00 ms)
 * showPOI: Show POI on the map and in the menu. (10.00 ms)
 * sketch: Sketching functionality (10.00 ms)
 * keys: A keyboard input handling module (0.00 ms)
 * icons: Draw icons (30.00 ms)
 * mapData: Handle downloading of map data (60.00 ms)
 * updateTiles: Update stored map tiles. (0.00 ms)
 * route: Routes (640.00 ms)
 * positionMarker: A sample pyroute module (10.00 ms)
 * projection: Projection code (lat/long to screen conversions) (10.00 ms)
 * messages: Handles messages (0.00 ms)
 @ storePOI: POI database path:
 @ /home/user/MyDocs/.maps/modrana_poi.db
 @ storePOI: connection to POI db established
 * storePOI: Store POI data. (60.00 ms)
 * log: A modRana logging module (10.00 ms)
 * animatedMapView: A sample pyroute module (0.00 ms)
 * search: Search for POI (20.00 ms)
 * tracklogManager: Module for managing tracklogs (20.00 ms)
 * config: Handle configuration, options, and setup (10.00 ms)
 * cron: A Qt timing and scheduling module for modRana (0.00 ms)
 * tracklog: Record tracklogs (20.00 ms)
 * example: A sample pyroute module (0.00 ms)
 * voice: Handle text to speech. (0.00 ms)
 * display: A platform independent display device control module (10.00 ms)
 * storeTiles: Single-file-fs tile storage (20.00 ms)
 * tileserver: A modRana built-in tileserver (10.00 ms)
 @ location: using Qt Mobility
importing Qt Mobility
Qt Mobility imported
location Qt Mobility: position source created
 * location: Supplies position info from a position source (260.00 ms)
 * showOSD: Draw OSD (On Screen Display). (10.00 ms)
 * menu: Handle menus (40.00 ms)
 * loadTracklogs: A sample pyroute module (0.00 ms)
 * clickHandler: handle mouse clicks (20.00 ms)
Loaded all modules in 1610.00 ms, initialising
showPOI: 8 visible POI restored
location: enabling location
location qt mobility: started
display: keep display ON -> never :)
** making a list of available tracklogs
*  using this tracklog folder:
* /home/user/MyDocs/tracklogs
*  there are 20 tracklogs available
**
mapView: switching map drag mode to default
mapView: switching centering disable threshold to 2048
options: reloading Monav data pack list
Initialization complete in 160.00 ms
** modRana startup timing **
# device: Nokia N900 (n900)
* modRana start (0 ms), 0/20060 ms
* imports done (998 ms), 998/20060 ms
* GUI creation (1 ms), 998/20060 ms
* all modules loaded (17386 ms), 18384/20060 ms
* all modules initialized (1676 ms), 20060/20060 ms
** whole startup: 20060 ms **
Preloading theme "blanco" from cache 
GET
(u'currentTheme', u'default', 'default')
file:///opt/modrana/modules/gui_modules/gui_qml/qml/PinchMap.qml:47: Unable to assign [undefined] to int status
Segmentation fault
__________________
Weaseling out of things is important to learn ! It's what separates us from the animals,
... except the weasel. (Homer Simpson)

Last edited by Whispering Weasel; 2012-09-10 at 07:10. Reason: added ful console output
 

The Following User Says Thank You to Whispering Weasel For This Useful Post:
Posts: 1,523 | Thanked: 1,997 times | Joined on Jul 2011 @ not your mom's FOSS basement
#1128
Question; the routing data sets have to be a specific version? AFAIK the ones available on Monav wiki are at least 1,5yrs old, and not compatible with current Monav revisions; i.e. those that f.e. render street names.
 

The Following User Says Thank You to don_falcone For This Useful Post:
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#1129
Originally Posted by taixzo View Post
Just FYI - I haven't been able to run modRana this way, it says it isn't found. I have to do python /opt/modrana/modrana.py instead.
The package installs a startup shell script called modrana to /usr/bin/. As /usr/bin/ is in path, it should work

But the startup script currently doesn't accept command-line options, so if you want to use the modRana CLI options, you need to run /opt/modrana/modrana.py directly.

Originally Posted by Whispering Weasel View Post
I don!t have monav installed and V0.35.6 didn't start for me at first (both normal and qml version), creating the monav dir ( mkdir /home/user/MyDocs/.maps/monav_data ) fixed that for the normal version.
Thanks ! Fixed in 0.35.7

Originally Posted by Whispering Weasel View Post
modrana-qml now gives a segfault:
I'm looking into this.

BTW, during the competition voting period, modRana will be in fix-only mode.

Originally Posted by don_falcone View Post
Question; the routing data sets have to be a specific version? AFAIK the ones available on Monav wiki are at least 1,5yrs old, and not compatible with current Monav revisions; i.e. those that f.e. render street names.
I'm using Monav compiled from the thomasmiedema-python branch, which should be up-to-date and contains some additional patches for the Python/TCP/Protocol buffer interface modRana is using. And it works with the old data just fine.

But I have tested only the routing daemon/server, not the Monav client itself. Also haven't yet tested with data generated by the latest preprocessor.
__________________
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 3 Users Say Thank You to MartinK For This Useful Post:
Posts: 53 | Thanked: 105 times | Joined on Jan 2012 @ Iran
#1130
@Martink
Thank you, I updated to the latest version, now the modrana is working
But modrana-qml is not in a good condition! I opened it, then it was closed very fast!
When do you have a plan to add Farsi support for modrana Martik?!
I also couldn't find Iran map for routing in the link that you mentioned above! Just Asia.zip and it is about 3.6 GB
Is there any link that I can download only Iran map for offline routing?!
 

The Following User Says Thank You to melisa queen For This Useful Post:
Reply

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


 
Forum Jump


All times are GMT. The time now is 22:40.