s2-tools
Version:
A collection of geospatial tools primarily designed for WGS84, Web Mercator, and S2.
75 lines • 1.86 kB
TypeScript
import { ProjectionBase } from '.';
import type { VectorPoint } from '../../geometry';
import type { ProjectionParams, ProjectionTransform } from '.';
/**
* # Equidistant Conic
*
* **Classification**: Conic
*
* **Available forms**: Forward and inverse, ellipsoidal
*
* **Defined area**: Global
*
* **Alias**: eqdc
*
* **Domain**: 2D
*
* **Input type**: Geodetic coordinates
*
* **Output type**: Projected coordinates
*
* ## Projection String
* ```
* +proj=eqdc +lat_1=55 +lat_2=60
* ```
*
* ## Parameters
*
* ### Required
* - `+lat_1` (Latitude of the first standard parallel)
* - `+lat_2` (Latitude of the second standard parallel)
*
* ### Optional
* - `+lon_0` (Central meridian)
* - `+ellps` (Ellipsoid name)
* - `+R` (Radius of the sphere)
* - `+x_0` (False easting)
* - `+y_0` (False northing)
*
* 
*/
export declare class EquidistantConic extends ProjectionBase implements ProjectionTransform {
name: string;
static names: string[];
rh: number;
temp: number;
g: number;
e0: number;
e1: number;
e2: number;
e3: number;
sinphi: number;
cosphi: number;
ms1: number;
ms2: number;
ml0: number;
ml1: number;
ml2: number;
ns: number;
/**
* Preps an EquidistantConic projection
* @param params - projection specific parameters
*/
constructor(params?: ProjectionParams);
/**
* EquidistantConic forward equations--mapping lon-lat to x-y
* @param p - lon-lat WGS84 point
*/
forward(p: VectorPoint): void;
/**
* EquidistantConic inverse equations--mapping x-y to lon-lat
* @param p - EquidistantConic point
*/
inverse(p: VectorPoint): void;
}
//# sourceMappingURL=eqdc.d.ts.map