| 25 | } |
| 26 | |
| 27 | bool 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 |
| 38 | bool FilterWorld::IsInternationalAirport(feature::FeatureBuilder const & fb) |