Ignore:
Timestamp:
2019-08-29T21:53:59+02:00 (5 years ago)
Author:
Klumbumbus
Message:

fix #15107 - add various airport validator rules (based on patches by maxerickson and naoliv)

  • warn about iata and icao without aeroway=helipad or aeroway=aerodrome
  • warn about wrong iata and icao codes
  • warn about aeroway=helipad or aeroway=aerodrome without faa (info level, US only)
  • warn about aeroway=helipad or aeroway=aerodrome without icao and iata (info level, US only and only if faa does not contain nunbers, which indicates small airports)
  • warn about aeroway=runway without ref and surface (info level)
  • enhance Helipad preset
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/validator/territories.mapcss

    r14998 r15325  
    3030  group: tr("deprecated tagging");
    3131}
     32
     33/* #15107 */
     34*[aeroway=helipad  ][!faa][inside("US")],
     35*[aeroway=aerodrome][!faa][inside("US")] {
     36  throwOther: tr("{0} without {1}", "{0.tag}", "{1.key}");
     37  group: tr("Airport tagging");
     38}
     39*[aeroway=aerodrome][!icao][faa!~/\d/][inside("US")],
     40*[aeroway=aerodrome][!iata][faa!~/\d/][inside("US")] {
     41  throwOther: tr("{0} without {1}", "{0.tag}", "{1.key}");
     42  group: tr("Airport tagging");
     43  /* assertNoMatch: "way aeroway=aerodrome faa=OK12"; not properly working due to inside() */
     44  /* assertMatch: "way aeroway=aerodrome faa=ORD"; */
     45}
Note: See TracChangeset for help on using the changeset viewer.