Class: AIXM::Feature::NavigationalAid::Marker
- Inherits:
-
AIXM::Feature::NavigationalAid
- Object
- Component
- AIXM::Feature
- AIXM::Feature::NavigationalAid
- AIXM::Feature::NavigationalAid::Marker
- Defined in:
- lib/aixm/feature/navigational_aid/marker.rb
Overview
Note:
Marker are not fully implemented because they usually have to be associated with an ILS which are not implemented as of now.
Marker beacons guide an aircraft on a specific route e.g. towards a runway (which is why marker beacons are often part of an ILS). Their VHF radio beacons are transmitted on 75 MHz.
Cheat Sheet in Pseudo Code:
marker = AIXM.marker(
source: String or nil
region: String or nil
organisation: AIXM.organisation
id: String
name: String
xy: AIXM.xy
z: AIXM.z or nil
type: :outer or :middle or :inner or :backcourse
)
marker.timetable = AIXM.timetable or nil
marker.remarks = String or nil
marker.comment = Object or nil
Constant Summary collapse
- TYPES =
{ O: :outer, M: :middle, I: :inner, C: :backcourse, OTHER: :other # specify in remarks }
Constants inherited from AIXM::Feature
Instance Attribute Summary collapse
-
#type ⇒ Object
Type of marker.
Attributes inherited from AIXM::Feature::NavigationalAid
Attributes included from Concerns::Remarks
Attributes included from Concerns::Timetable
Attributes inherited from AIXM::Feature
Attributes inherited from Component
Instance Method Summary collapse
-
#initialize(type:, **arguments) ⇒ Marker
constructor
See the cheat sheet for examples on how to create instances of this class.
Methods inherited from AIXM::Feature::NavigationalAid
#inspect, #kind, #organisation
Methods included from Concerns::Association
Methods inherited from AIXM::Feature
Methods included from Concerns::HashEquality
Methods included from Concerns::XMLBuilder
#build_fragment, #to_uid, #to_xml
Methods included from Concerns::Memoize
Constructor Details
#initialize(type:, **arguments) ⇒ Marker
See the cheat sheet for examples on how to create instances of this class.
51 52 53 54 55 56 |
# File 'lib/aixm/feature/navigational_aid/marker.rb', line 51 def initialize(type:, **arguments) super(**arguments) self.type = type # TODO: Marker require an associated ILS (not yet implemented) warn("WARNING: Marker is not fully implemented yet due to the lack of ILS") end |
Instance Attribute Details
#type ⇒ Symbol? #type=(value) ⇒ Object
Type of marker
47 48 49 |
# File 'lib/aixm/feature/navigational_aid/marker.rb', line 47 def type @type end |