Fixes issue #74, thanks DrVanScott.
This commit is contained in:
parent
7c41206c6d
commit
b44e36e7ba
@ -173,7 +173,6 @@ public:
|
|||||||
w.direction = _Way::bidirectional;
|
w.direction = _Way::bidirectional;
|
||||||
} else if( oneway == "-1") {
|
} else if( oneway == "-1") {
|
||||||
w.direction = _Way::opposite;
|
w.direction = _Way::opposite;
|
||||||
std::reverse( w.path.begin(), w.path.end() );
|
|
||||||
}
|
}
|
||||||
else if( oneway == "yes" || oneway == "1" || oneway == "true" || onewayClass == "yes" || onewayClass == "1" || onewayClass == "true" || junction == "roundabout" || highway == "motorway_link" || highway == "motorway" ) {
|
else if( oneway == "yes" || oneway == "1" || oneway == "true" || onewayClass == "yes" || onewayClass == "1" || onewayClass == "true" || junction == "roundabout" || highway == "motorway_link" || highway == "motorway" ) {
|
||||||
w.direction = _Way::oneway;
|
w.direction = _Way::oneway;
|
||||||
|
Loading…
Reference in New Issue
Block a user