Excluding barrier=cattle_grid
This commit is contained in:
parent
6a9b05e126
commit
6d8f99832f
@ -225,7 +225,7 @@ private:
|
||||
}
|
||||
std::string barrierValue = keyVals.Find("barrier");
|
||||
std::string access = keyVals.Find("access");
|
||||
if(access != "yes" && 0 < barrierValue.length() && "border_control" != barrierValue && "toll_booth" != barrierValue && "no" != barrierValue)
|
||||
if(access != "yes" && 0 < barrierValue.length() && "cattle_grid" != barrierValue && "border_control" != barrierValue && "toll_booth" != barrierValue && "no" != barrierValue)
|
||||
n.bollard = true;
|
||||
|
||||
if("traffic_signals" == keyVals.Find("highway"))
|
||||
|
@ -262,7 +262,7 @@ private:
|
||||
}
|
||||
}
|
||||
if ( xmlStrEqual( k, ( const xmlChar* ) "barrier" ) == 1 ) {
|
||||
if (!accessYes && xmlStrEqual( value, ( const xmlChar* ) "" ) != 1 && xmlStrEqual( value, ( const xmlChar* ) "border_control" ) != 1 && xmlStrEqual( value, ( const xmlChar* ) "toll_booth" ) != 1 && xmlStrEqual( value, ( const xmlChar* ) "no" ) != 1){
|
||||
if (!accessYes && xmlStrEqual( value, ( const xmlChar* ) "" ) != 1 && xmlStrEqual( value, ( const xmlChar* ) "border_control" ) != 1 && xmlStrEqual( value, ( const xmlChar* ) "cattle_grid" ) != 1 && xmlStrEqual( value, ( const xmlChar* ) "toll_booth" ) != 1 && xmlStrEqual( value, ( const xmlChar* ) "no" ) != 1){
|
||||
node.bollard = true;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user