summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Beschow <bbeschow@cs.tu-berlin.de>2016-08-20 12:36:04 (GMT)
committerBernhard Beschow <bbeschow@cs.tu-berlin.de>2016-08-20 12:36:04 (GMT)
commitce8c3943ed5f82e8af12a2f3ba3a6362a392eb6e (patch)
tree48eb78df0a9c5bf6513012f585049b724f609fec
parent88ed905c59bec5c587336725489bca2a662b37ee (diff)
map to OSM visual categories
-rw-r--r--src/plugins/runner/local-osm-search/LocalOsmSearchRunner.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/runner/local-osm-search/LocalOsmSearchRunner.cpp b/src/plugins/runner/local-osm-search/LocalOsmSearchRunner.cpp
index 2db4264..47ba1b1 100644
--- a/src/plugins/runner/local-osm-search/LocalOsmSearchRunner.cpp
+++ b/src/plugins/runner/local-osm-search/LocalOsmSearchRunner.cpp
@@ -83,13 +83,13 @@ LocalOsmSearchRunner::LocalOsmSearchRunner( const QStringList &databaseFiles, QO
m_categoryMap[OsmPlacemark::TransportTaxiRank] = GeoDataFeature::TransportTaxiRank;
m_categoryMap[OsmPlacemark::PlacesRegion] = GeoDataFeature::OsmSite;
m_categoryMap[OsmPlacemark::PlacesCounty] = GeoDataFeature::OsmSite;
- m_categoryMap[OsmPlacemark::PlacesCity] = GeoDataFeature::LargeCity;
- m_categoryMap[OsmPlacemark::PlacesTown] = GeoDataFeature::MediumCity;
- m_categoryMap[OsmPlacemark::PlacesVillage] = GeoDataFeature::SmallCity;
- m_categoryMap[OsmPlacemark::PlacesHamlet] = GeoDataFeature::OsmSite;
+ m_categoryMap[OsmPlacemark::PlacesCity] = GeoDataFeature::PlaceCity;
+ m_categoryMap[OsmPlacemark::PlacesTown] = GeoDataFeature::PlaceTown;
+ m_categoryMap[OsmPlacemark::PlacesVillage] = GeoDataFeature::PlaceVillage;
+ m_categoryMap[OsmPlacemark::PlacesHamlet] = GeoDataFeature::PlaceHamlet;
m_categoryMap[OsmPlacemark::PlacesIsolatedDwelling] = GeoDataFeature::OsmSite;
- m_categoryMap[OsmPlacemark::PlacesSuburb] = GeoDataFeature::OsmSite;
- m_categoryMap[OsmPlacemark::PlacesLocality] = GeoDataFeature::OsmSite;
+ m_categoryMap[OsmPlacemark::PlacesSuburb] = GeoDataFeature::PlaceSuburb;
+ m_categoryMap[OsmPlacemark::PlacesLocality] = GeoDataFeature::PlaceLocality;
m_categoryMap[OsmPlacemark::PlacesIsland] = GeoDataFeature::OsmSite;
}
}