Skip to content

Commit 60b63bb

Browse files
pietervdvnwipfli
andauthored
Update Roads.java: exclude 'platform_edge' from railways (#547)
* Update Roads.java: exclude 'platform_edge' from railways * Add render test for railway platform edge --------- Co-authored-by: Oliver Wipfli <[email protected]>
1 parent 6e69fb5 commit 60b63bb

File tree

5 files changed

+20
-2
lines changed

5 files changed

+20
-2
lines changed
755 Bytes
Loading
491 Bytes
Binary file not shown.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"version": 8,
3+
"metadata": {
4+
"test": {
5+
"width": 256,
6+
"height": 256,
7+
"flavor": "light",
8+
"lang": "en"
9+
},
10+
"link": "https://github.com/protomaps/basemaps/pull/547"
11+
},
12+
"center": [
13+
-0.1243432,
14+
51.5130632
15+
],
16+
"zoom": 19
17+
}

tiles/src/main/java/com/protomaps/basemap/Basemap.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ public String description() {
119119

120120
@Override
121121
public String version() {
122-
return "4.13.6";
122+
return "4.13.7";
123123
}
124124

125125
@Override

tiles/src/main/java/com/protomaps/basemap/layers/Roads.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,8 @@ private void processOsmNonHighways(SourceFeature sf, FeatureCollector features)
410410
return;
411411
}
412412

413-
if (sf.hasTag("railway", "abandoned", "razed", "demolished", "removed", "construction", "platform", "proposed")) {
413+
if (sf.hasTag("railway", "abandoned", "razed", "demolished", "removed", "construction", "platform", "platform_edge",
414+
"proposed")) {
414415
return;
415416
}
416417

0 commit comments

Comments
 (0)