Hi Marcus and All.

I'm successfully running route estimation method with a default
ShortestRoteMetric, but results are not acceptable for my task. method
selects short, but very small roads first, instead of motorways and other
fast driving roads.

>From a description I see that most suitable for my task is
StaticFastestRouteMetric - metric counting the travel-time of the way using
fixed averaged for known highway-types

But when I'm trying to initialize StaticFastestRouteMetric object , I'm get
an exception from TrafficMessageStore.java module, when program trying
connect to external Traffic Message source

    private TrafficMessageStore() {
*        this.myDatabaseURL = Settings.getInstance().get("tmc.storepath",
getDefaultURL());*
        this.myConnection = getConnection();
    }

I don't need any TrafficMessage for my purpose. Metric which prefer
"fastest" roads building a path, will be suitable for my situation.

 Questions:
1) how to remove traffic logic from this metric? Any setup or command line
parameter?
2) In which source is defined average car speed depending on a way type?

p.s. I'm using last versions of libosm,  osmnavigation and TravelingSalesMan
project downloaded from SVN.

Thanks in advance.

-- 
All the best
               Oleg Demchenko
_______________________________________________
Routing mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/routing

Reply via email to