This shows you the differences between two versions of the page.
ivac2:firdef_points_xml [2014/04/15 17:19] filip.jonckers |
ivac2:firdef_points_xml [2017/04/08 14:27] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | [[ivac2:firdef_toc|Back]] | ||
- | |||
- | ====== points.xml ====== | ||
- | |||
- | The points.xml file is used define fixed point elements which can be used in maps instead of <point> elements based on latitude/longitude or cartesian x,y coordinates. These are especially useful when drawing airways or specific procedures based on waypoints (sid, star, loa information, etc...) | ||
- | |||
- | (See also [[ivac2:firdef_map_ref|Point references]]) | ||
- | |||
- | |||
- | |||
- | |||
- | ^Element|point|| | ||
- | ^Attribute^Format^Remarks^ | ||
- | |id|string|Identification of the predefined point| | ||
- | |lat|string|latitude value| | ||
- | |lon|string|longitude value| | ||
- | |||
- | |||
- | or | ||
- | |||
- | |||
- | |||
- | ^Element|point|| | ||
- | ^Attribute^Format^Remarks^ | ||
- | |id|string|Identification of the predefined point| | ||
- | |x|float|cartesian X value in nautical mile| | ||
- | |y|float|cartesian Y value in nautical mile| | ||
- | |||
- | |||
- | |||
- | |||
- | If cartesian X/Y attribute values are used, the point is calculated using the <origin> given in the FIR configuration file (config.fir). | ||
- | The format of the latitude/longitude values is Zdddmmsssss where: | ||
- | * Z = N or S for latitude, E or W for longitude | ||
- | * ddd = degrees (3 digits, zero padded) | ||
- | * mm = minutes (max 59) | ||
- | * sssss = seconds with maximum 3 decimal places (max 59.999) | ||
- | |||
- | ==== latitude / longitude example ==== | ||
- | |||
- | * lat="N0543000000" โ N054:30:00.000 | ||
- | * lon="W0033535000" โ W003:35:35.000 | ||
- | |||
- | |||
- | The following is also valid: | ||
- | lon="W0033535" โ W003:35:35.000 | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | ==== Example ==== | ||
- | |||
- | <code XML> | ||
- | <points> | ||
- | <point id="REMBA" lat="N0503944000" lon="E0045451000"/> | ||
- | </points> | ||
- | </code> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | <HTML> | ||
- | <p style="border:1px dashed #C11B17;color:#C11B17;"> | ||
- | Use predefined point elements in **points.xml** for often used coordinates in map drawing to make your map files more readable. | ||
- | </p> | ||
- | </HTML> | ||