MCPcopy Create free account
hub / github.com/comaps/comaps / ValidateAndFormat_drive_through

Method ValidateAndFormat_drive_through

generator/osm2meta.cpp:413–421  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

411}
412
413std::string MetadataTagProcessorImpl::ValidateAndFormat_drive_through(std::string v)
414{
415 strings::AsciiToLower(v);
416 if (v == "yes" || v == "sidewalk" || v == "terrace" || v == "pedestrian_zone" || v == "patio" || v == "only" || v == "veranda" || v == "garden" || v == "parklet" || v == "street" || v == "balcony" || v == "beach" || v == "roof")
417 return "yes";
418 else if (v == "no")
419 return v;
420 return {};
421}
422
423std::string MetadataTagProcessorImpl::ValidateAndFormat_self_service(std::string v)
424{

Callers

nothing calls this directly

Calls 1

AsciiToLowerFunction · 0.85

Tested by

no test coverage detected