/** @packageDocumentation * @module OrbitGT */ declare type int32 = number; import { CRS } from "./CRS"; import { OperationMethod } from "./OperationMethod"; import { WellKnownTextNode } from "./WellKnownTextNode"; /** * Class WellKnownText parses Well-known Text Representations of Spatial Reference Systems. * * @version 1.0 December 2010 */ /** @internal */ export declare class WellKnownText { /** The name of this module */ private static readonly MODULE; /** The dialect type in case of generic WKT */ static readonly TYPE_GENERIC: string; /** The conversion ratio from "arc-sec" to "radian" */ private static readonly _ARC_SEC_TO_RAD; /** The counter for creating unique codes */ private static _CODES; /** * No instances. */ private constructor(); /** * Unquote a name. * @param name the name. * @return the unquoted name. */ private static unquote; /** * Get a number. * @param value the string value. * @return the number. */ private static getInteger; /** * Get a number. * @param value the string value. * @return the number. */ private static getDouble; /** * Get a number. * @param value the node value. * @return the number. */ private static getNodeDouble; /** * Get an EPSG code for an element. * @param authority the authority for the element. * @param dialect the dialect of WKT to parse. * @return the EPSG code (zero if not found). */ private static getEPSGCode; /** * Parse a linear unit. * @param node the well-known-text node. * @param dialect the dialect of WKT to parse. * @return the unit. */ private static parseLinearUnit; /** * Parse an angular unit. * @param node the well-known-text node. * @param dialect the dialect of WKT to parse. * @return the unit. */ private static parseAngularUnit; /** * Parse a spheroid. * @param crsCode the code of the CRS. * @param node the well-known-text node. * @param dialect the dialect of WKT to parse. * @return the ellipsoid. */ private static parseSpheroid; /** * Parse a prime-meridian. * @param crsCode the code of the CRS. * @param node the well-known-text node. * @param dialect the dialect of WKT to parse. * @return the prime-meridian. */ private static parsePrimeMeridian; /** * Parse a to-wgs84 transform. * @param node the well-known-text node (method position vector). * @param dialect the dialect of WKT to parse. * @return the transform. */ static parseToWGS84(node: WellKnownTextNode, dialect: string): OperationMethod; /** * Parse a datum. * @param crsCode the code of the CRS. * @param node the well-known-text node. * @param primeMeridian the prime meridian. * @param dialect the dialect of WKT to parse. * @return the datum (with optional embedded datum transformation to WGS84). */ private static parseDatum; /** * Parse a projection method. * @param projection the well-known-text projection node. * @param parameters the well-known-text parameter nodes. * @param dialect the dialect of WKT to parse. * @return the projection method. */ private static parseProjectionMethod; /** * Parse a geocentric CRS. * @param crsCode the code of the CRS. * @param node the well-known-text node. * @param dialect the dialect of WKT to parse. * @return the CRS. */ private static parseGeocentric; /** * Parse a geographic CRS. * @param crsCode the code of the CRS. * @param node the well-known-text node. * @param dialect the dialect of WKT to parse. * @return the CRS. */ private static parseGeographic; /** * Parse a projected CRS. * @param crsCode the code of the CRS. * @param node the well-known-text node. * @param dialect the dialect of WKT to parse. * @return the CRS. */ private static parseProjection; /** * Parse a vertical CRS. * @param crsCode the code of the CRS. * @param node the well-known-text node. * @param dialect the dialect of WKT to parse. * @return the CRS. */ private static parseVertical; /** * Parse a CRS well-known-text. * @param crsCode the code of the CRS. * @param text the well-known-text. * @param dialect the dialect of WKT to parse. * @return the CRS (null if unable to parse). */ static parseSpatialReferenceSystem(crsCode: int32, text: string, dialect: string): CRS; } export {}; //# sourceMappingURL=WellKnownText.d.ts.map