fix problem with oneway=-1
This commit is contained in:
parent
a21376f6ce
commit
f34d58fc7e
@ -201,10 +201,6 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
if ( w.direction == _Way::opposite ){
|
||||
std::reverse( w.path.begin(), w.path.end() );
|
||||
}
|
||||
|
||||
for(vector< NodeID >::size_type n = 0; n < w.path.size()-1; ++n) {
|
||||
externalMemory->allEdges.push_back(_Edge(w.path[n], w.path[n+1], w.type, w.direction, w.speed, w.nameID, w.roundabout, highway == settings.excludeFromGrid));
|
||||
externalMemory->usedNodeIDs.push_back(w.path[n]);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user