Skip to content

Commit

Permalink
Fix highways (#291)
Browse files Browse the repository at this point in the history
  • Loading branch information
wipfli authored Aug 22, 2024
1 parent 8e982d7 commit 48bd9fb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tiles/src/main/java/com/protomaps/basemap/layers/Roads.java
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,8 @@ public void processOsm(SourceFeature sf, FeatureCollector features) {
// Core OSM tags for different kinds of places
.setAttrWithMinzoom("layer", Parse.parseIntOrNull(sf.getString("layer")), 12)
.setAttrWithMinzoom("oneway", sf.getString("oneway"), 14)
// `highway` is a temporary attribute that gets removed in the post-process step
.setAttr("highway", highway)
.setMinPixelSize(0)
.setPixelTolerance(0)
.setZoomRange(minZoom, maxZoom);
Expand Down

0 comments on commit 48bd9fb

Please sign in to comment.