Allowing toll_booth's to be bypassed.
This commit is contained in:
parent
26f3c51cf0
commit
6d74ae1b84
@ -224,7 +224,7 @@ private:
|
|||||||
denseTagIndex += 2;
|
denseTagIndex += 2;
|
||||||
}
|
}
|
||||||
std::string barrierValue = keyVals.Find("barrier");
|
std::string barrierValue = keyVals.Find("barrier");
|
||||||
if(0 < barrierValue.length() && "border_control" != barrierValue)
|
if(0 < barrierValue.length() && "border_control" != barrierValue && "toll_booth" != barrierValue)
|
||||||
n.bollard = true;
|
n.bollard = true;
|
||||||
|
|
||||||
if("traffic_signals" == keyVals.Find("highway"))
|
if("traffic_signals" == keyVals.Find("highway"))
|
||||||
|
@ -256,7 +256,7 @@ private:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ( xmlStrEqual( k, ( const xmlChar* ) "barrier" ) == 1 ) {
|
if ( xmlStrEqual( k, ( const xmlChar* ) "barrier" ) == 1 ) {
|
||||||
if ( xmlStrEqual( value, ( const xmlChar* ) "" ) != 1 && xmlStrEqual( value, ( const xmlChar* ) "border_control" ) != 1){
|
if ( xmlStrEqual( value, ( const xmlChar* ) "" ) != 1 && xmlStrEqual( value, ( const xmlChar* ) "border_control" ) != 1 && xmlStrEqual( value, ( const xmlChar* ) "toll_booth" ) != 1){
|
||||||
node.bollard = true;
|
node.bollard = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user