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

Method IsRealCapital

generator/place_processor.cpp:34–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34bool FeaturePlace::IsRealCapital() const
35{
36 static uint32_t const capitalType = classif().GetTypeByPath({"place", "city", "capital", "2"});
37 return m_fb.GetParams().IsTypeExist(capitalType);
38}
39
40double GetRadiusM(ftypes::LocalityType const & type)
41{

Callers 1

IsWorsePlaceFunction · 0.80

Calls 3

GetTypeByPathMethod · 0.80
GetParamsMethod · 0.80
IsTypeExistMethod · 0.45

Tested by

no test coverage detected