s2-tools
Version:
A collection of geospatial tools primarily designed for WGS84, Web Mercator, and S2.
63 lines • 1.83 kB
TypeScript
import { ProjectionBase } from '.';
import type { VectorPoint } from '../../geometry';
import type { ProjectionParams, ProjectionTransform } from '.';
/**
* # New Zealand Map Grid (EPSG:27200)
*
* **Classification**: Custom grid-based projection
*
* **Available forms**: Forward and inverse, spherical and ellipsoidal
*
* **Defined area**: New Zealand
*
* **Alias**: nzmg
*
* **Domain**: 2D
*
* **Input type**: Geodetic coordinates
*
* **Output type**: Projected coordinates
*
* ## Projection String
* ```
* +proj=nzmg
* ```
*
* ## Required Parameters
* - None (all standard projection parameters are hard-coded for this projection)
*
* ## Reference:
* - Department of Land and Survey Technical Circular 1973/32
* http://www.linz.govt.nz/docs/miscellaneous/nz-map-definition.pdf
* - OSG Technical Report 4.1
* http://www.linz.govt.nz/docs/miscellaneous/nzmg.pdf
*
* 
*/
export declare class NewZealandMapGrid extends ProjectionBase implements ProjectionTransform {
name: string;
static names: string[];
iterations: number;
A: number[];
B_re: number[];
B_im: number[];
C_re: number[];
C_im: number[];
D: number[];
/**
* Preps an NewZealandMapGrid projection
* @param params - projection specific parameters
*/
constructor(params?: ProjectionParams);
/**
* NewZealandMapGrid forward equations--mapping lon-lat to x-y
* @param p - lon-lat WGS84 point
*/
forward(p: VectorPoint): void;
/**
* NewZealandMapGrid inverse equations--mapping x-y to lon-lat
* @param p - NewZealandMapGrid point
*/
inverse(p: VectorPoint): void;
}
//# sourceMappingURL=nzmg.d.ts.map