The utm Reference Manual

This is the utm Reference Manual, version 1.0, generated automatically by Declt version 4.0 beta 2 "William Riker" on Mon Feb 26 18:12:29 2024 GMT+0.

Table of Contents


1 Introduction


2 Systems

The main system appears first, followed by any subsystem dependency.


2.1 utm

Library for converting back and forth between latitude/longitude and UTM, supporting several datums.

Author

Jeremiah LaRocco <>

License

ISC (BSD-like)

Version

1.0

Source

utm.asd.

Child Components

3 Files

Files are sorted by type and then listed depth-first from the systems components trees.


3.1 Lisp


3.1.1 utm/utm.asd

Source

utm.asd.

Parent Component

utm (system).

ASDF Systems

utm.


3.1.2 utm/package.lisp

Dependency

license (file).

Source

utm.asd.

Parent Component

utm (system).

Packages

utm.


3.1.3 utm/utm.lisp

Dependency

package.lisp (file).

Source

utm.asd.

Parent Component

utm (system).

Public Interface
Internals

3.2 Static


3.2.1 utm/LICENSE

Source

utm.asd.

Parent Component

utm (system).


4 Packages

Packages are listed by definition order.


4.1 utm

Source

package.lisp.

Use List

common-lisp.

Public Interface
Internals

5 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


5.1 Public Interface


5.1.1 Ordinary functions

Function: decimal-to-deg-min-sec (decimal)

Convert degree, minute, second format to decimal.

Package

utm.

Source

utm.lisp.

Function: deg-min-sec-to-decimal (degree minute second)

Convert degree, minute, second format to decimal.nn

Package

utm.

Source

utm.lisp.

Function: ellipsoid-names ()

Return the names of all supported ellipsoids.

Package

utm.

Source

utm.lisp.

Function: lat-lon-to-utm (lat lon &key ellipsoid zone)

Convert a point given as latitude and longitude into UTM using the specified ellipsoid. The default ellipsoid is WGS84.

Package

utm.

Source

utm.lisp.

Function: utm-to-lat-lon (easting northing zone &key ellipsoid)

Convert a point given as UTM into latitude and longitude using the specified ellipsoid. The default ellipsoid is WGS84.

Package

utm.

Source

utm.lisp.


5.2 Internals


5.2.1 Constants

Constant: e0
Package

utm.

Source

utm.lisp.

Constant: k0
Package

utm.

Source

utm.lisp.

Constant: n0
Package

utm.

Source

utm.lisp.


5.2.2 Special variables

Special Variable: *ellipsoids*
Package

utm.

Source

utm.lisp.


5.2.3 Ordinary functions

Function: deg2rad (d)
Package

utm.

Source

utm.lisp.

Function: fill-ellipsoids ()

Fill the hash table of supported ellipsoids.

Package

utm.

Source

utm.lisp.

Function: rad2deg (r)
Package

utm.

Source

utm.lisp.


Appendix A Indexes


A.1 Concepts