Custom Format IGC
From Fmepedia
created by: Michael Habarta
This custom format reads IGC data, a common format used to store GPS tracking data.
IGC stands for "International Gliding Commission" and is an ascii text format.
It is primarily used to archive flight data but several vendors also use it for export of data from GPS tracking devices (Garmin,...).
An extract from the top of an IGC file looks like this:
ACAM00547 HFDTE250806 HFFXA050 HFPLTPilot: Hans Meier HFGIDGliderType: DG 808B HFGIDGliderID: 73 HFDTM100Datum: HFRFWFIRMWAREVERSION: 6.0 HFRHWHARDWAREVERSION: 39 HFSITSite: Sundre HFTZOTimezone: 0 HFUNTUnits: km,m,m/s I033638FXA3941ENL4247REX C150704173000250806000100 C0000000N00000000E0000TAKEOFF C5019910N11552410W0041FAIRMONT HOT C0000000N00000000E0000LANDING B1819525019698N11552319WV0076400000000003000192 B1820005019698N11552319WV0076400000000001000224 B1820095019698N11552319WV0076400000000001000224
The custom format reads "*.igc" files and evaluates the header records "H..." and the waypoint records "B...".
It extracts waypoints both for GPS and barometric height, holding the header information as attributes. A path for GPS and barometric data is extracted as a line feature connecting all the waypoints.
The mapping file styles the data for GoogleEarth and adds a "wall" feature for each track which displays the "wall" i.e. the connection from the track to the ground. This enables a better 3D impression of the flight track. In addition the time of each waypoint is displayed as a label.
The GoogleEarth KMZ files of the demo data Canada,
Switzerland are attached.
The IGC format is described in detail on:
http://www.edavies.nildram.co.uk/ew/ewa-igc.htm
The demo data were downloaded from the WEB site:
http://www.onlinecontest.de/olcphp/olc-i.php?olc=olc-i
The following screenshots were taken from GoogleEarth.
Screenshot of flight in Canada
Screenshot of flight in Switzerland
Description of Attachments:
IGC track data: flight_demo_canada.igc, flight_demo_switzerland.igc
Custom Format: IGC.fds
Mapping File: IGC_CF_2_KML.fmw
GoogleEarth KMZ: flight_demo_canada.kmz,
flight_demo_switzerland.kmz
You may contact me by email (mailto:mhabarta@freenet.de) ... and please add FME in the subject line
(otherwise it may end up in the Spam Folder ...)
