s2-tools
Version:
A collection of geospatial tools primarily designed for WGS84, Web Mercator, and S2.
67 lines • 1.99 kB
TypeScript
import { ProjectionBase } from './base';
import type { VectorPoint } from '../../geometry';
import type { ProjectionParams, ProjectionTransform } from '.';
/**
* # Cassini (Cassini-Soldner) Projection
*
* Although the Cassini projection has been largely replaced by the Transverse Mercator, it is
* still in limited use outside the United States and was one of the major topographic mapping
* projections until the early 20th century.
*
* **Classification**: Transverse and oblique cylindrical
*
* **Available forms**: Forward and Inverse, Spherical and ellipsoidal
*
* **Defined area**: Global, but best used near the central meridian with long, narrow areas
*
* **Alias**: `cass`
*
* **Domain**: 2D
*
* **Input type**: Geodetic coordinates
*
* **Output type**: Projected coordinates
*
* ## Projection String
* ```
* +proj=cass
* ```
*
* ## Required Parameters
* - `lat_0`
*
* ## Optional Parameters
* - `lon_0`
* - `x_0`
* - `y_0`
* - `ellps`
* - `R`
* - `+hyperbolic`: Use modified form of the standard Cassini-Soldner projection known as the Hyperbolic Cassini-Soldner (used in EPSG:3139).
*
* 
*/
export declare class CassiniSoldner extends ProjectionBase implements ProjectionTransform {
name: string;
static names: string[];
e0: number;
e1: number;
e2: number;
e3: number;
ml0: number;
/**
* Preps an Cassini Soldner projection
* @param params - projection specific parameters
*/
constructor(params?: ProjectionParams);
/**
* Cassini Soldner forward equations--mapping lon-lat to x-y
* @param p - lon-lat WGS84 point
*/
forward(p: VectorPoint): void;
/**
* Cassini Soldner inverse equations--mapping x-y to lon-lat
* @param p - A Cassini Soldner point
*/
inverse(p: VectorPoint): void;
}
//# sourceMappingURL=cass.d.ts.map