Next: Introduction, Previous: (dir), Up: (dir) [Contents][Index]
This is the utm Reference Manual, version 1.0, generated automatically by Declt version 4.0 beta 2 "William Riker" on Mon Aug 15 06:07:23 2022 GMT+0.
Next: Systems, Previous: The utm Reference Manual, Up: The utm Reference Manual [Contents][Index]
This library converts coordinates in latitude/longitude to UTM and from UTM to latitude/longitude.
Here's a sample run showing all off essentially all of the functionality.
* (ql:quickload 'utm)
To load "utm":
Load 1 ASDF system:
utm
; Loading "utm"
(UTM)
* (utm:lat-lon-to-utm 39.264657358 -105.396267073)
465814.36361674307d0
4346221.50650324d0
13
* (utm:utm-to-lat-lon 465814.36361674307d0 4346221.50650324d0 13)
39.264654456410966d0
-105.39627074290249d0
* (utm:lat-lon-to-utm 39.264657358 -105.396267073 :ellipsoid "WGS72")
465814.3743203891d0
4346220.137838842d0
13
* (utm:utm-to-lat-lon 465814.3743203891d0 4346220.137838842d0 13 :ellipsoid "WGS72")
39.26465442463012d0
-105.39627074272353d0
* (utm:ellipsoid-names)
("NAD83" "WGS84" "GRS80" "WGS72" "Australian1965" "Krasovsky1940"
"International1924" "Hayford1909" "Clake1880" "Clarke1866" "Airy1830"
"Bessel1841" "Everest1830")
*
It is based heavily on information from Steve Dutch's UTM info website and UTM formula website.
It does not make any attempt to correct for the polar regions, so the results for those areas may be incorrect. To learn why UTM breaks at the polar regions, see here.
The calculations seem to be fairly accurate. Converting from lat/lon-> utm -> lat/lon returns the same latitude and longitude within 6 or 7 decimal places, which is probably more accurate than coordinates coming from a regular GPS unit. The results also match up with several online converters, such as this very good one on the University of Montana's website.
Next: Files, Previous: Introduction, Up: The utm Reference Manual [Contents][Index]
The main system appears first, followed by any subsystem dependency.
Library for converting back and forth between latitude/longitude and UTM, supporting several datums.
Jeremiah LaRocco <jeremiah_larocco@fastmail.com>
ISC (BSD-like)
1.0
Next: Packages, Previous: Systems, Up: The utm Reference Manual [Contents][Index]
Files are sorted by type and then listed depth-first from the systems components trees.
Previous: utm/package.lisp, Up: Lisp [Contents][Index]
package.lisp (file).
utm (system).
Next: Definitions, Previous: Files, Up: The utm Reference Manual [Contents][Index]
Packages are listed by definition order.
common-lisp.
Next: Indexes, Previous: Packages, Up: The utm Reference Manual [Contents][Index]
Definitions are sorted by export status, category, package, and then by lexicographic order.
Next: Internals, Previous: Definitions, Up: Definitions [Contents][Index]
Previous: Public Interface, Up: Public Interface [Contents][Index]
Convert degree, minute, second format to decimal.
Convert degree, minute, second format to decimal.nn
Return the names of all supported ellipsoids.
Convert a point given as latitude and longitude into UTM using the specified ellipsoid. The default ellipsoid is WGS84.
Convert a point given as UTM into latitude and longitude using the specified ellipsoid. The default ellipsoid is WGS84.
Previous: Public Interface, Up: Definitions [Contents][Index]
Next: Ordinary functions, Previous: Constants, Up: Internals [Contents][Index]
Previous: Definitions, Up: The utm Reference Manual [Contents][Index]
Jump to: | D E F L R U |
---|
Jump to: | D E F L R U |
---|
Next: Data types, Previous: Functions, Up: Indexes [Contents][Index]
Jump to: | *
C E K N S |
---|
Jump to: | *
C E K N S |
---|
Jump to: | F L P S U |
---|
Jump to: | F L P S U |
---|