UNPKG

s2-tools

Version:

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

68 lines 1.97 kB
import { ProjectionBase } from '.'; import type { VectorPoint } from '../../geometry'; import type { ProjectionParams, ProjectionTransform } from '.'; /** * # Geostationary Satellite View (geos) * * **Classification**: Azimuthal * * **Available forms**: Forward and inverse, spherical and ellipsoidal * * **Defined area**: Global * * **Alias**: geos * * **Domain**: 2D * * **Input type**: Geodetic coordinates * * **Output type**: Projected coordinates * * ## Projection String * ``` * +proj=geos +h=35785831.0 +lon_0=-60 +sweep=y * ``` * * ## Required Parameters * - `+h`: The height of the satellite above the earth. * * ## Optional Parameters * - `+sweep`: Sweep angle axis of the viewing instrument, can be "x" or "y" (default is "y"). * - `+lon_0`: Central meridian (longitude of origin). * - `+R`: Earth radius. * - `+ellps`: Ellipsoid. * - `+x_0`: False easting. * - `+y_0`: False northing. * * ![Geostationary Satellite View](https://github.com/Open-S2/s2-tools/blob/master/assets/proj4/projections/images/geos.png?raw=true) */ export declare class GeostationarySatelliteView extends ProjectionBase implements ProjectionTransform { name: string; static names: string[]; sweep: string; flip_axis: 0 | 1; h: number; radiusG: number; radiusG1: number; radiusP: number; radiusP2: number; radiusPInv2: number; C: number; shape: string; /** * Preps an GeostationarySatelliteView projection * @param params - projection specific parameters */ constructor(params?: ProjectionParams); /** * GeostationarySatelliteView forward equations--mapping lon-lat to x-y * @param p - lon-lat WGS84 point */ forward(p: VectorPoint): void; /** * GeostationarySatelliteView inverse equations--mapping x-y to lon-lat * @param p - GeostationarySatelliteView point */ inverse(p: VectorPoint): void; } //# sourceMappingURL=geos.d.ts.map