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

Method ValidateAndFormat_ele

generator/osm2meta.cpp:179–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177}
178
179std::string MetadataTagProcessorImpl::ValidateAndFormat_ele(std::string const & v) const
180{
181 if (IsNoNameNoAddressBuilding(m_params))
182 return {};
183
184 return measurement_utils::OSMDistanceToMetersString(v);
185}
186
187std::string MetadataTagProcessorImpl::ValidateAndFormat_destination(std::string const & v)
188{

Callers 1

UNIT_TESTFunction · 0.80

Calls 2

Tested by 1

UNIT_TESTFunction · 0.64