DennisOSRM/Project-OSRM — Issue #136: "TODO: type is not set" in ExtractorCallbacks.h?
Author: emiltin
Created: 2012-02-20 21:09:33+00:00
State: open

is the TODO mentioned in a comment in line 191 in ExtractorCallbacks.h still relevant?

if ( w.useful && w.access && (1 < w.path.size()) ) { //Only true if the way is specified by the speed profile
//TODO: type is not set, perhaps use a bimap'ed speed profile to do set the type correctly?
w.type = settings.GetHighwayTypeID(highway);
if(0 > w.type) {
ERR("Resolved highway " << highway << " to " << w.type);
}