UNPKG

s2-tools

Version:

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

57 lines 1.5 kB
import { ProjectionBase } from '.'; import type { VectorPoint } from '../../geometry'; import type { ProjectionParams, ProjectionTransform } from '.'; /** * # van der Grinten (I) * * **Classification**: Miscellaneous * * **Available forms**: Forward and inverse, spherical projection * * **Defined area**: Global * * **Alias**: vandg * * **Domain**: 2D * * **Input type**: Geodetic coordinates * * **Output type**: Projected coordinates * * ## Projection String * ``` * +proj=vandg * ``` * * ## Parameters * * All parameters are optional. * * - `+lon_0=<value>`: Central meridian. * - `+R=<value>`: Radius of the sphere. * - `+x_0=<value>`: False easting. * - `+y_0=<value>`: False northing. * * ![van der Grinten (I)](https://github.com/Open-S2/s2-tools/blob/master/assets/proj4/projections/images/vandg.png?raw=true) */ export declare class VanDerGrinten extends ProjectionBase implements ProjectionTransform { name: string; static names: string[]; R: number; /** * Preps an VanDerGrinten projection * @param params - projection specific parameters */ constructor(params?: ProjectionParams); /** * VanDerGrinten forward equations--mapping lon-lat to x-y * @param p - lon-lat WGS84 point */ forward(p: VectorPoint): void; /** * VanDerGrinten inverse equations--mapping x-y to lon-lat * @param p - VanDerGrinten point */ inverse(p: VectorPoint): void; } //# sourceMappingURL=vandg.d.ts.map