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

Function IsNoNameNoAddressBuilding

generator/osm2meta.cpp:74–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72};
73
74bool IsNoNameNoAddressBuilding(FeatureParams const & params)
75{
76 static uint32_t const buildingType = classif().GetTypeByPath({"building"});
77 return params.m_types.size() == 1 && params.m_types[0] == buildingType && params.house.Get().empty() &&
78 params.name.IsEmpty();
79}
80
81bool Prefix2Double(std::string const & str, double & d)
82{

Callers 1

ValidateAndFormat_eleMethod · 0.85

Calls 5

GetTypeByPathMethod · 0.80
sizeMethod · 0.45
emptyMethod · 0.45
GetMethod · 0.45
IsEmptyMethod · 0.45

Tested by

no test coverage detected