Skip to content

"TODO: type is not set" in ExtractorCallbacks.h? #136

@emiltin

Description

@emiltin

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);
        }

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions