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

Method ValidateAndFormat_level

generator/osm2meta.cpp:274–280  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

272}
273
274std::string MetadataTagProcessorImpl::ValidateAndFormat_level(std::string v)
275{
276 // Some mappers use full width unicode digits. We can handle that.
277 strings::NormalizeDigits(v);
278 // value of level can be more than one number, so e.g. "1;2" or "3-5"
279 return v;
280}
281
282std::string MetadataTagProcessorImpl::ValidateAndFormat_denomination(std::string const & v)
283{

Callers

nothing calls this directly

Calls 1

NormalizeDigitsFunction · 0.85

Tested by

no test coverage detected