Commit 0563f27
authored
Do not import bus/taxy/ferry-only platforms (#589)
Fixes #575
Always import `railway = platform`.
For `public_transport = platform`:
- Always import if `train = yes`
- Always import if `tram = yes`
- Always import if `subway = yes`
- Always import if `light_rail = yes`
- Else, do not import if any of `bus = yes` or `trolleybus = yes` or
`share_taxi = yes` or `ferry = yes`.
Also see
https://taginfo.openstreetmap.org/tags/public_transport=platform#combinations
(https://openrailwaymap.app/#view=18.46/52.5287048/13.3768069)
Before:
<img width="1099" height="829" alt="image"
src="https://github.com/user-attachments/assets/ea1c003d-e516-49c6-a12d-2bff5bf5b0a1"
/>
After:
<img width="1281" height="759" alt="image"
src="https://github.com/user-attachments/assets/495a08ce-15e4-4a6c-85dd-d03391061784"
/>1 parent 10ddb3a commit 0563f27
1 file changed
+23
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
825 | 825 | | |
826 | 826 | | |
827 | 827 | | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
828 | 848 | | |
829 | 849 | | |
830 | 850 | | |
| |||
924 | 944 | | |
925 | 945 | | |
926 | 946 | | |
927 | | - | |
| 947 | + | |
928 | 948 | | |
929 | 949 | | |
930 | 950 | | |
| |||
1165 | 1185 | | |
1166 | 1186 | | |
1167 | 1187 | | |
1168 | | - | |
| 1188 | + | |
1169 | 1189 | | |
1170 | 1190 | | |
1171 | 1191 | | |
| |||
1268 | 1288 | | |
1269 | 1289 | | |
1270 | 1290 | | |
1271 | | - | |
| 1291 | + | |
1272 | 1292 | | |
1273 | 1293 | | |
1274 | 1294 | | |
| |||
0 commit comments