| 343 | } |
| 344 | |
| 345 | void RoadAccessTagProcessor::SetIgnoreBarriers(OsmElement const & elem) |
| 346 | { |
| 347 | if (!m_highwaysToIgnoreWABarriers) |
| 348 | return; |
| 349 | |
| 350 | for (auto const & tag : elem.m_tags) |
| 351 | { |
| 352 | if (m_highwaysToIgnoreWABarriers->count(tag) > 0) |
| 353 | { |
| 354 | m_ignoreWABarriers.push_back(true); |
| 355 | return; |
| 356 | } |
| 357 | } |
| 358 | |
| 359 | m_ignoreWABarriers.push_back(false); |
| 360 | } |
| 361 | |
| 362 | bool RoadAccessTagProcessor::IsIgnoreBarriers(size_t wayIdx) const |
| 363 | { |
no test coverage detected