UNPKG

s2-tools

Version:

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

74 lines 2.15 kB
import { ProjectionBase } from '.'; import type { VectorPoint } from '../../geometry'; import type { ProjectionParams, ProjectionTransform } from '.'; /** * # Stereographic * * **Classification**: Azimuthal * * **Available forms**: Forward and inverse, spherical and ellipsoidal * * **Defined area**: Global * * **Alias**: stere * * **Domain**: 2D * * **Input type**: Geodetic coordinates * * **Output type**: Projected coordinates * * ## Projection String * ``` * +proj=stere +lat_0=90 +latTs=75 * ``` * * Note: * This projection method gives different results than the :ref:`sterea` * method in the non-polar cases (i.e. the oblique and equatorial case). The later * projection method is the one referenced by EPSG as "Oblique Stereographic". * * ## Required Parameters * - None * * ## Optional Parameters * - `+lat_0=<value>`: Latitude of origin. * - `+latTs=<value>`: Latitude where scale is not distorted. * - `+k_0=<value>`: Scale factor. * - `+lon_0=<value>`: Central meridian. * - `+ellps=<value>`: Ellipsoid used. * - `+R=<value>`: Radius of the projection sphere. * - `+x_0=<value>`: False easting. * - `+y_0=<value>`: False northing. * * ![Stereographic](https://github.com/Open-S2/s2-tools/blob/master/assets/proj4/projections/images/stere.png?raw=true) */ export declare class StereographicSouthPole extends ProjectionBase implements ProjectionTransform { #private; name: string; static names: string[]; coslat0: number; sinlat0: number; con: number; cons: number; ms1: number; X0: number; cosX0: number; sinX0: number; /** * Preps an StereographicSouthPole projection * @param params - projection specific parameters */ constructor(params?: ProjectionParams); /** * StereographicSouthPole forward equations--mapping lon-lat to x-y * @param p - lon-lat WGS84 point */ forward(p: VectorPoint): void; /** * StereographicSouthPole inverse equations--mapping x-y to lon-lat * @param p - StereographicSouthPole point */ inverse(p: VectorPoint): void; } //# sourceMappingURL=stere.d.ts.map