Commit f9134e03 authored by Dennis Nienhüser's avatar Dennis Nienhüser
Browse files

Kremlins resemble a complex, not a building

OSM Wiki: "A kremlin is a major fortified central complex found in
historic Russian cities."
parent 310594b4
......@@ -77,6 +77,10 @@ void OsmRelation::create(GeoDataDocument *document, const OsmWays &ways, const O
} // else we keep it
}
if (m_osmData.containsTag("historic", "castle") && m_osmData.containsTag("castle_type", "kremlin")) {
outerCategory = GeoDataFeature::None;
}
GeoDataPlacemark* placemark = new GeoDataPlacemark;
placemark->setName(m_osmData.tagValue("name"));
placemark->setOsmData(m_osmData);
......
Markdown is supported
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