Commit 9350556f authored by Dennis Nienhüser's avatar Dennis Nienhüser Committed by Friedrich W. H. Kossebau
Browse files

Merge rivers as well

parent aeabc117
......@@ -38,8 +38,11 @@ WayConcatenator::WayConcatenator(GeoDataDocument *document) :
bool isWay = false;
if (placemark->geometry()->nodeType() == GeoDataTypes::GeoDataLineStringType) {
OsmPlacemarkData const & osmData = placemark->osmData();
if (osmData.containsTagKey("highway") || osmData.containsTagKey("railway")) {
isWay = true;
isWay = osmData.containsTagKey("highway") ||
osmData.containsTagKey("railway") ||
osmData.containsTagKey("waterway");
if (isWay) {
;
++m_originalWays;
GeoDataLineString *line = static_cast<GeoDataLineString*>(placemark->geometry());
qint64 firstId = osmData.nodeReference(line->first()).id();
......
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