Use a point element to draw a single point on the map.
Element | point | |
---|---|---|
Attribute | Format | Remarks |
lat | string | latitude value |
lon | string | longitude value |
or
Element | point | |
---|---|---|
Attribute | Format | Remarks |
x | float | cartesian X value in nautical mile |
y | float | cartesian Y value in nautical mile |
or
Element | point | |
---|---|---|
Attribute | Format | Remarks |
ref | string | Reference to a predefined point element from points.xml |
The building blocks of a map use at least one <point> element or more depending on the complexity of the element to draw. If more than one <point> element is defined and only one is required, only the first <point> element is used and all the others are ignored.
If cartesian X/Y attribute values are used, the point is calculated using the <origin> given in the FIR configuration file (config.fir).
When a map is loaded (on startup) all points in latitude/longitude are transformed to cartesian X/Y values and stored as such internally. So using cartesian X/Y might improve startup speed but it is not a requirement.
Tip: Use predefined points in the points.xml file for navigation points such as VOR's, fixes and special points which are part of SID/STAR procedures.
It is possible to mix <point> elements in cartesian, lat/lon and id format.
The format of the latitude/longitude values is Zdddmmsssss where:
The predefined <point> elements are defined in the points.xml file. Use the id attribute to use a predefined <point> element.
latitude/longitude example:
The following is also valid: lon=“W0033535” → W003:35:35.000
<point lon="E0043127" lat="N0511038"/> <point lon="E0043140" lat="N0511101"/> <point x="-0.601415" y="-0.132565"/> <point x="-0.601393" y="-0.133375"/> <point ref=”REMBA”/> <point ref=”EBBR-IAF-25L”/>