• Antelope Release 5.5 Linux 2.6.32-220.el6.x86_64 2015-04-21

 

NAME

distancetopolygon - get minimum distance to polygon(s) from a database

SYNOPSIS

distancetopolygon [-v] dbname [lat lon]

SUPPORT


Contributed code: NO BRTT support.
THIS PIECE OF SOFTWARE WAS CONTRIBUTED BY THE ANTELOPE USER COMMUNITY. BRTT DISCLAIMS ALL OWNERSHIP, LIABILITY, AND SUPPORT FOR THIS PIECE OF SOFTWARE.

FOR HELP WITH THIS PIECE OF SOFTWARE, PLEASE CONTACT THE CONTRIBUTING AUTHOR.

DESCRIPTION

distancetopolygon is a simple tool do get minimm distance to a set of polygons for a specified point. The script uses the method by Burke (1988). It gives either the distance to the closes point on the boundary or to the closes vertex, whatever is smaller.

OPTIONS

EXAMPLE

distancetopolygon $LDB/BekannteGrenzen 47 16
dbsubset $LDB/BekannteGrenzen.polygon "pname=~/Austria/||ptype !~/cb/" |\
    distancetopolygon - 47 16

SEE ALSO

polygon(3), inwhichpolygons(3), polygon_schema(5), regions2polygon(1)

AUTHOR

Nikolaus Horn, 2014

ZAMG / Vienna, Nikolaus.Horn@zamg.ac.at

Antelope User Group Contributed Software
Printer icon