s2-tools
Version:
A collection of geospatial tools primarily designed for WGS84, Web Mercator, and S2.
68 lines • 2.15 kB
TypeScript
import { GaussKruger } from './gauss';
import type { VectorPoint } from '../../geometry';
import type { ProjectionParams, ProjectionTransform } from '.';
/**
* # Oblique Stereographic Alternative
*
* **Classification**: Azimuthal
*
* **Available forms**: Forward and inverse, spherical and ellipsoidal
*
* **Defined area**: Global
*
* **Alias**: sterea
*
* **Domain**: 2D
*
* **Input type**: Geodetic coordinates
*
* **Output type**: Projected coordinates
*
* ## Projection String
* ```
* +proj=sterea +lat_0=52.1561605555556 +lon_0=5.38763888888889 +k=0.9999079 +x_0=155000 +y_0=463000 +ellps=bessel
* ```
*
* ## Note
* This projection method, referenced by EPSG as "Oblique Stereographic", is
* for example used for the Netherlands "Amersfoort / RD New" projected CRS.
* It gives different results than the :ref:`stere` method in the non-polar cases
* (i.e. the oblique and equatorial case).
*
* ## Required Parameters
* - None
*
* ## Optional Parameters
* - `+lat_0=<value>`: Latitude of origin.
* - `+lon_0=<value>`: Central meridian.
* - `+k=<value>`: Scale factor.
* - `+x_0=<value>`: False easting.
* - `+y_0=<value>`: False northing.
* - `+ellps=<value>`: Ellipsoid used.
* - `+R=<value>`: Radius of the projection sphere.
*
* 
*/
export declare class StereographicNorthPole extends GaussKruger implements ProjectionTransform {
name: string;
static names: string[];
R2: number;
sinc0: number;
cosc0: number;
/**
* Preps an StereographicNorthPole projection
* @param params - projection specific parameters
*/
constructor(params?: ProjectionParams);
/**
* StereographicNorthPole forward equations--mapping lon-lat to x-y
* @param p - lon-lat WGS84 point
*/
forward(p: VectorPoint): void;
/**
* StereographicNorthPole inverse equations--mapping x-y to lon-lat
* @param p - StereographicNorthPole point
*/
inverse(p: VectorPoint): void;
}
//# sourceMappingURL=sterea.d.ts.map