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
…] (#314)

* roads kind=ferry: filter by route=ferry instead of ferry=*. fixes [#312]

* bump to 4.0.1
  • Loading branch information
bdon authored Oct 10, 2024
1 parent df57222 commit 6a009d0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Tiles v4.0.1
------
- fix `roads` `kind=ferry`, remove ferry `kind_detail` [#312]

Styles v4.0.0 + Tiles v4.0.0
------
- Remove `medium_road`
Expand Down
2 changes: 1 addition & 1 deletion tiles/src/main/java/com/protomaps/basemap/Basemap.java
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public String description() {

@Override
public String version() {
return "4.0.0";
return "4.0.1";
}

@Override
Expand Down
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 6a009d0

Please sign in to comment.