UNPKG

s2-tools

Version:

A collection of geospatial tools primarily designed for WGS84, Web Mercator, and S2.

61 lines 1.72 kB
import { ProjectionBase } from './base'; import type { VectorPoint } from '../../geometry'; import type { ProjectionParams, ProjectionTransform } from '.'; /** * # Azimuthal Equidistant Projection * * **Classification**: Azimuthal * * **Available forms**: Forward and inverse, spherical and ellipsoidal * * **Defined area**: Global * * **Alias**: `aeqd` * * **Domain**: 2D * * **Input type**: Geodetic coordinates * * **Output type**: Projected coordinates * * ## Projection String * ``` * +proj=aeqd * ``` * * ## Required Parameters * None * * ## Optional Parameters * - `guam`: Use Guam ellipsoidal formulas (accurate near Guam: λ ≈ 144.5°, φ ≈ 13.5°) * - `lat0`: Latitude of origin * - `lon0`: Longitude of origin * - `x0`: False easting * - `y0`: False northing * - `ellps`: Ellipsoid name * - `R`: Radius of sphere * * ![Azimuthal Equidistant Projection](https://github.com/Open-S2/s2-tools/blob/master/assets/proj4/projections/images/aeqd.png?raw=true) */ export declare class AzimuthalEquidistant extends ProjectionBase implements ProjectionTransform { name: string; static names: string[]; sinP12: number; cosP12: number; /** * Preps an Albers Conic Equal Area projection * @param params - projection specific parameters */ constructor(params?: ProjectionParams); /** * Azimuthal Equidistant forward equations--mapping lon-lat to x-y * @param p - lon-lat WGS84 point */ forward(p: VectorPoint): void; /** * Azimuthal Equidistant inverse equations--mapping x-y to lon-lat * @param p - Azimuthal Equidistant point */ inverse(p: VectorPoint): void; } //# sourceMappingURL=aeqd.d.ts.map