From c6a3c7fe4886cab673de1f81474836cebaa2c60d Mon Sep 17 00:00:00 2001
From: Jeroen Hoek <mail@jeroenhoek.nl>
Date: Fri, 19 Mar 2021 12:36:57 +0100
Subject: [PATCH] Allow use of aeroway=holding_position on way
`aeroway=holding_position` can be used on ways as well as nodes. Using
it on ways is a later addition that JOSM did not support yet.
In this commit:
* Ways tagged with `aeroway=holding_position` are rendered in a subtle
yellow line colour.
* The validator no longer warns for use on ways.
* The preset is applicable on ways as well now.
---
resources/data/defaultpresets.xml | 2 +-
resources/data/validator/geometry.mapcss | 1 -
resources/styles/standard/elemstyles.mapcss | 4 ++++
3 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/resources/data/defaultpresets.xml b/resources/data/defaultpresets.xml
index 51be7b0ce..b65a49619 100644
a
|
b
|
|
3087 | 3087 | <reference ref="surface" /> |
3088 | 3088 | </optional> |
3089 | 3089 | </item> <!-- Taxiway --> |
3090 | | <item name="Holding Position" icon="presets/transport/airport/holding_position.svg" type="node" preset_name_label="true"> |
| 3090 | <item name="Holding Position" icon="presets/transport/airport/holding_position.svg" type="node,way" preset_name_label="true"> |
3091 | 3091 | <link wiki="Tag:aeroway=holding_position" /> |
3092 | 3092 | <key key="aeroway" value="holding_position" /> |
3093 | 3093 | <combo key="holding_position:type" text="Type" values="ILS,intermediate,runway" values_context="aeroway holding_position" /> |
diff --git a/resources/data/validator/geometry.mapcss b/resources/data/validator/geometry.mapcss
index ad114882f..7dd2daf94 100644
a
|
b
|
way[entrance],
|
103 | 103 | way[door], |
104 | 104 | way[railway=subway_entrance], |
105 | 105 | way[man_made=survey_point], |
106 | | way[aeroway=holding_position], |
107 | 106 | way[power=transformer], |
108 | 107 | way[transformer], |
109 | 108 | way[power=pole], |
diff --git a/resources/styles/standard/elemstyles.mapcss b/resources/styles/standard/elemstyles.mapcss
index abbf58778..f5029b2e4 100644
a
|
b
|
node[aeroway=holding_position] {
|
4225 | 4225 | icon-image: "presets/transport/airport/holding_position.svg"; |
4226 | 4226 | set icon_z17; |
4227 | 4227 | } |
| 4228 | way[aeroway=holding_position] { |
| 4229 | width: 1; |
| 4230 | color: aeroway_marking#D6CE08; |
| 4231 | } |
4228 | 4232 | node[aeroway=hangar] { |
4229 | 4233 | icon-image: "presets/transport/airport/hangar.svg"; |
4230 | 4234 | set icon_z17; |