Description Usage Arguments Details
Some useful geographical functions
| 1 2 3 4 5 | ll2utm     (rlat, rlon, iz=32)
ll2utm.grid(lat, lon, round=-2, iz=32)
Dist(x,y,xi,yi)
which.nearest(xo,yo,xi,yi)
 | 
| rlat | latitude | 
| rlon | longitude | 
| lat | latitude (numeric vector) | 
| lon | longitude (numeric vector) | 
| iz | UTM zone | 
| round | rounding on the UTM target coordinates | 
| x | numeric x coordinate | 
| y | numeric y coordinate | 
| xi, xo | numeric vector of x coordinates | 
| yi, yo | numeric vector of y coordinates | 
ll2utm converts geographical coordinates (latitude/longitude) in UTM WGS84, while ll2utm.grid does the same on vectors of coordinates, applying some rounding, supposed they are on a regular grid in the target UTM system.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.