summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Beschow <bbeschow@cs.tu-berlin.de>2016-08-14 12:39:28 (GMT)
committerBernhard Beschow <bbeschow@cs.tu-berlin.de>2016-08-14 12:51:37 (GMT)
commit5d68df254ea95bbc09d2eea62bb2f1391870b7cb (patch)
tree71a1315b2393548241d4e01e9893089143071f00
parent6f4e8cc757b6cf19dba652d1e6b775fad26bda47 (diff)
no need for indirection
-rw-r--r--src/lib/marble/geodata/data/GeoDataFeature.cpp295
-rw-r--r--src/lib/marble/geodata/data/GeoDataFeature_p.h299
2 files changed, 294 insertions, 300 deletions
diff --git a/src/lib/marble/geodata/data/GeoDataFeature.cpp b/src/lib/marble/geodata/data/GeoDataFeature.cpp
index a63cc67..196bd63 100644
--- a/src/lib/marble/geodata/data/GeoDataFeature.cpp
+++ b/src/lib/marble/geodata/data/GeoDataFeature.cpp
@@ -442,7 +442,300 @@ void GeoDataFeature::setPopularity( qint64 popularity )
QString GeoDataFeature::categoryName() const
{
- return d->categoryName();
+ switch (d->m_visualCategory) {
+ case SmallCity: return QObject::tr("City");
+ case SmallCountyCapital: return QObject::tr("County Capital");
+ case SmallStateCapital: return QObject::tr("State Capital");
+ case SmallNationCapital: return QObject::tr("Nation Capital");
+ case MediumCity: return QObject::tr("City");
+ case MediumCountyCapital: return QObject::tr("County Capital");
+ case MediumStateCapital: return QObject::tr("State Capital");
+ case MediumNationCapital: return QObject::tr("Nation Capital");
+ case BigCity: return QObject::tr("City");
+ case BigCountyCapital: return QObject::tr("County Capital");
+ case BigStateCapital: return QObject::tr("State Capital");
+ case BigNationCapital: return QObject::tr("Nation Capital");
+ case LargeCity: return QObject::tr("City");
+ case LargeCountyCapital: return QObject::tr("County Capital");
+ case LargeStateCapital: return QObject::tr("State Capital");
+ case LargeNationCapital: return QObject::tr("Nation Capital");
+ case Nation: return QObject::tr("Nation");
+ case PlaceCity: return QObject::tr("City");
+ case PlaceSuburb: return QObject::tr("Suburb");
+ case PlaceHamlet: return QObject::tr("Hamlet");
+ case PlaceLocality: return QObject::tr("Locality");
+ case PlaceTown: return QObject::tr("Town");
+ case PlaceVillage: return QObject::tr("Village");
+ case Mountain: return QObject::tr("Mountain");
+ case Volcano: return QObject::tr("Volcano");
+ case Continent: return QObject::tr("Continent");
+ case Ocean: return QObject::tr("Ocean");
+ case GeographicPole: return QObject::tr("Geographic Pole");
+ case MagneticPole: return QObject::tr("Magnetic Pole");
+ case ShipWreck: return QObject::tr("Ship Wreck");
+ case AirPort: return QObject::tr("Air Port");
+ case Observatory: return QObject::tr("Observatory");
+ case MilitaryDangerArea: return QObject::tr("Military Danger Area");
+ case OsmSite: return QObject::tr("OSM Site");
+ case Coordinate: return QObject::tr("Coordinate");
+ case Folder: return QObject::tr("Folder");
+ case Bookmark: return QObject::tr("Bookmark");
+ case NaturalWater: return QObject::tr("Water");
+ case NaturalReef: return QObject::tr("Reef");
+ case NaturalWood: return QObject::tr("Wood");
+ case NaturalBeach: return QObject::tr("Beach");
+ case NaturalWetland: return QObject::tr("Wetland");
+ case NaturalGlacier: return QObject::tr("Glacier");
+ case NaturalIceShelf: return QObject::tr("Ice Shelf");
+ case NaturalScrub: return QObject::tr("Scrub");
+ case NaturalCliff: return QObject::tr("Cliff");
+ case NaturalHeath: return QObject::tr("Heath");
+ case HighwayTrafficSignals: return QObject::tr("Traffic Signals");
+ case HighwaySteps: return QObject::tr("Steps");
+ case HighwayUnknown: return QObject::tr("Unknown Road");
+ case HighwayPath: return QObject::tr("Path");
+ case HighwayFootway: return QObject::tr("Footway");
+ case HighwayTrack: return QObject::tr("Track");
+ case HighwayPedestrian: return QObject::tr("Footway");
+ case HighwayCycleway: return QObject::tr("Cycleway");
+ case HighwayService: return QObject::tr("Service Road");
+ case HighwayRoad: return QObject::tr("Road");
+ case HighwayResidential: return QObject::tr("Residential Road");
+ case HighwayLivingStreet: return QObject::tr("Living Street");
+ case HighwayUnclassified: return QObject::tr("Unclassified Road");
+ case HighwayTertiaryLink: return QObject::tr("Tertiary Link Road");
+ case HighwayTertiary: return QObject::tr("Tertiary Road");
+ case HighwaySecondaryLink: return QObject::tr("Secondary Link Road");
+ case HighwaySecondary: return QObject::tr("Secondary Road");
+ case HighwayPrimaryLink: return QObject::tr("Primary Link Road");
+ case HighwayPrimary: return QObject::tr("Primary Road");
+ case HighwayTrunkLink: return QObject::tr("Trunk Link Road");
+ case HighwayTrunk: return QObject::tr("Trunk Road");
+ case HighwayMotorwayLink: return QObject::tr("Motorway Link Road");
+ case HighwayMotorway: return QObject::tr("Motorway");
+ case Building: return QObject::tr("Building");
+ case AccomodationCamping: return QObject::tr("Camping");
+ case AccomodationHostel: return QObject::tr("Hostel");
+ case AccomodationHotel: return QObject::tr("Hotel");
+ case AccomodationMotel: return QObject::tr("Motel");
+ case AccomodationYouthHostel: return QObject::tr("Youth Hostel");
+ case AccomodationGuestHouse: return QObject::tr("Guest House");
+ case AmenityLibrary: return QObject::tr("Library");
+ case AmenityKindergarten: return QObject::tr("Kindergarten");
+ case EducationCollege: return QObject::tr("College");
+ case EducationSchool: return QObject::tr("School");
+ case EducationUniversity: return QObject::tr("University");
+ case FoodBar: return QObject::tr("Bar");
+ case FoodBiergarten: return QObject::tr("Biergarten");
+ case FoodCafe: return QObject::tr("Cafe");
+ case FoodFastFood: return QObject::tr("Fast Food");
+ case FoodPub: return QObject::tr("Pub");
+ case FoodRestaurant: return QObject::tr("Restaurant");
+ case HealthDentist: return QObject::tr("Dentist");
+ case HealthDoctors: return QObject::tr("Doctors");
+ case HealthHospital: return QObject::tr("Hospital");
+ case HealthPharmacy: return QObject::tr("Pharmacy");
+ case HealthVeterinary: return QObject::tr("Veterinary");
+ case MoneyAtm: return QObject::tr("ATM");
+ case MoneyBank: return QObject::tr("Bank");
+ case AmenityArchaeologicalSite: return QObject::tr("Archaeological Site");
+ case AmenityEmbassy: return QObject::tr("Embassy");
+ case AmenityEmergencyPhone: return QObject::tr("Emergency Phone");
+ case AmenityWaterPark: return QObject::tr("Water Park");
+ case AmenityCommunityCentre: return QObject::tr("Community Centre");
+ case AmenityFountain: return QObject::tr("Fountain");
+ case AmenityNightClub: return QObject::tr("Night Club");
+ case AmenityBench: return QObject::tr("Bench");
+ case AmenityCourtHouse: return QObject::tr("Court House");
+ case AmenityFireStation: return QObject::tr("Fire Station");
+ case AmenityHuntingStand: return QObject::tr("Hunting Stand");
+ case AmenityPolice: return QObject::tr("Police");
+ case AmenityPostBox: return QObject::tr("Post Box");
+ case AmenityPostOffice: return QObject::tr("Post Office");
+ case AmenityPrison: return QObject::tr("Prison");
+ case AmenityRecycling: return QObject::tr("Recycling");
+ case AmenityShelter: return QObject::tr("Shelter");
+ case AmenityTelephone: return QObject::tr("Telephone");
+ case AmenityToilets: return QObject::tr("Toilets");
+ case AmenityTownHall: return QObject::tr("Town Hall");
+ case AmenityWasteBasket: return QObject::tr("Waste Basket");
+ case AmenityDrinkingWater: return QObject::tr("Drinking Water");
+ case AmenityGraveyard: return QObject::tr("Graveyard");
+ case BarrierCityWall: return QObject::tr("City Wall");
+ case BarrierGate: return QObject::tr("Gate");
+ case BarrierLiftGate: return QObject::tr("Lift Gate");
+ case BarrierWall: return QObject::tr("Wall");
+ case NaturalPeak: return QObject::tr("Peak");
+ case NaturalTree: return QObject::tr("Tree");
+ case ShopBeverages: return QObject::tr("Beverages");
+ case ShopHifi: return QObject::tr("Hifi");
+ case ShopSupermarket: return QObject::tr("Supermarket");
+ case ShopAlcohol: return QObject::tr("Alcohol");
+ case ShopBakery: return QObject::tr("Bakery");
+ case ShopButcher: return QObject::tr("Butcher");
+ case ShopConfectionery: return QObject::tr("Confectionery");
+ case ShopConvenience: return QObject::tr("Convenience Shop");
+ case ShopGreengrocer: return QObject::tr("Greengrocer");
+ case ShopSeafood: return QObject::tr("Seafood");
+ case ShopDepartmentStore: return QObject::tr("Department Store");
+ case ShopKiosk: return QObject::tr("Kiosk");
+ case ShopBag: return QObject::tr("Bag");
+ case ShopClothes: return QObject::tr("Clothes");
+ case ShopFashion: return QObject::tr("Fashion");
+ case ShopJewelry: return QObject::tr("Jewelry");
+ case ShopShoes: return QObject::tr("Shoes");
+ case ShopVarietyStore: return QObject::tr("Variety Store");
+ case ShopBeauty: return QObject::tr("Beauty");
+ case ShopChemist: return QObject::tr("Chemist");
+ case ShopCosmetics: return QObject::tr("Cosmetics");
+ case ShopHairdresser: return QObject::tr("Hairdresser");
+ case ShopOptician: return QObject::tr("Optician");
+ case ShopPerfumery: return QObject::tr("Perfumery");
+ case ShopDoitYourself: return QObject::tr("Doit Yourself");
+ case ShopFlorist: return QObject::tr("Florist");
+ case ShopHardware: return QObject::tr("Hardware");
+ case ShopFurniture: return QObject::tr("Furniture");
+ case ShopElectronics: return QObject::tr("Electronics");
+ case ShopMobilePhone: return QObject::tr("Mobile Phone");
+ case ShopBicycle: return QObject::tr("Bicycle");
+ case ShopCar: return QObject::tr("Car");
+ case ShopCarRepair: return QObject::tr("Car Repair");
+ case ShopCarParts: return QObject::tr("Car Parts");
+ case ShopMotorcycle: return QObject::tr("Motorcycle");
+ case ShopOutdoor: return QObject::tr("Outdoor");
+ case ShopMusicalInstrument: return QObject::tr("Musical Instrument");
+ case ShopPhoto: return QObject::tr("Photo");
+ case ShopBook: return QObject::tr("Book");
+ case ShopGift: return QObject::tr("Gift");
+ case ShopStationery: return QObject::tr("Stationery");
+ case ShopLaundry: return QObject::tr("Laundry");
+ case ShopPet: return QObject::tr("Pet");
+ case ShopToys: return QObject::tr("Toys");
+ case ShopTravelAgency: return QObject::tr("Travel Agency");
+ case Shop: return QObject::tr("Shop");
+ case ManmadeBridge: return QObject::tr("Bridge");
+ case ManmadeLighthouse: return QObject::tr("Lighthouse");
+ case ManmadePier: return QObject::tr("Pier");
+ case ManmadeWaterTower: return QObject::tr("Water Tower");
+ case ManmadeWindMill: return QObject::tr("Wind Mill");
+ case TouristAttraction: return QObject::tr("Tourist Attraction");
+ case TouristCastle: return QObject::tr("Castle");
+ case TouristCinema: return QObject::tr("Cinema");
+ case TouristInformation: return QObject::tr("Information");
+ case TouristMonument: return QObject::tr("Monument");
+ case TouristMuseum: return QObject::tr("Museum");
+ case TouristRuin: return QObject::tr("Ruin");
+ case TouristTheatre: return QObject::tr("Theatre");
+ case TouristThemePark: return QObject::tr("Theme Park");
+ case TouristViewPoint: return QObject::tr("View Point");
+ case TouristZoo: return QObject::tr("Zoo");
+ case TouristAlpineHut: return QObject::tr("Alpine Hut");
+ case TransportAerodrome: return QObject::tr("Aerodrome");
+ case TransportHelipad: return QObject::tr("Helipad");
+ case TransportAirportGate: return QObject::tr("Airport Gate");
+ case TransportAirportRunway: return QObject::tr("Airport Runway");
+ case TransportAirportApron: return QObject::tr("Airport Apron");
+ case TransportAirportTaxiway: return QObject::tr("Airport Taxiway");
+ case TransportAirportTerminal: return QObject::tr("Airport Terminal");
+ case TransportBusStation: return QObject::tr("Bus Station");
+ case TransportBusStop: return QObject::tr("Bus Stop");
+ case TransportCarShare: return QObject::tr("Car Sharing");
+ case TransportFuel: return QObject::tr("Gas Station");
+ case TransportParking: return QObject::tr("Parking");
+ case TransportParkingSpace: return QObject::tr("Parking Space");
+ case TransportPlatform: return QObject::tr("Platform");
+ case TransportRentalBicycle: return QObject::tr("Rental Bicycle");
+ case TransportRentalCar: return QObject::tr("Rental Car");
+ case TransportTaxiRank: return QObject::tr("Taxi Rank");
+ case TransportTrainStation: return QObject::tr("Train Station");
+ case TransportTramStop: return QObject::tr("Tram Stop");
+ case TransportBicycleParking: return QObject::tr("Bicycle Parking");
+ case TransportMotorcycleParking: return QObject::tr("Motorcycle Parking");
+ case TransportSubwayEntrance: return QObject::tr("Subway Entrance");
+ case ReligionPlaceOfWorship: return QObject::tr("Place Of Worship");
+ case ReligionBahai: return QObject::tr("Bahai");
+ case ReligionBuddhist: return QObject::tr("Buddhist");
+ case ReligionChristian: return QObject::tr("Christian");
+ case ReligionMuslim: return QObject::tr("Muslim");
+ case ReligionHindu: return QObject::tr("Hindu");
+ case ReligionJain: return QObject::tr("Jain");
+ case ReligionJewish: return QObject::tr("Jewish");
+ case ReligionShinto: return QObject::tr("Shinto");
+ case ReligionSikh: return QObject::tr("Sikh");
+ case LeisureGolfCourse: return QObject::tr("Golf Course");
+ case LeisureMarina: return QObject::tr("Marina");
+ case LeisurePark: return QObject::tr("Park");
+ case LeisurePlayground: return QObject::tr("Playground");
+ case LeisurePitch: return QObject::tr("Pitch");
+ case LeisureSportsCentre: return QObject::tr("Sports Centre");
+ case LeisureStadium: return QObject::tr("Stadium");
+ case LeisureTrack: return QObject::tr("Track");
+ case LeisureSwimmingPool: return QObject::tr("Swimming Pool");
+ case LanduseAllotments: return QObject::tr("Allotments");
+ case LanduseBasin: return QObject::tr("Basin");
+ case LanduseCemetery: return QObject::tr("Cemetery");
+ case LanduseCommercial: return QObject::tr("Commercial");
+ case LanduseConstruction: return QObject::tr("Construction");
+ case LanduseFarmland: return QObject::tr("Farmland");
+ case LanduseFarmyard: return QObject::tr("Farmyard");
+ case LanduseGarages: return QObject::tr("Garages");
+ case LanduseGrass: return QObject::tr("Grass");
+ case LanduseIndustrial: return QObject::tr("Industrial");
+ case LanduseLandfill: return QObject::tr("Landfill");
+ case LanduseMeadow: return QObject::tr("Meadow");
+ case LanduseMilitary: return QObject::tr("Military");
+ case LanduseQuarry: return QObject::tr("Quarry");
+ case LanduseRailway: return QObject::tr("Railway");
+ case LanduseReservoir: return QObject::tr("Reservoir");
+ case LanduseResidential: return QObject::tr("Residential");
+ case LanduseRetail: return QObject::tr("Retail");
+ case LanduseOrchard: return QObject::tr("Orchard");
+ case LanduseVineyard: return QObject::tr("Vineyard");
+ case RailwayRail: return QObject::tr("Rail");
+ case RailwayNarrowGauge: return QObject::tr("Narrow Gauge");
+ case RailwayTram: return QObject::tr("Tram");
+ case RailwayLightRail: return QObject::tr("Light Rail");
+ case RailwayAbandoned: return QObject::tr("Abandoned Railway");
+ case RailwaySubway: return QObject::tr("Subway");
+ case RailwayPreserved: return QObject::tr("Preserved Railway");
+ case RailwayMiniature: return QObject::tr("Miniature Railway");
+ case RailwayConstruction: return QObject::tr("Railway Construction");
+ case RailwayMonorail: return QObject::tr("Monorail");
+ case RailwayFunicular: return QObject::tr("Funicular Railway");
+ case PowerTower: return QObject::tr("Power Tower");
+ case Satellite: return QObject::tr("Satellite");
+ case AdminLevel1: return QObject::tr("Admin Boundary (Level 1)");
+ case AdminLevel2: return QObject::tr("Admin Boundary (Level 2)");
+ case AdminLevel3: return QObject::tr("Admin Boundary (Level 3)");
+ case AdminLevel4: return QObject::tr("Admin Boundary (Level 4)");
+ case AdminLevel5: return QObject::tr("Admin Boundary (Level 5)");
+ case AdminLevel6: return QObject::tr("Admin Boundary (Level 6)");
+ case AdminLevel7: return QObject::tr("Admin Boundary (Level 7)");
+ case AdminLevel8: return QObject::tr("Admin Boundary (Level 8)");
+ case AdminLevel9: return QObject::tr("Admin Boundary (Level 9)");
+ case AdminLevel10: return QObject::tr("Admin Boundary (Level 10)");
+ case AdminLevel11: return QObject::tr("Admin Boundary (Level 11)");
+ case BoundaryMaritime: return QObject::tr("Boundary (Maritime)");
+ case Landmass: return QObject::tr("Land Mass");
+ case UrbanArea: return QObject::tr("Urban Area");
+ case InternationalDateLine: return QObject::tr("International Date Line");
+ case Bathymetry: return QObject::tr("Bathymetry");
+ case Valley: return QObject::tr("Valley");
+ case OtherTerrain: return QObject::tr("Terrain");
+ case Crater: return QObject::tr("Crater");
+ case Mare: return QObject::tr("Sea");
+ case MannedLandingSite: return QObject::tr("Manned Landing Site");
+ case RoboticRover: return QObject::tr("Robotic Rover");
+ case UnmannedSoftLandingSite: return QObject::tr("Unmanned Soft Landing Site");
+ case UnmannedHardLandingSite: return QObject::tr("Unmanned Hard Landing Site");
+ case Mons: return QObject::tr("Mountain");
+ case Default:
+ case Unknown:
+ case None:
+ case LastIndex: return QString();
+ }
+
+ return QString();
}
void GeoDataFeature::detach()
diff --git a/src/lib/marble/geodata/data/GeoDataFeature_p.h b/src/lib/marble/geodata/data/GeoDataFeature_p.h
index 2b41a62..b99e890 100644
--- a/src/lib/marble/geodata/data/GeoDataFeature_p.h
+++ b/src/lib/marble/geodata/data/GeoDataFeature_p.h
@@ -30,7 +30,6 @@ namespace Marble
class GeoDataFeaturePrivate
{
- Q_DECLARE_TR_FUNCTIONS(GeoDataFeature)
public:
GeoDataFeaturePrivate() :
m_name(),
@@ -125,304 +124,6 @@ class GeoDataFeaturePrivate
return GeoDataTypes::GeoDataFeatureType;
}
- QString categoryName() const
- {
- switch (m_visualCategory) {
- case GeoDataFeature::SmallCity: return tr("City");
- case GeoDataFeature::SmallCountyCapital: return tr("County Capital");
- case GeoDataFeature::SmallStateCapital: return tr("State Capital");
- case GeoDataFeature::SmallNationCapital: return tr("Nation Capital");
- case GeoDataFeature::MediumCity: return tr("City");
- case GeoDataFeature::MediumCountyCapital: return tr("County Capital");
- case GeoDataFeature::MediumStateCapital: return tr("State Capital");
- case GeoDataFeature::MediumNationCapital: return tr("Nation Capital");
- case GeoDataFeature::BigCity: return tr("City");
- case GeoDataFeature::BigCountyCapital: return tr("County Capital");
- case GeoDataFeature::BigStateCapital: return tr("State Capital");
- case GeoDataFeature::BigNationCapital: return tr("Nation Capital");
- case GeoDataFeature::LargeCity: return tr("City");
- case GeoDataFeature::LargeCountyCapital: return tr("County Capital");
- case GeoDataFeature::LargeStateCapital: return tr("State Capital");
- case GeoDataFeature::LargeNationCapital: return tr("Nation Capital");
- case GeoDataFeature::Nation: return tr("Nation");
- case GeoDataFeature::PlaceCity: return tr("City");
- case GeoDataFeature::PlaceSuburb: return tr("Suburb");
- case GeoDataFeature::PlaceHamlet: return tr("Hamlet");
- case GeoDataFeature::PlaceLocality: return tr("Locality");
- case GeoDataFeature::PlaceTown: return tr("Town");
- case GeoDataFeature::PlaceVillage: return tr("Village");
- case GeoDataFeature::Mountain: return tr("Mountain");
- case GeoDataFeature::Volcano: return tr("Volcano");
- case GeoDataFeature::Continent: return tr("Continent");
- case GeoDataFeature::Ocean: return tr("Ocean");
- case GeoDataFeature::GeographicPole: return tr("Geographic Pole");
- case GeoDataFeature::MagneticPole: return tr("Magnetic Pole");
- case GeoDataFeature::ShipWreck: return tr("Ship Wreck");
- case GeoDataFeature::AirPort: return tr("Air Port");
- case GeoDataFeature::Observatory: return tr("Observatory");
- case GeoDataFeature::MilitaryDangerArea: return tr("Military Danger Area");
- case GeoDataFeature::OsmSite: return tr("OSM Site");
- case GeoDataFeature::Coordinate: return tr("Coordinate");
- case GeoDataFeature::Folder: return tr("Folder");
- case GeoDataFeature::Bookmark: return tr("Bookmark");
- case GeoDataFeature::NaturalWater: return tr("Water");
- case GeoDataFeature::NaturalReef: return tr("Reef");
- case GeoDataFeature::NaturalWood: return tr("Wood");
- case GeoDataFeature::NaturalBeach: return tr("Beach");
- case GeoDataFeature::NaturalWetland: return tr("Wetland");
- case GeoDataFeature::NaturalGlacier: return tr("Glacier");
- case GeoDataFeature::NaturalIceShelf: return tr("Ice Shelf");
- case GeoDataFeature::NaturalScrub: return tr("Scrub");
- case GeoDataFeature::NaturalCliff: return tr("Cliff");
- case GeoDataFeature::NaturalHeath: return tr("Heath");
- case GeoDataFeature::HighwayTrafficSignals: return tr("Traffic Signals");
- case GeoDataFeature::HighwaySteps: return tr("Steps");
- case GeoDataFeature::HighwayUnknown: return tr("Unknown Road");
- case GeoDataFeature::HighwayPath: return tr("Path");
- case GeoDataFeature::HighwayFootway: return tr("Footway");
- case GeoDataFeature::HighwayTrack: return tr("Track");
- case GeoDataFeature::HighwayPedestrian: return tr("Footway");
- case GeoDataFeature::HighwayCycleway: return tr("Cycleway");
- case GeoDataFeature::HighwayService: return tr("Service Road");
- case GeoDataFeature::HighwayRoad: return tr("Road");
- case GeoDataFeature::HighwayResidential: return tr("Residential Road");
- case GeoDataFeature::HighwayLivingStreet: return tr("Living Street");
- case GeoDataFeature::HighwayUnclassified: return tr("Unclassified Road");
- case GeoDataFeature::HighwayTertiaryLink: return tr("Tertiary Link Road");
- case GeoDataFeature::HighwayTertiary: return tr("Tertiary Road");
- case GeoDataFeature::HighwaySecondaryLink: return tr("Secondary Link Road");
- case GeoDataFeature::HighwaySecondary: return tr("Secondary Road");
- case GeoDataFeature::HighwayPrimaryLink: return tr("Primary Link Road");
- case GeoDataFeature::HighwayPrimary: return tr("Primary Road");
- case GeoDataFeature::HighwayTrunkLink: return tr("Trunk Link Road");
- case GeoDataFeature::HighwayTrunk: return tr("Trunk Road");
- case GeoDataFeature::HighwayMotorwayLink: return tr("Motorway Link Road");
- case GeoDataFeature::HighwayMotorway: return tr("Motorway");
- case GeoDataFeature::Building: return tr("Building");
- case GeoDataFeature::AccomodationCamping: return tr("Camping");
- case GeoDataFeature::AccomodationHostel: return tr("Hostel");
- case GeoDataFeature::AccomodationHotel: return tr("Hotel");
- case GeoDataFeature::AccomodationMotel: return tr("Motel");
- case GeoDataFeature::AccomodationYouthHostel: return tr("Youth Hostel");
- case GeoDataFeature::AccomodationGuestHouse: return tr("Guest House");
- case GeoDataFeature::AmenityLibrary: return tr("Library");
- case GeoDataFeature::AmenityKindergarten: return tr("Kindergarten");
- case GeoDataFeature::EducationCollege: return tr("College");
- case GeoDataFeature::EducationSchool: return tr("School");
- case GeoDataFeature::EducationUniversity: return tr("University");
- case GeoDataFeature::FoodBar: return tr("Bar");
- case GeoDataFeature::FoodBiergarten: return tr("Biergarten");
- case GeoDataFeature::FoodCafe: return tr("Cafe");
- case GeoDataFeature::FoodFastFood: return tr("Fast Food");
- case GeoDataFeature::FoodPub: return tr("Pub");
- case GeoDataFeature::FoodRestaurant: return tr("Restaurant");
- case GeoDataFeature::HealthDentist: return tr("Dentist");
- case GeoDataFeature::HealthDoctors: return tr("Doctors");
- case GeoDataFeature::HealthHospital: return tr("Hospital");
- case GeoDataFeature::HealthPharmacy: return tr("Pharmacy");
- case GeoDataFeature::HealthVeterinary: return tr("Veterinary");
- case GeoDataFeature::MoneyAtm: return tr("ATM");
- case GeoDataFeature::MoneyBank: return tr("Bank");
- case GeoDataFeature::AmenityArchaeologicalSite: return tr("Archaeological Site");
- case GeoDataFeature::AmenityEmbassy: return tr("Embassy");
- case GeoDataFeature::AmenityEmergencyPhone: return tr("Emergency Phone");
- case GeoDataFeature::AmenityWaterPark: return tr("Water Park");
- case GeoDataFeature::AmenityCommunityCentre: return tr("Community Centre");
- case GeoDataFeature::AmenityFountain: return tr("Fountain");
- case GeoDataFeature::AmenityNightClub: return tr("Night Club");
- case GeoDataFeature::AmenityBench: return tr("Bench");
- case GeoDataFeature::AmenityCourtHouse: return tr("Court House");
- case GeoDataFeature::AmenityFireStation: return tr("Fire Station");
- case GeoDataFeature::AmenityHuntingStand: return tr("Hunting Stand");
- case GeoDataFeature::AmenityPolice: return tr("Police");
- case GeoDataFeature::AmenityPostBox: return tr("Post Box");
- case GeoDataFeature::AmenityPostOffice: return tr("Post Office");
- case GeoDataFeature::AmenityPrison: return tr("Prison");
- case GeoDataFeature::AmenityRecycling: return tr("Recycling");
- case GeoDataFeature::AmenityShelter: return tr("Shelter");
- case GeoDataFeature::AmenityTelephone: return tr("Telephone");
- case GeoDataFeature::AmenityToilets: return tr("Toilets");
- case GeoDataFeature::AmenityTownHall: return tr("Town Hall");
- case GeoDataFeature::AmenityWasteBasket: return tr("Waste Basket");
- case GeoDataFeature::AmenityDrinkingWater: return tr("Drinking Water");
- case GeoDataFeature::AmenityGraveyard: return tr("Graveyard");
- case GeoDataFeature::BarrierCityWall: return tr("City Wall");
- case GeoDataFeature::BarrierGate: return tr("Gate");
- case GeoDataFeature::BarrierLiftGate: return tr("Lift Gate");
- case GeoDataFeature::BarrierWall: return tr("Wall");
- case GeoDataFeature::NaturalPeak: return tr("Peak");
- case GeoDataFeature::NaturalTree: return tr("Tree");
- case GeoDataFeature::ShopBeverages: return tr("Beverages");
- case GeoDataFeature::ShopHifi: return tr("Hifi");
- case GeoDataFeature::ShopSupermarket: return tr("Supermarket");
- case GeoDataFeature::ShopAlcohol: return tr("Alcohol");
- case GeoDataFeature::ShopBakery: return tr("Bakery");
- case GeoDataFeature::ShopButcher: return tr("Butcher");
- case GeoDataFeature::ShopConfectionery: return tr("Confectionery");
- case GeoDataFeature::ShopConvenience: return tr("Convenience Shop");
- case GeoDataFeature::ShopGreengrocer: return tr("Greengrocer");
- case GeoDataFeature::ShopSeafood: return tr("Seafood");
- case GeoDataFeature::ShopDepartmentStore: return tr("Department Store");
- case GeoDataFeature::ShopKiosk: return tr("Kiosk");
- case GeoDataFeature::ShopBag: return tr("Bag");
- case GeoDataFeature::ShopClothes: return tr("Clothes");
- case GeoDataFeature::ShopFashion: return tr("Fashion");
- case GeoDataFeature::ShopJewelry: return tr("Jewelry");
- case GeoDataFeature::ShopShoes: return tr("Shoes");
- case GeoDataFeature::ShopVarietyStore: return tr("Variety Store");
- case GeoDataFeature::ShopBeauty: return tr("Beauty");
- case GeoDataFeature::ShopChemist: return tr("Chemist");
- case GeoDataFeature::ShopCosmetics: return tr("Cosmetics");
- case GeoDataFeature::ShopHairdresser: return tr("Hairdresser");
- case GeoDataFeature::ShopOptician: return tr("Optician");
- case GeoDataFeature::ShopPerfumery: return tr("Perfumery");
- case GeoDataFeature::ShopDoitYourself: return tr("Doit Yourself");
- case GeoDataFeature::ShopFlorist: return tr("Florist");
- case GeoDataFeature::ShopHardware: return tr("Hardware");
- case GeoDataFeature::ShopFurniture: return tr("Furniture");
- case GeoDataFeature::ShopElectronics: return tr("Electronics");
- case GeoDataFeature::ShopMobilePhone: return tr("Mobile Phone");
- case GeoDataFeature::ShopBicycle: return tr("Bicycle");
- case GeoDataFeature::ShopCar: return tr("Car");
- case GeoDataFeature::ShopCarRepair: return tr("Car Repair");
- case GeoDataFeature::ShopCarParts: return tr("Car Parts");
- case GeoDataFeature::ShopMotorcycle: return tr("Motorcycle");
- case GeoDataFeature::ShopOutdoor: return tr("Outdoor");
- case GeoDataFeature::ShopMusicalInstrument: return tr("Musical Instrument");
- case GeoDataFeature::ShopPhoto: return tr("Photo");
- case GeoDataFeature::ShopBook: return tr("Book");
- case GeoDataFeature::ShopGift: return tr("Gift");
- case GeoDataFeature::ShopStationery: return tr("Stationery");
- case GeoDataFeature::ShopLaundry: return tr("Laundry");
- case GeoDataFeature::ShopPet: return tr("Pet");
- case GeoDataFeature::ShopToys: return tr("Toys");
- case GeoDataFeature::ShopTravelAgency: return tr("Travel Agency");
- case GeoDataFeature::Shop: return tr("Shop");
- case GeoDataFeature::ManmadeBridge: return tr("Bridge");
- case GeoDataFeature::ManmadeLighthouse: return tr("Lighthouse");
- case GeoDataFeature::ManmadePier: return tr("Pier");
- case GeoDataFeature::ManmadeWaterTower: return tr("Water Tower");
- case GeoDataFeature::ManmadeWindMill: return tr("Wind Mill");
- case GeoDataFeature::TouristAttraction: return tr("Tourist Attraction");
- case GeoDataFeature::TouristCastle: return tr("Castle");
- case GeoDataFeature::TouristCinema: return tr("Cinema");
- case GeoDataFeature::TouristInformation: return tr("Information");
- case GeoDataFeature::TouristMonument: return tr("Monument");
- case GeoDataFeature::TouristMuseum: return tr("Museum");
- case GeoDataFeature::TouristRuin: return tr("Ruin");
- case GeoDataFeature::TouristTheatre: return tr("Theatre");
- case GeoDataFeature::TouristThemePark: return tr("Theme Park");
- case GeoDataFeature::TouristViewPoint: return tr("View Point");
- case GeoDataFeature::TouristZoo: return tr("Zoo");
- case GeoDataFeature::TouristAlpineHut: return tr("Alpine Hut");
- case GeoDataFeature::TransportAerodrome: return tr("Aerodrome");
- case GeoDataFeature::TransportHelipad: return tr("Helipad");
- case GeoDataFeature::TransportAirportGate: return tr("Airport Gate");
- case GeoDataFeature::TransportAirportRunway: return tr("Airport Runway");
- case GeoDataFeature::TransportAirportApron: return tr("Airport Apron");
- case GeoDataFeature::TransportAirportTaxiway: return tr("Airport Taxiway");
- case GeoDataFeature::TransportAirportTerminal: return tr("Airport Terminal");
- case GeoDataFeature::TransportBusStation: return tr("Bus Station");
- case GeoDataFeature::TransportBusStop: return tr("Bus Stop");
- case GeoDataFeature::TransportCarShare: return tr("Car Sharing");
- case GeoDataFeature::TransportFuel: return tr("Gas Station");
- case GeoDataFeature::TransportParking: return tr("Parking");
- case GeoDataFeature::TransportParkingSpace: return tr("Parking Space");
- case GeoDataFeature::TransportPlatform: return tr("Platform");
- case GeoDataFeature::TransportRentalBicycle: return tr("Rental Bicycle");
- case GeoDataFeature::TransportRentalCar: return tr("Rental Car");
- case GeoDataFeature::TransportTaxiRank: return tr("Taxi Rank");
- case GeoDataFeature::TransportTrainStation: return tr("Train Station");
- case GeoDataFeature::TransportTramStop: return tr("Tram Stop");
- case GeoDataFeature::TransportBicycleParking: return tr("Bicycle Parking");
- case GeoDataFeature::TransportMotorcycleParking: return tr("Motorcycle Parking");
- case GeoDataFeature::TransportSubwayEntrance: return tr("Subway Entrance");
- case GeoDataFeature::ReligionPlaceOfWorship: return tr("Place Of Worship");
- case GeoDataFeature::ReligionBahai: return tr("Bahai");
- case GeoDataFeature::ReligionBuddhist: return tr("Buddhist");
- case GeoDataFeature::ReligionChristian: return tr("Christian");
- case GeoDataFeature::ReligionMuslim: return tr("Muslim");
- case GeoDataFeature::ReligionHindu: return tr("Hindu");
- case GeoDataFeature::ReligionJain: return tr("Jain");
- case GeoDataFeature::ReligionJewish: return tr("Jewish");
- case GeoDataFeature::ReligionShinto: return tr("Shinto");
- case GeoDataFeature::ReligionSikh: return tr("Sikh");
- case GeoDataFeature::LeisureGolfCourse: return tr("Golf Course");
- case GeoDataFeature::LeisureMarina: return tr("Marina");
- case GeoDataFeature::LeisurePark: return tr("Park");
- case GeoDataFeature::LeisurePlayground: return tr("Playground");
- case GeoDataFeature::LeisurePitch: return tr("Pitch");
- case GeoDataFeature::LeisureSportsCentre: return tr("Sports Centre");
- case GeoDataFeature::LeisureStadium: return tr("Stadium");
- case GeoDataFeature::LeisureTrack: return tr("Track");
- case GeoDataFeature::LeisureSwimmingPool: return tr("Swimming Pool");
- case GeoDataFeature::LanduseAllotments: return tr("Allotments");
- case GeoDataFeature::LanduseBasin: return tr("Basin");
- case GeoDataFeature::LanduseCemetery: return tr("Cemetery");
- case GeoDataFeature::LanduseCommercial: return tr("Commercial");
- case GeoDataFeature::LanduseConstruction: return tr("Construction");
- case GeoDataFeature::LanduseFarmland: return tr("Farmland");
- case GeoDataFeature::LanduseFarmyard: return tr("Farmyard");
- case GeoDataFeature::LanduseGarages: return tr("Garages");
- case GeoDataFeature::LanduseGrass: return tr("Grass");
- case GeoDataFeature::LanduseIndustrial: return tr("Industrial");
- case GeoDataFeature::LanduseLandfill: return tr("Landfill");
- case GeoDataFeature::LanduseMeadow: return tr("Meadow");
- case GeoDataFeature::LanduseMilitary: return tr("Military");
- case GeoDataFeature::LanduseQuarry: return tr("Quarry");
- case GeoDataFeature::LanduseRailway: return tr("Railway");
- case GeoDataFeature::LanduseReservoir: return tr("Reservoir");
- case GeoDataFeature::LanduseResidential: return tr("Residential");
- case GeoDataFeature::LanduseRetail: return tr("Retail");
- case GeoDataFeature::LanduseOrchard: return tr("Orchard");
- case GeoDataFeature::LanduseVineyard: return tr("Vineyard");
- case GeoDataFeature::RailwayRail: return tr("Rail");
- case GeoDataFeature::RailwayNarrowGauge: return tr("Narrow Gauge");
- case GeoDataFeature::RailwayTram: return tr("Tram");
- case GeoDataFeature::RailwayLightRail: return tr("Light Rail");
- case GeoDataFeature::RailwayAbandoned: return tr("Abandoned Railway");
- case GeoDataFeature::RailwaySubway: return tr("Subway");
- case GeoDataFeature::RailwayPreserved: return tr("Preserved Railway");
- case GeoDataFeature::RailwayMiniature: return tr("Miniature Railway");
- case GeoDataFeature::RailwayConstruction: return tr("Railway Construction");
- case GeoDataFeature::RailwayMonorail: return tr("Monorail");
- case GeoDataFeature::RailwayFunicular: return tr("Funicular Railway");
- case GeoDataFeature::PowerTower: return tr("Power Tower");
- case GeoDataFeature::Satellite: return tr("Satellite");
- case GeoDataFeature::AdminLevel1: return tr("Admin Boundary (Level 1)");
- case GeoDataFeature::AdminLevel2: return tr("Admin Boundary (Level 2)");
- case GeoDataFeature::AdminLevel3: return tr("Admin Boundary (Level 3)");
- case GeoDataFeature::AdminLevel4: return tr("Admin Boundary (Level 4)");
- case GeoDataFeature::AdminLevel5: return tr("Admin Boundary (Level 5)");
- case GeoDataFeature::AdminLevel6: return tr("Admin Boundary (Level 6)");
- case GeoDataFeature::AdminLevel7: return tr("Admin Boundary (Level 7)");
- case GeoDataFeature::AdminLevel8: return tr("Admin Boundary (Level 8)");
- case GeoDataFeature::AdminLevel9: return tr("Admin Boundary (Level 9)");
- case GeoDataFeature::AdminLevel10: return tr("Admin Boundary (Level 10)");
- case GeoDataFeature::AdminLevel11: return tr("Admin Boundary (Level 11)");
- case GeoDataFeature::BoundaryMaritime: return tr("Boundary (Maritime)");
- case GeoDataFeature::Landmass: return tr("Land Mass");
- case GeoDataFeature::UrbanArea: return tr("Urban Area");
- case GeoDataFeature::InternationalDateLine: return tr("International Date Line");
- case GeoDataFeature::Bathymetry: return tr("Bathymetry");
- case GeoDataFeature::Valley: return tr("Valley");
- case GeoDataFeature::OtherTerrain: return tr("Terrain");
- case GeoDataFeature::Crater: return tr("Crater");
- case GeoDataFeature::Mare: return tr("Sea");
- case GeoDataFeature::MannedLandingSite: return tr("Manned Landing Site");
- case GeoDataFeature::RoboticRover: return tr("Robotic Rover");
- case GeoDataFeature::UnmannedSoftLandingSite: return tr("Unmanned Soft Landing Site");
- case GeoDataFeature::UnmannedHardLandingSite: return tr("Unmanned Hard Landing Site");
- case GeoDataFeature::Mons: return tr("Mountain");
- case GeoDataFeature::Default:
- case GeoDataFeature::Unknown:
- case GeoDataFeature::None:
- case GeoDataFeature::LastIndex: return QString();
- }
-
- return QString();
- }
-
QString m_name; // Name of the feature. Is shown on screen
GeoDataSnippet m_snippet; // Snippet of the feature.