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

Method IsAccepted

generator/filter_world.cpp:27–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27bool FilterWorld::IsAccepted(feature::FeatureBuilder const & fb) const
28{
29 // We collect and process localities in ProcessorCities.
30 /// @todo What if some fancy FBs like town and airport simultaneously? :)
31 if (m_isCityTownVillage(fb.GetTypes()))
32 return false;
33
34 return (IsGoodScale(fb) || IsPopularAttraction(fb, m_popularityFilename) || IsInternationalAirport(fb));
35}
36
37// static
38bool FilterWorld::IsInternationalAirport(feature::FeatureBuilder const & fb)

Callers

nothing calls this directly

Calls 1

GetTypesMethod · 0.45

Tested by

no test coverage detected