%@% Token
The %@% token automates the computation of distance and bearing between two user annotations.
|
Without question, this can be the most complex and niftiest token possible in AllTopo. In its simplest form, you can place %@% in a waypoint's description or note and AllTopo will display the distance and bearing to the previous waypoint In this example WP3 (at the south east corner of the section) has its description set to "%@%": This tag accepts many optional arguments. If no arguments are included the offset and distance to the previous annotation are returned as shown above. The measurement spike defaults are used for distance units, north reference and projection unless overridden. Sytnax:%@ "wpname" N NorthCode PROJ UNITS% where: "wpname":
N:
NorthCode:
PROJ:
UNITS:
By default both the distance and bearing are shown. If the "%@ ...%" token is changed to "%@B ...% then only the bearing is shown. If the "%@ ...% token is changed to %@D ...% then only the distance is returned. For example %@D% in the example above displays: The tag: '%@ MN SP_UTN_NAD27 CHAINS "WP1"%' generates this display:
The tag: '%@ 1%' displays the bearing/distance from the south east corner to the next waypoint (WP4 at the south west corner):
|