This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
ivac2:firdef_map_point [2011/11/19 14:09] filip created |
ivac2:firdef_map_point [2017/04/08 14:27] (current) |
||
---|---|---|---|
Line 5: | Line 5: | ||
Use a point element to draw a single point on the map. | Use a point element to draw a single point on the map. | ||
- | ^Element|fir|| | + | ^Element|point|| |
^Attribute^Format^Remarks^ | ^Attribute^Format^Remarks^ | ||
|lat|string|latitude value| | |lat|string|latitude value| | ||
Line 12: | Line 12: | ||
or | or | ||
- | ^Element|fir|| | + | ^Element|point|| |
^Attribute^Format^Remarks^ | ^Attribute^Format^Remarks^ | ||
|x|float|cartesian X value in nautical mile| | |x|float|cartesian X value in nautical mile| | ||
Line 19: | Line 19: | ||
or | or | ||
- | ^Element|fir|| | + | ^Element|point|| |
^Attribute^Format^Remarks^ | ^Attribute^Format^Remarks^ | ||
|ref|string|Reference to a predefined point element from points.xml| | |ref|string|Reference to a predefined point element from points.xml| | ||
Line 40: | Line 40: | ||
</HTML> | </HTML> | ||
+ | |||
+ | 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 [[ivac2:firdef_points_xml|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 ===== | ||
+ | |||
+ | <code XML> | ||
+ | <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”/> | ||
+ | </code> | ||