Commit ce8c3943 authored by Bernhard Beschow's avatar Bernhard Beschow
Browse files

map to OSM visual categories

parent 88ed905c
......@@ -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;
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment