Strange routing for bicycles
  • Navigator Free is one of very few applications that performs offline routing on open streetmap maps on PC and PDA. Thats what I was looking for, especially for bicycle driving.
    But the routing is sometimes very strange - a huge loop way is generated. One example is: start in 'Bargteheide' (germany) dest in 'Stade'.
    I have used version 11.0.35 (PC version on Win7, 11.0.33 PDA Version in HP IPAQ travel companion). Vehicle=Bicycle, routing=fastest.
    Also if you choose 'shortest' routing you get strange results.
    Thanks for help!
  • 10 Comments sorted by
  • Hello Tazacorte,
    I would like to repeat your routing, but for that I need exact coordinates of your departure and destination. Can you send me your routing_points.xml file?
    thanks
       Martin
  • Bicycle driving is very buggy. Often it is not possible to finde a route.

    Start:
    51°33´32.9"N   6°59´30.9"
    Destination:
    51°44´33.2"N  7°11´59.0"

    Navigator free v. 11.0.35 is not able to find a route for a bicycle. Wenn this error occurs, I can change to any other vehicle, there is no possibility to find a route. First I must end the programm, start new and then Navigator is able to find a route with this new vehicle (not with the biycle).
    I made a "new bicycle" from a pedestrian and changed the velocities. Now Navigator finds the route, but he ignores the closed streets, I told him.

    Another bug:
    If I will drive from any position to Germany - Winterberg, Hochsauerlandkreis - town centre, the program crashes just after "navigate" or "Show on Map". When I disable in menu - settings - map - select regions "all imports", then the program does not crash.
    But now I have no cameralight and -speed.
  • @ MDDIO, I tried your example on PC and it found a reasonable route without motorways. When I reduced the number of expanded links (settings.xml, section RTG, parameter limit_expansion) from 100000 (default on PC) to 10000 (default on PDA/PND) it failed to find the route. The reason is that there is no suitable "transit network" which is for cars motorways. Can you increase the value on your PND and try it?

    ad import - do you have also your own import? Can you send me log after the crash?

    @Tazacorte - I tried your points from email and the cause is the same. In your case it finds "transit network" but it is too far and unsuitable for a bike. If you increase the limit to 100000 the route will be 65km long and use boat ferry.

    does it help? thanks
      Martin

  • @Martin:

    Thank You, modifying the limit_expansion to 100000 is the right way to solve the first Problem. I got a nice route for my bicycle and Navigator considers the closed Roads I told him.

    No, I have no own imports, only the standard imports for cameralight and cameraspeed. I use maps for the whole world, but only europe and imports enabled.

    The navigator.log.txt after crashing:
    ;;Start
    SYS_HIRES: Not running in highres mode
    IDC file: \Storage Card\Navigator free\atlas_free.idc
    Trying to load \Storage Card\Navigator free\settings.xml
    \Storage Card\Navigator free\settings.xml loaded and initialized
    Settings loaded successfully.
    SYS_DPI: 96,96
    PROFILER: <1> new BarneyApplication() - 0.035 secs
    PROFILER: (TS) BarneyApplication::initBarneyUniverse() START - 2.968 secs
    PROFILER: (TS) BarneyApplication::initBarneyUniverse() splashScreen showed - 3.366 secs
    PROFILER: (TS) BarneyApplication::initBarneyUniverse() localization initialized - 3.538 secs
    Version: v.11.0.35 PND
    Resolution: 480 x 272
    PROFILER: <2> ResourceContainer::ResourceContainer() - 0.381 secs
    PROFILER: (TS) BarneyApplication::initBarneyUniverse() ResourceContainer COLD initialization - 3.929 secs
    PROFILER: (TS) BarneyApplication::initBarneyUniverse() SoundsPlayer and Events initialized - 3.950 secs
      COMPOSER DUMP BEGIN
    sound_de                        : data version= 2, data creation=200809170, vendor id=0, license id=0, path='\Storage Card\Navigator free\data\sounds_de.mca\', name=MapFactor
    sound_en                        : data version= 2, data creation=200809170, vendor id=0, license id=0, path='\Storage Card\Navigator free\data\sounds_en.mca\', name=MapFactor - Lotta
    sound_es                        : data version= 2, data creation=200809170, vendor id=0, license id=0, path='\Storage Card\Navigator free\data\sounds_es.mca\', name=MapFactor
    sound_fr                        : data version= 2, data creation=200809170, vendor id=0, license id=0, path='\Storage Card\Navigator free\data\sounds_fr.mca\', name=MapFactor
    sound_nl                        : data version= 2, data creation=201101250, vendor id=0, license id=0, path='\Storage Card\Navigator free\data\sounds_nl.mca\', name=MapFactor
    sound_xx_signal                 : data version= 2, data creation=201001027, vendor id=0, license id=0, path='\Storage Card\Navigator free\data\sounds_xx_signal.mca\', name=Signal sounds
    afghanistan_osm                 : data version=41, data creation=201107150, vendor id=1, license id=0, path='\Storage Card\Navigator free\data\afghanistan_osm.mca\'
    albania_osm                     : data version=41, data creation=201107150, vendor id=1, license id=0, path='\Storage Card\Navigator free\data\albania_osm.mca\'
    ;;
    ;;... etc
    ,,

    import_cameralight              : data version=1001, data creation=201107180, vendor id=255, license id=0, path='\Storage Card\Navigator free\data\cameralight.mca\'
    import_cameraspeed              : data version=1001, data creation=201107180, vendor id=255, license id=0, path='\Storage Card\Navigator free\data\cameraspeed.mca\'
    india_osm                       : data version=41, data creation=201107180, vendor id=1, license id=0, path='\Storage Card\Navigator free\data\india_osm.mca\'
    indonesia_osm                   : data version=41, data creation=201107180, vendor id=1, license id=0, path='\Storage Card\Navigator free\data\indonesia_osm.mca\'
    ;;
    ;;... etc
    ;;


  • wallis_and_futuna_osm           : data version=41, data
    creation=201107250, vendor id=1, license id=0, path='\Storage
    Card\Navigator free\data\wallis_and_futuna_osm.mca\'

    western_sahara_osm              : data version=41, data
    creation=201109210, vendor id=1, license id=0, path='\Storage
    Card\Navigator free\data\western_sahara_osm.mca\'

    yemen_osm                       : data version=41, data
    creation=201107250, vendor id=1, license id=0, path='\Storage
    Card\Navigator free\data\yemen_osm.mca\'

    zambia_osm                      : data version=41, data
    creation=201106160, vendor id=1, license id=0, path='\Storage
    Card\Navigator free\data\zambia_osm.mca\'

    zimbabwe_osm                    : data version=41, data
    creation=201106160, vendor id=1, license id=0, path='\Storage
    Card\Navigator free\data\zimbabwe_osm.mca\'

      COMPOSER DUMP END

    Tuple::parseValueUnicode - parsing value 'system' in 'system' tuple failed

    PROFILER: <2> BarneyApplication::initSoundsPlayer() - 21.027 secs

    License OK: public key = 'B8PTX-8RXF4-xxxxx-xxxxx-xxxxx'

    PROFILER: (TS) loadMapResources: licence check finished - 25.074 secs

    loadMapResources: DataVersion: <41,41>

    PROFILER: <3> DbsConfig::init() FINISH - 16.088 secs

    PROFILER: (TS) loadMapResources: DbsConfig initialised - 41.196 secs

    PROFILER: (TS) loadMapResources: Tie(Base+Driver) initialised - 41.857 secs

    PROFILER: (TS) loadMapResources: signposts initialised - 41.870 secs

    PROFILER: (TS) loadMapResources: lanes info initialised - 41.881 secs

    PROFILER: (TS) loadMapResources: GAPI surface initialised - 41.892 secs

    PROFILER: (TS) loadMapResources: map view created - 43.734 secs

    PROFILER: (TS) loadMapResources: map view initialised - 47.428 secs

    PROFILER: (TS) loadMapResources: UOM constructed - 48.774 secs

    PROFILER: (TS) loadMapResources: GpsTmcGui constructed - 49.128 secs

    PROFILER: (TS) loadMapResources: TmcInMap constructed - 49.133 secs

    PROFILER: <3> CarTrackingGui::CarTrackingGui() FINISHED - 0.013 secs

    PROFILER: (TS) loadMapResources: CarTrackingGui constructed - 49.152 secs

    Routing: setVehicleProfile().

    PROFILER: <4> RoutingProvider::updateRoutingData - 0.233 secs

    Routing: setVehicleProfile().

    Routing: opened germany_osm_west as 0.

    PROFILER: <4> rtgui::setPoint - 0.195 secs

    PROFILER: <4> NavigationGui::loadLinkParams - 0.026 secs

    PROFILER: <3> NavigationGui::NavigationGui() FINISHED - 9.104 secs

    PROFILER: (TS) loadMapResources: NavigationGui constructed - 58.273 secs

    PROFILER: (TS) loadMapResources: remote communication started - 58.276 secs

    PROFILER: <2> loadMapResources: finish - 33.221 secs

    PROFILER: (TS) BarneyApplication::initBarneyUniverse() ResourceContainer HOT initialization - 67.058 secs

    PROFILER: (TS) BarneyApplication::initBarneyUniverse() FINISHED - 67.076 secs

    PROFILER: <1> initBarneyUniverse() - 64.365 secs

    CONNECTING TO com device - port: COM2; speed: 57600

    CONNECTION SUCCEEDED

    GNS DEVICE DISCONNECTED

    CONNECTING TO com device - port: COM1; speed: 38400

    __except-ion handling (hard crash)

    ;;END



    Many thanks

    Peter

  • the last few lines with imports disabled:

    ;;....
    Routing: setVehicleProfile().
    PROFILER: <4> RoutingProvider::updateRoutingData - 0.193 secs
    Routing: setVehicleProfile().
    Routing: opened germany_osm_west as 0.
    PROFILER: <4> rtgui::setPoint - 0.194 secs
    PROFILER: <4> NavigationGui::loadLinkParams - 0.028 secs
    PROFILER: <3> NavigationGui::NavigationGui() FINISHED - 7.956 secs
    PROFILER: (TS) loadMapResources: NavigationGui constructed - 49.625 secs
    PROFILER: (TS) loadMapResources: remote communication started - 49.628 secs
    PROFILER: <2> loadMapResources: finish - 27.248 secs
    PROFILER: (TS) BarneyApplication::initBarneyUniverse() ResourceContainer HOT initialization - 51.122 secs
    PROFILER: (TS) BarneyApplication::initBarneyUniverse() FINISHED - 51.140 secs
    PROFILER: <1> initBarneyUniverse() - 45.696 secs
    CONNECTING TO com device - port: COM2; speed: 57600
    CONNECTION SUCCEEDED
    GNS DEVICE DISCONNECTED
    CONNECTING TO com device - port: COM1; speed: 38400
    GNS DEVICE DISCONNECTED
    Application quit request
    MemPool2 - allocated 133 blocks (blocksize 4096, memsize 4194304)
    COM DEVICE DISCONNECTED
    Application has finished

    Regards
    Peter
  • Hello,

    OK - increasing the limit_expansion helps! I get in most cases better routes now.
    What does this parameter do? I have set it to 10000000. My fealing is that further increase does not have any effect? What is the disadvantage of bigger values?
    I also get better results on my modified "bicycle2" configuration, where I changed the road priority. I set minor roads to higher priority. With this you can prevent routing over bigger roads.

    But - with increasing distance the routing becomes strange again. OK - I do not need bicycle routes with more than 200km very often, but it is even more important to get good results for this cases. Here is an example with this behavior:

    <departure><lat>193388440 <lon>36830650
    <destination><lat>189648523 <lon>28326933


    regards
    Dirk
  • Hoping the Bicycle Routing will be sometimes better without changing configuration files.
    For a 20 km toure it works good. The Algorithm need a Autobahn. If i am planning a car-route without autobahn, i get the sanme bad results. For far bicycle routing works only the pedestrian mode.

    Hoping in navigator 13 is this problem solved.
  • Hi Matthias,
    what version/platform do you have? I checked both PC and Android and truck_restrictions.xml/vehicle_profiles.xml have set expansion limit to 100000. Your problem is caused by "transit network", which is not used in pedestrian mode at all.
  • I have 12.3 (The newest version of navigator free) and windows XP, Windows 7 Starter Edition and Windows 8.1.
    For 500km long distance between 2 points, the pedestrian mode need alot of CPU-Time.

    Thank you very much for this information. The "transit network" need maybe the motorways.
    I have made a new vehicle profile for bicycle using the pedestrian-mode and setting just the speed of streets and vehicle higher, and it works.

    sorry i have a german version and dont know the right english names of the features.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

Tagged