diff --git a/assets/layers/transit_stops/ferry.svg b/assets/layers/transit_stops/ferry.svg
new file mode 100644
index 000000000..44ee50cf5
--- /dev/null
+++ b/assets/layers/transit_stops/ferry.svg
@@ -0,0 +1,12 @@
+
+
\ No newline at end of file
diff --git a/assets/layers/transit_stops/ferry.svg.license b/assets/layers/transit_stops/ferry.svg.license
new file mode 100644
index 000000000..66d129eb7
--- /dev/null
+++ b/assets/layers/transit_stops/ferry.svg.license
@@ -0,0 +1,2 @@
+SPDX-FileCopyrightText: DePiep
+SPDX-License-Identifier: CC0-1.0
\ No newline at end of file
diff --git a/assets/layers/transit_stops/license_info.json b/assets/layers/transit_stops/license_info.json
index 6f9a07dd7..b01f09c1e 100644
--- a/assets/layers/transit_stops/license_info.json
+++ b/assets/layers/transit_stops/license_info.json
@@ -11,5 +11,35 @@
"sources": [
"https://github.com/gravitystorm/openstreetmap-carto/blob/master/symbols/highway/bus_stop.svg"
]
+ },
+ {
+ "path": "ferry.svg",
+ "license": "CC0-1.0",
+ "authors": [
+ "DePiep"
+ ],
+ "sources": [
+ "https://commons.wikimedia.org/wiki/File:BSicon_ANCHOR.svg"
+ ]
+ },
+ {
+ "path": "subway.svg",
+ "license": "CC0-1.0",
+ "authors": [
+ "Siyuwj"
+ ],
+ "sources": [
+ "https://commons.wikimedia.org/wiki/File:BSicon_SUBWAY-CHN.svg"
+ ]
+ },
+ {
+ "path": "tram.svg",
+ "license": "CC0-1.0",
+ "authors": [
+ "BjørnN"
+ ],
+ "sources": [
+ "https://commons.wikimedia.org/wiki/File:BSicon_TRAM1.svg"
+ ]
}
]
\ No newline at end of file
diff --git a/assets/layers/transit_stops/subway.svg b/assets/layers/transit_stops/subway.svg
new file mode 100644
index 000000000..38b093ec6
--- /dev/null
+++ b/assets/layers/transit_stops/subway.svg
@@ -0,0 +1,51 @@
+
+
diff --git a/assets/layers/transit_stops/subway.svg.license b/assets/layers/transit_stops/subway.svg.license
new file mode 100644
index 000000000..216ef8b51
--- /dev/null
+++ b/assets/layers/transit_stops/subway.svg.license
@@ -0,0 +1,2 @@
+SPDX-FileCopyrightText: Siyuwj
+SPDX-License-Identifier: CC0-1.0
\ No newline at end of file
diff --git a/assets/layers/transit_stops/tram.svg b/assets/layers/transit_stops/tram.svg
new file mode 100644
index 000000000..ee3a0a8d9
--- /dev/null
+++ b/assets/layers/transit_stops/tram.svg
@@ -0,0 +1,15 @@
+
+
\ No newline at end of file
diff --git a/assets/layers/transit_stops/tram.svg.license b/assets/layers/transit_stops/tram.svg.license
new file mode 100644
index 000000000..e23bb2a49
--- /dev/null
+++ b/assets/layers/transit_stops/tram.svg.license
@@ -0,0 +1,2 @@
+SPDX-FileCopyrightText: BjørnN
+SPDX-License-Identifier: CC0-1.0
\ No newline at end of file
diff --git a/assets/layers/transit_stops/transit_stops.json b/assets/layers/transit_stops/transit_stops.json
index fe4814dc9..58a86fab7 100644
--- a/assets/layers/transit_stops/transit_stops.json
+++ b/assets/layers/transit_stops/transit_stops.json
@@ -22,7 +22,9 @@
"source": {
"osmTags": {
"or": [
- "highway=bus_stop"
+ "highway=bus_stop",
+ "railway=platform",
+ "amenity=ferry_terminal"
]
}
},
@@ -32,7 +34,7 @@
"en": "Transit Stop",
"de": "Haltestelle",
"da": "Stoppested",
- "nl": "Bushalte",
+ "nl": "OV-halte",
"ca": "Parada de transport públic",
"cs": "Tranzitní zastávka",
"es": "Parada de transporte",
@@ -65,13 +67,39 @@
{
"icon": {
"render": "./assets/layers/transit_stops/bus_stop.svg",
- "mappings": []
+ "mappings": [
+ {
+ "if": "train=yes",
+ "then": "./assets/svg/train.svg"
+ },
+ {
+ "if": "subway=yes",
+ "then": "./assets/layers/transit_stops/subway.svg"
+ },
+ {
+ "if": "tram=yes",
+ "then": "./assets/layers/transit_stops/tram.svg"
+ },
+ {
+ "if": "light_rail=yes",
+ "then": "./assets/svg/train.svg"
+ },
+ {
+ "if": "ferry=yes",
+ "then": "./assets/layers/transit_stops/ferry.svg"
+ }
+ ]
}
}
]
}
],
- "lineRendering": [],
+ "lineRendering": [
+ {
+ "color": "#74717190",
+ "fillColor": "#74717190"
+ }
+ ],
"tagRenderings": [
{
"id": "stop_name",
@@ -134,6 +162,30 @@
}
]
},
+ {
+ "id": "ref",
+ "question": {
+ "en": "What is the platform reference of this stop?"
+ },
+ "render": {
+ "en": "The platform reference of this stop is {ref}."
+ },
+ "freeform": {
+ "key": "ref",
+ "type": "string",
+ "placeholder": {
+ "en": "e.g. A1 or 1"
+ }
+ },
+ "mappings": [
+ {
+ "if": "ref=",
+ "then": {
+ "en": "This stop has no platform reference"
+ }
+ }
+ ]
+ },
"images",
{
"id": "shelter",
@@ -561,4 +613,4 @@
"tactile_paving"
],
"allowMove": false
-}
+}
\ No newline at end of file
diff --git a/assets/themes/waste_assen/waste_assen.json b/assets/themes/waste_assen/waste_assen.json
index 31f064e70..870a57bf7 100644
--- a/assets/themes/waste_assen/waste_assen.json
+++ b/assets/themes/waste_assen/waste_assen.json
@@ -129,7 +129,8 @@
"osmTags": "_has_closeby_feature=no",
"question": "Zonder nabijgelegen vuilnisbak"
}
- ]
+ ],
+ "#": "ignore-possible-duplicate"
}
]
},
@@ -253,7 +254,8 @@
"osmTags": "_has_closeby_feature=no",
"question": "Zonder nabijgelegen recyclingcontainer"
}
- ]
+ ],
+ "#": "ignore-possible-duplicate"
}
]
},