Skip to content

Commit

Permalink
roads kind=ferry: filter by route=ferry instead of ferry=*. fixes [#312]
Browse files Browse the repository at this point in the history
  • Loading branch information
bdon committed Oct 9, 2024
1 parent 468df9f commit 464f211
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tiles/src/main/java/com/protomaps/basemap/layers/Roads.java
Original file line number Diff line number Diff line change
Expand Up @@ -225,9 +225,8 @@ public void processOsm(SourceFeature sf, FeatureCollector features) {
minZoom = 14;
}
}
} else if (sf.hasTag("ferry")) {
} else if (sf.hasTag("route", "ferry")) {
kind = "ferry";
kindDetail = sf.getString("ferry");
} else if (sf.hasTag("man_made", "pier")) {
kind = "path";
kindDetail = "pier";
Expand Down

0 comments on commit 464f211

Please sign in to comment.