diff options
author | Vladimir Byko-Ianko <v.bykoianko@corp.mail.ru> | 2018-11-10 14:52:15 +0300 |
---|---|---|
committer | mpimenov <mpimenov@users.noreply.github.com> | 2018-11-23 17:58:49 +0300 |
commit | 1a9c5d3d09b297f1343e12172a8bd0833373a799 (patch) | |
tree | 13e55dd1b4abdb5a9dacca740f923e115d953913 /track_analyzing | |
parent | 977252247077460fd02b46ccd72cad8b768ddc40 (diff) |
[routing] Getting ready VehicleModel for bidirectinal maxspeeds.
Diffstat (limited to 'track_analyzing')
-rw-r--r-- | track_analyzing/track_matcher.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/track_analyzing/track_matcher.cpp b/track_analyzing/track_matcher.cpp index ae2ca32b65..5553acc146 100644 --- a/track_analyzing/track_matcher.cpp +++ b/track_analyzing/track_matcher.cpp @@ -4,6 +4,7 @@ #include "routing/city_roads.hpp" #include "routing/index_graph_loader.hpp" +#include "routing/maxspeeds.hpp" #include "routing_common/car_model.hpp" @@ -66,7 +67,7 @@ TrackMatcher::TrackMatcher(storage::Storage const & storage, NumMwmId mwmId, MwmSet::MwmHandle const handle = m_dataSource.GetMwmHandleByCountryFile(countryFile); m_graph = make_unique<IndexGraph>( make_shared<Geometry>(GeometryLoader::Create(m_dataSource, handle, m_vehicleModel, - LoadCityRoads(m_dataSource, handle), + AttrLoader(m_dataSource, handle), false /* loadAltitudes */)), EdgeEstimator::Create(VehicleType::Car, *m_vehicleModel, nullptr /* trafficStash */)); |