GeoDB::Modify::Distance.3pm

Langue: en

Version: 2008-11-19 (fedora - 06/07/09)

Section: 3 (Bibliothèques de fonctions)

Sommaire

NAME

Distance - Sets distance fields within the cache data

DESCRIPTION

START HELP

The distance modify plugin puts distance information from a given lat, lon coordinate and inserts the data into the ``distance'' field of the waypoint. You can then use it in other ways like in rewrite modification engines or in list formatting, etc.

   > geoqo -s ident:GCABCD -d 'list:format=%{ident} %{distance}
 
 

You can calculate distance from coordinates:

   > geoqo -s ident:GCABCD -m 'distance:n=n38 12.123,w=w42 22.333'
 
 

or from another waypoint already in the DB:

You can calculate distance from coordinates:

   > geoqo -s ident:GCABCD -m 'distance:from=GCABCD'
 
 

END HELP