diff --git a/data/presets.yaml b/data/presets.yaml index f2a2861fc..9bb2a6851 100644 --- a/data/presets.yaml +++ b/data/presets.yaml @@ -542,9 +542,9 @@ en: label: Type golf_hole: # ref=* - label: Reference + label: Hole Number # golf_hole field placeholder - placeholder: Hole number (1-18) + placeholder: (1-18) grape_variety: # grape_variety=* label: Grape Varieties @@ -1022,7 +1022,31 @@ en: container: Container ref: # ref=* - label: Reference + label: Reference Code + ref_aeroway: + # ref=* + label: Airport Code + ref_aeroway_gate: + # ref=* + label: Gate Number + ref_airfield: + # ref=* + label: Airfield Code + ref_highway_junction: + # ref=* + label: Junction Number + ref_platform: + # ref=* + label: Platform Number + ref_road_number: + # ref=* + label: Road Number + ref_route: + # ref=* + label: Route Number + ref_stop_position: + # ref=* + label: Stop Number relation: # type=* label: Type diff --git a/data/presets/fields.json b/data/presets/fields.json index c0bb8450d..541ebc4e8 100644 --- a/data/presets/fields.json +++ b/data/presets/fields.json @@ -751,8 +751,8 @@ "golf_hole": { "key": "ref", "type": "text", - "label": "Reference", - "placeholder": "Hole number (1-18)" + "label": "Hole Number", + "placeholder": "(1-18)" }, "grape_variety": { "key": "grape_variety", @@ -1361,10 +1361,50 @@ } } }, + "ref_aeroway_gate": { + "key": "ref", + "type": "text", + "label": "Gate Number" + }, + "ref_aeroway": { + "key": "ref", + "type": "text", + "label": "Airport Code" + }, + "ref_airfield": { + "key": "ref", + "type": "text", + "label": "Airfield Code" + }, + "ref_highway_junction": { + "key": "ref", + "type": "text", + "label": "Junction Number" + }, + "ref_platform": { + "key": "ref", + "type": "text", + "label": "Platform Number" + }, + "ref_road_number": { + "key": "ref", + "type": "text", + "label": "Road Number" + }, + "ref_route": { + "key": "ref", + "type": "text", + "label": "Route Number" + }, + "ref_stop_position": { + "key": "ref", + "type": "text", + "label": "Stop Number" + }, "ref": { "key": "ref", "type": "text", - "label": "Reference" + "label": "Reference Code" }, "relation": { "key": "type", diff --git a/data/presets/fields/golf_hole.json b/data/presets/fields/golf_hole.json index ec43fd845..56581d5d8 100644 --- a/data/presets/fields/golf_hole.json +++ b/data/presets/fields/golf_hole.json @@ -1,6 +1,6 @@ { "key": "ref", "type": "text", - "label": "Reference", - "placeholder": "Hole number (1-18)" -} \ No newline at end of file + "label": "Hole Number", + "placeholder": "(1-18)" +} diff --git a/data/presets/fields/ref.json b/data/presets/fields/ref.json index f84d90025..2ef67a6ea 100644 --- a/data/presets/fields/ref.json +++ b/data/presets/fields/ref.json @@ -1,5 +1,5 @@ { "key": "ref", "type": "text", - "label": "Reference" -} \ No newline at end of file + "label": "Reference Code" +} diff --git a/data/presets/fields/ref_aeroway.json b/data/presets/fields/ref_aeroway.json new file mode 100644 index 000000000..0fa758925 --- /dev/null +++ b/data/presets/fields/ref_aeroway.json @@ -0,0 +1,5 @@ +{ + "key": "ref", + "type": "text", + "label": "Airport Code" +} diff --git a/data/presets/fields/ref_aeroway_gate.json b/data/presets/fields/ref_aeroway_gate.json new file mode 100644 index 000000000..8e05a7630 --- /dev/null +++ b/data/presets/fields/ref_aeroway_gate.json @@ -0,0 +1,5 @@ +{ + "key": "ref", + "type": "text", + "label": "Gate Number" +} diff --git a/data/presets/fields/ref_airfield.json b/data/presets/fields/ref_airfield.json new file mode 100644 index 000000000..02011f972 --- /dev/null +++ b/data/presets/fields/ref_airfield.json @@ -0,0 +1,5 @@ +{ + "key": "ref", + "type": "text", + "label": "Airfield Code" +} diff --git a/data/presets/fields/ref_highway_junction.json b/data/presets/fields/ref_highway_junction.json new file mode 100644 index 000000000..581689c73 --- /dev/null +++ b/data/presets/fields/ref_highway_junction.json @@ -0,0 +1,5 @@ +{ + "key": "ref", + "type": "text", + "label": "Junction Number" +} diff --git a/data/presets/fields/ref_platform.json b/data/presets/fields/ref_platform.json new file mode 100644 index 000000000..036f4001c --- /dev/null +++ b/data/presets/fields/ref_platform.json @@ -0,0 +1,5 @@ +{ + "key": "ref", + "type": "text", + "label": "Platform Number" +} diff --git a/data/presets/fields/ref_road_number.json b/data/presets/fields/ref_road_number.json new file mode 100644 index 000000000..d23497c4a --- /dev/null +++ b/data/presets/fields/ref_road_number.json @@ -0,0 +1,5 @@ +{ + "key": "ref", + "type": "text", + "label": "Road Number" +} diff --git a/data/presets/fields/ref_route.json b/data/presets/fields/ref_route.json new file mode 100644 index 000000000..9efc25bb3 --- /dev/null +++ b/data/presets/fields/ref_route.json @@ -0,0 +1,5 @@ +{ + "key": "ref", + "type": "text", + "label": "Route Number" +} diff --git a/data/presets/fields/ref_stop_position.json b/data/presets/fields/ref_stop_position.json new file mode 100644 index 000000000..ddcebfa5a --- /dev/null +++ b/data/presets/fields/ref_stop_position.json @@ -0,0 +1,5 @@ +{ + "key": "ref", + "type": "text", + "label": "Stop Number" +} diff --git a/data/presets/presets.json b/data/presets/presets.json index 2118ed00c..9962fa6b3 100644 --- a/data/presets/presets.json +++ b/data/presets/presets.json @@ -362,7 +362,7 @@ "area" ], "fields": [ - "ref", + "ref_aeroway", "iata", "icao", "operator", @@ -403,7 +403,7 @@ "point" ], "fields": [ - "ref" + "ref_aeroway_gate" ], "tags": { "aeroway": "gate" @@ -5699,14 +5699,14 @@ "highway": "motorway_junction" }, "fields": [ - "ref" + "ref_highway_junction" ], "name": "Motorway Junction / Exit" }, "highway/motorway_link": { "icon": "highway-motorway-link", "fields": [ - "ref", + "ref_road_number", "oneway_yes", "maxspeed", "lanes", @@ -5739,7 +5739,7 @@ "highway/motorway": { "icon": "highway-motorway", "fields": [ - "ref", + "ref_road_number", "oneway_yes", "maxspeed", "lanes", @@ -5825,7 +5825,7 @@ "lanes", "surface", "maxheight", - "ref", + "ref_road_number", "cycleway", "structure", "access" @@ -5852,7 +5852,7 @@ "surface", "structure", "maxheight", - "ref", + "ref_road_number", "cycleway", "access" ], @@ -5964,7 +5964,7 @@ "surface", "structure", "maxheight", - "ref", + "ref_road_number", "cycleway", "access" ], @@ -5990,7 +5990,7 @@ "surface", "structure", "maxheight", - "ref", + "ref_road_number", "cycleway", "access" ], @@ -6242,7 +6242,7 @@ "surface", "structure", "maxheight", - "ref", + "ref_road_number", "cycleway", "access" ], @@ -6268,7 +6268,7 @@ "surface", "structure", "maxheight", - "ref", + "ref_road_number", "cycleway", "access" ], @@ -6366,7 +6366,7 @@ "highway/trunk_link": { "icon": "highway-trunk-link", "fields": [ - "ref", + "ref_road_number", "oneway", "maxspeed", "lanes", @@ -6391,7 +6391,7 @@ "highway/trunk": { "icon": "highway-trunk", "fields": [ - "ref", + "ref_road_number", "oneway", "maxspeed", "lanes", @@ -6896,7 +6896,7 @@ "landuse/military/airfield": { "icon": "airfield", "fields": [ - "ref", + "ref_airfield", "iata", "icao" ], @@ -10212,7 +10212,7 @@ "public_transport/platform": { "icon": "bus", "fields": [ - "ref", + "ref_platform", "network", "operator", "shelter" @@ -10231,7 +10231,7 @@ "public_transport/stop_position": { "icon": "bus", "fields": [ - "ref", + "ref_stop_position", "network", "operator" ], @@ -13767,7 +13767,7 @@ "icon": "route", "fields": [ "route", - "ref", + "ref_route", "operator", "network" ] @@ -13783,7 +13783,7 @@ "name": "Cycle Route", "icon": "route-bicycle", "fields": [ - "ref", + "ref_route", "network_bicycle", "cycle_network" ] @@ -13799,7 +13799,7 @@ "name": "Bus Route", "icon": "route-bus", "fields": [ - "ref", + "ref_route", "operator", "network" ] @@ -13815,7 +13815,7 @@ "name": "Detour Route", "icon": "route-detour", "fields": [ - "ref" + "ref_route" ] }, "type/route/ferry": { @@ -13829,7 +13829,7 @@ "name": "Ferry Route", "icon": "route-ferry", "fields": [ - "ref", + "ref_route", "operator", "network" ] @@ -13845,7 +13845,7 @@ "name": "Foot Route", "icon": "route-foot", "fields": [ - "ref", + "ref_route", "operator", "network_foot" ] @@ -13861,7 +13861,7 @@ "name": "Hiking Route", "icon": "route-foot", "fields": [ - "ref", + "ref_route", "operator", "network_foot" ] @@ -13877,7 +13877,7 @@ "name": "Riding Route", "icon": "route-horse", "fields": [ - "ref", + "ref_route", "operator", "network_horse" ] @@ -13893,7 +13893,7 @@ "name": "Pipeline Route", "icon": "route-pipeline", "fields": [ - "ref", + "ref_route", "operator" ] }, @@ -13908,7 +13908,7 @@ "name": "Power Route", "icon": "route-power", "fields": [ - "ref", + "ref_route", "operator" ] }, @@ -13923,7 +13923,7 @@ "name": "Road Route", "icon": "route-road", "fields": [ - "ref", + "ref_route", "network_road" ] }, @@ -13938,7 +13938,7 @@ "name": "Train Route", "icon": "route-train", "fields": [ - "ref", + "ref_route", "operator", "network" ] @@ -13954,7 +13954,7 @@ "name": "Tram Route", "icon": "route-tram", "fields": [ - "ref", + "ref_route", "operator", "network" ] diff --git a/data/presets/presets/aeroway/aerodrome.json b/data/presets/presets/aeroway/aerodrome.json index 0a9047492..fb1c20d17 100644 --- a/data/presets/presets/aeroway/aerodrome.json +++ b/data/presets/presets/aeroway/aerodrome.json @@ -5,7 +5,7 @@ "area" ], "fields": [ - "ref", + "ref_aeroway", "iata", "icao", "operator", diff --git a/data/presets/presets/aeroway/gate.json b/data/presets/presets/aeroway/gate.json index 1a1bdb2f3..e0c3f663e 100644 --- a/data/presets/presets/aeroway/gate.json +++ b/data/presets/presets/aeroway/gate.json @@ -4,7 +4,7 @@ "point" ], "fields": [ - "ref" + "ref_aeroway_gate" ], "tags": { "aeroway": "gate" diff --git a/data/presets/presets/highway/motorway.json b/data/presets/presets/highway/motorway.json index 0fd862da9..683898eab 100644 --- a/data/presets/presets/highway/motorway.json +++ b/data/presets/presets/highway/motorway.json @@ -1,7 +1,7 @@ { "icon": "highway-motorway", "fields": [ - "ref", + "ref_road_number", "oneway_yes", "maxspeed", "lanes", diff --git a/data/presets/presets/highway/motorway_junction.json b/data/presets/presets/highway/motorway_junction.json index 7114455b7..f2f297b5b 100644 --- a/data/presets/presets/highway/motorway_junction.json +++ b/data/presets/presets/highway/motorway_junction.json @@ -7,7 +7,7 @@ "highway": "motorway_junction" }, "fields": [ - "ref" + "ref_highway_junction" ], "name": "Motorway Junction / Exit" } diff --git a/data/presets/presets/highway/motorway_link.json b/data/presets/presets/highway/motorway_link.json index cd177dd04..c9570b114 100644 --- a/data/presets/presets/highway/motorway_link.json +++ b/data/presets/presets/highway/motorway_link.json @@ -1,7 +1,7 @@ { "icon": "highway-motorway-link", "fields": [ - "ref", + "ref_road_number", "oneway_yes", "maxspeed", "lanes", diff --git a/data/presets/presets/highway/primary.json b/data/presets/presets/highway/primary.json index ce9d44d0d..e8b4a0b01 100644 --- a/data/presets/presets/highway/primary.json +++ b/data/presets/presets/highway/primary.json @@ -7,7 +7,7 @@ "surface", "structure", "maxheight", - "ref", + "ref_road_number", "cycleway", "access" ], diff --git a/data/presets/presets/highway/primary_link.json b/data/presets/presets/highway/primary_link.json index 46441c3ee..72becc139 100644 --- a/data/presets/presets/highway/primary_link.json +++ b/data/presets/presets/highway/primary_link.json @@ -6,7 +6,7 @@ "lanes", "surface", "maxheight", - "ref", + "ref_road_number", "cycleway", "structure", "access" diff --git a/data/presets/presets/highway/secondary.json b/data/presets/presets/highway/secondary.json index bfcc979c8..79fa82ada 100644 --- a/data/presets/presets/highway/secondary.json +++ b/data/presets/presets/highway/secondary.json @@ -7,7 +7,7 @@ "surface", "structure", "maxheight", - "ref", + "ref_road_number", "cycleway", "access" ], diff --git a/data/presets/presets/highway/secondary_link.json b/data/presets/presets/highway/secondary_link.json index e488317c4..7cf46aba7 100644 --- a/data/presets/presets/highway/secondary_link.json +++ b/data/presets/presets/highway/secondary_link.json @@ -7,7 +7,7 @@ "surface", "structure", "maxheight", - "ref", + "ref_road_number", "cycleway", "access" ], diff --git a/data/presets/presets/highway/tertiary.json b/data/presets/presets/highway/tertiary.json index 0d59b112f..74f2fb31c 100644 --- a/data/presets/presets/highway/tertiary.json +++ b/data/presets/presets/highway/tertiary.json @@ -7,7 +7,7 @@ "surface", "structure", "maxheight", - "ref", + "ref_road_number", "cycleway", "access" ], diff --git a/data/presets/presets/highway/tertiary_link.json b/data/presets/presets/highway/tertiary_link.json index d51d7908c..40de4c203 100644 --- a/data/presets/presets/highway/tertiary_link.json +++ b/data/presets/presets/highway/tertiary_link.json @@ -7,7 +7,7 @@ "surface", "structure", "maxheight", - "ref", + "ref_road_number", "cycleway", "access" ], diff --git a/data/presets/presets/highway/trunk.json b/data/presets/presets/highway/trunk.json index abca2464c..d6d10f797 100644 --- a/data/presets/presets/highway/trunk.json +++ b/data/presets/presets/highway/trunk.json @@ -1,7 +1,7 @@ { "icon": "highway-trunk", "fields": [ - "ref", + "ref_road_number", "oneway", "maxspeed", "lanes", diff --git a/data/presets/presets/highway/trunk_link.json b/data/presets/presets/highway/trunk_link.json index 0533ef6f2..64119da50 100644 --- a/data/presets/presets/highway/trunk_link.json +++ b/data/presets/presets/highway/trunk_link.json @@ -1,7 +1,7 @@ { "icon": "highway-trunk-link", "fields": [ - "ref", + "ref_road_number", "oneway", "maxspeed", "lanes", diff --git a/data/presets/presets/landuse/military/airfield.json b/data/presets/presets/landuse/military/airfield.json index 708f40be4..675ef3ef1 100644 --- a/data/presets/presets/landuse/military/airfield.json +++ b/data/presets/presets/landuse/military/airfield.json @@ -1,7 +1,7 @@ { "icon": "airfield", "fields": [ - "ref", + "ref_airfield", "iata", "icao" ], diff --git a/data/presets/presets/public_transport/platform.json b/data/presets/presets/public_transport/platform.json index df40cd78e..d62387bf2 100644 --- a/data/presets/presets/public_transport/platform.json +++ b/data/presets/presets/public_transport/platform.json @@ -1,7 +1,7 @@ { "icon": "bus", "fields": [ - "ref", + "ref_platform", "network", "operator", "shelter" diff --git a/data/presets/presets/public_transport/stop_position.json b/data/presets/presets/public_transport/stop_position.json index 1af7e19bb..2ebbb35a4 100644 --- a/data/presets/presets/public_transport/stop_position.json +++ b/data/presets/presets/public_transport/stop_position.json @@ -1,7 +1,7 @@ { "icon": "bus", "fields": [ - "ref", + "ref_stop_position", "network", "operator" ], @@ -12,4 +12,4 @@ "public_transport": "stop_position" }, "name": "Stop Position" -} \ No newline at end of file +} diff --git a/data/presets/presets/type/route.json b/data/presets/presets/type/route.json index 73189fb5e..d046b6634 100644 --- a/data/presets/presets/type/route.json +++ b/data/presets/presets/type/route.json @@ -9,7 +9,7 @@ "icon": "route", "fields": [ "route", - "ref", + "ref_route", "operator", "network" ] diff --git a/data/presets/presets/type/route/bicycle.json b/data/presets/presets/type/route/bicycle.json index 7e7ef6c5f..23c115ca3 100644 --- a/data/presets/presets/type/route/bicycle.json +++ b/data/presets/presets/type/route/bicycle.json @@ -9,8 +9,8 @@ "name": "Cycle Route", "icon": "route-bicycle", "fields": [ - "ref", + "ref_route", "network_bicycle", "cycle_network" ] -} \ No newline at end of file +} diff --git a/data/presets/presets/type/route/bus.json b/data/presets/presets/type/route/bus.json index 9bb60d561..84fcff464 100644 --- a/data/presets/presets/type/route/bus.json +++ b/data/presets/presets/type/route/bus.json @@ -9,8 +9,8 @@ "name": "Bus Route", "icon": "route-bus", "fields": [ - "ref", + "ref_route", "operator", "network" ] -} \ No newline at end of file +} diff --git a/data/presets/presets/type/route/detour.json b/data/presets/presets/type/route/detour.json index c1fced8c8..5ffce47ce 100644 --- a/data/presets/presets/type/route/detour.json +++ b/data/presets/presets/type/route/detour.json @@ -9,6 +9,6 @@ "name": "Detour Route", "icon": "route-detour", "fields": [ - "ref" + "ref_route" ] -} \ No newline at end of file +} diff --git a/data/presets/presets/type/route/ferry.json b/data/presets/presets/type/route/ferry.json index 99d0db0ca..41f7a53e7 100644 --- a/data/presets/presets/type/route/ferry.json +++ b/data/presets/presets/type/route/ferry.json @@ -9,8 +9,8 @@ "name": "Ferry Route", "icon": "route-ferry", "fields": [ - "ref", + "ref_route", "operator", "network" ] -} \ No newline at end of file +} diff --git a/data/presets/presets/type/route/foot.json b/data/presets/presets/type/route/foot.json index 54af190f2..aff3195bc 100644 --- a/data/presets/presets/type/route/foot.json +++ b/data/presets/presets/type/route/foot.json @@ -9,8 +9,8 @@ "name": "Foot Route", "icon": "route-foot", "fields": [ - "ref", + "ref_route", "operator", "network_foot" ] -} \ No newline at end of file +} diff --git a/data/presets/presets/type/route/hiking.json b/data/presets/presets/type/route/hiking.json index bb8f4e926..78dd467a1 100644 --- a/data/presets/presets/type/route/hiking.json +++ b/data/presets/presets/type/route/hiking.json @@ -9,7 +9,7 @@ "name": "Hiking Route", "icon": "route-foot", "fields": [ - "ref", + "ref_route", "operator", "network_foot" ] diff --git a/data/presets/presets/type/route/horse.json b/data/presets/presets/type/route/horse.json index 5ffe4196c..9415b0a6b 100644 --- a/data/presets/presets/type/route/horse.json +++ b/data/presets/presets/type/route/horse.json @@ -9,7 +9,7 @@ "name": "Riding Route", "icon": "route-horse", "fields": [ - "ref", + "ref_route", "operator", "network_horse" ] diff --git a/data/presets/presets/type/route/pipeline.json b/data/presets/presets/type/route/pipeline.json index 0ab556c6d..1359ba5ce 100644 --- a/data/presets/presets/type/route/pipeline.json +++ b/data/presets/presets/type/route/pipeline.json @@ -9,7 +9,7 @@ "name": "Pipeline Route", "icon": "route-pipeline", "fields": [ - "ref", + "ref_route", "operator" ] -} \ No newline at end of file +} diff --git a/data/presets/presets/type/route/power.json b/data/presets/presets/type/route/power.json index b3f30e1d6..8f4a7207a 100644 --- a/data/presets/presets/type/route/power.json +++ b/data/presets/presets/type/route/power.json @@ -9,7 +9,7 @@ "name": "Power Route", "icon": "route-power", "fields": [ - "ref", + "ref_route", "operator" ] -} \ No newline at end of file +} diff --git a/data/presets/presets/type/route/road.json b/data/presets/presets/type/route/road.json index d9cd82a4e..7ee9e5b4d 100644 --- a/data/presets/presets/type/route/road.json +++ b/data/presets/presets/type/route/road.json @@ -9,7 +9,7 @@ "name": "Road Route", "icon": "route-road", "fields": [ - "ref", + "ref_route", "network_road" ] -} \ No newline at end of file +} diff --git a/data/presets/presets/type/route/train.json b/data/presets/presets/type/route/train.json index 5efcac78a..533eff11a 100644 --- a/data/presets/presets/type/route/train.json +++ b/data/presets/presets/type/route/train.json @@ -9,7 +9,7 @@ "name": "Train Route", "icon": "route-train", "fields": [ - "ref", + "ref_route", "operator", "network" ] diff --git a/data/presets/presets/type/route/tram.json b/data/presets/presets/type/route/tram.json index 3a466b73c..821b4b53e 100644 --- a/data/presets/presets/type/route/tram.json +++ b/data/presets/presets/type/route/tram.json @@ -9,7 +9,7 @@ "name": "Tram Route", "icon": "route-tram", "fields": [ - "ref", + "ref_route", "operator", "network" ] diff --git a/dist/locales/en.json b/dist/locales/en.json index d7e12c6f5..88027a4b9 100644 --- a/dist/locales/en.json +++ b/dist/locales/en.json @@ -1541,8 +1541,8 @@ "label": "Type" }, "golf_hole": { - "label": "Reference", - "placeholder": "Hole number (1-18)" + "label": "Hole Number", + "placeholder": "(1-18)" }, "grape_variety": { "label": "Grape Varieties" @@ -1930,8 +1930,32 @@ "centre": "Recycling Center" } }, + "ref_aeroway_gate": { + "label": "Gate Number" + }, + "ref_aeroway": { + "label": "Airport Code" + }, + "ref_airfield": { + "label": "Airfield Code" + }, + "ref_highway_junction": { + "label": "Junction Number" + }, + "ref_platform": { + "label": "Platform Number" + }, + "ref_road_number": { + "label": "Road Number" + }, + "ref_route": { + "label": "Route Number" + }, + "ref_stop_position": { + "label": "Stop Number" + }, "ref": { - "label": "Reference" + "label": "Reference Code" }, "relation": { "label": "Type"