UNPKG

gis-tools-ts

Version:

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

72 lines 2.21 kB
import { ProjectionBase } from './base.js'; import type { DatumParams } from '../../readers/wkt/index.js'; import type { NadGridDefinition } from '../../readers/nadgrid.js'; import type { VectorPoint } from '../../geometry/index.js'; export * from './aea.js'; export * from './aeqd.js'; export * from './base.js'; export * from './bonne.js'; export * from './cass.js'; export * from './cea.js'; export * from './eqc.js'; export * from './eqdc.js'; export * from './eqearth.js'; export * from './equi.js'; export * from './etmerc.js'; export * from './gauss.js'; export * from './geocent.js'; export * from './geos.js'; export * from './gnom.js'; export * from './krovak.js'; export * from './laea.js'; export * from './lcc.js'; export * from './merc.js'; export * from './mill.js'; export * from './moll.js'; export * from './nzmg.js'; export * from './omerc.js'; export * from './ortho.js'; export * from './poly.js'; export * from './qsc.js'; export * from './references.js'; export * as EPSG_CODES from './references.js'; export * from './robin.js'; export * from './sinu.js'; export * from './somerc.js'; export * from './stere.js'; export * from './sterea.js'; export * from './tmerc.js'; export * from './tpers.js'; export * from './utm.js'; export * from './vandg.js'; /** Defines a projection class that isn't instantiated yet */ export type ProjectionTransformDefinition = typeof ProjectionBase; /** All projections need these parameters */ export interface ProjectionTransform { name: string; projName?: string; axis: string; toMeter?: number; fromGreenwich: number; datum?: string; grids?: NadGridDefinition[]; datumCode: string; datumType: number; datumParams: DatumParams; a: number; b: number; es: number; forward: (p: VectorPoint) => void; inverse: (p: VectorPoint) => void; } /** Contains all projections */ export declare const ALL_DEFINITIONS: ProjectionTransformDefinition[]; /** * Builds most commonly used projections * @returns - an array of default projections */ export declare const DEFAULT_DEFINITIONS: [ BASE: ProjectionTransformDefinition, MERC: ProjectionTransformDefinition ]; //# sourceMappingURL=index.d.ts.map