Added exception to the generic "bollard" rule for

"barrier=cattle_grid".  A cattle grid is not a barrier for
cars and/or bicycles.   Quite commonly used in rural
Scandinavia.
This commit is contained in:
Magne Mæhre 2012-03-18 21:49:09 +01:00
parent e43019a1df
commit fe516442bd

View File

@ -224,7 +224,7 @@ private:
denseTagIndex += 2;
}
std::string barrierValue = keyVals.Find("barrier");
if(0 < barrierValue.length() && "border_control" != barrierValue && "toll_booth" != barrierValue && "no" != barrierValue)
if(0 < barrierValue.length() && "cattle_grid" != barrierValue && "border_control" != barrierValue && "toll_booth" != barrierValue && "no" != barrierValue)
n.bollard = true;
if("traffic_signals" == keyVals.Find("highway"))