Back

point element

Use a point element to draw a single point on the map.

Elementpoint
AttributeFormatRemarks
latstringlatitude value
lonstringlongitude value

or

Elementpoint
AttributeFormatRemarks
xfloatcartesian X value in nautical mile
yfloatcartesian Y value in nautical mile

or

Elementpoint
AttributeFormatRemarks
refstringReference 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:

  • 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)

The predefined <point> elements are defined in the points.xml file. Use the id attribute to use a predefined <point> element.

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

  <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”/>