Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,14 @@ private boolean processWaterwayFeature(SourceFeature feature, FeatureCollector f
if (!Waterways.containsKey(name)) {
return false;
}
for (var routeInfo : feature.relationInfo(RelationInfo.class)) {
RelationInfo relation = routeInfo.relation();
if (relation.pointDocument.poiIcon == "icon-waterfall") {
// In case this waterway is part of a relation, we already processed it
return true;
}
}

var minId = Waterways.get(name).minId;
if (!WaysLineMergers.containsKey(minId)) {
WaysLineMergers.put(minId, new MergedLinesHelper());
Expand Down