Last updated

API / geotoolkit / map / coordinatesystems / WKT / WKT

Class: WKT

coordinatesystems.WKT.WKT

Based on WKT converter, can use parameters spheroid, towgs84, primem

Hierarchy

Table of contents

Constructors
Methods

Contents

Constructors

new WKT(options)

new WKT(options?)

Parameters

Name Type Description
Optional optionsstring | Optionsoptions

Overrides

AbstractSystem.constructor

Methods

getClassName

getClassName(): string

Returns

string

Inherited from

AbstractSystem.getClassName


getDefaultModelLimits

getDefaultModelLimits(): Rect

Gets the default minimal rectangular bounding region that will entirely contain this AbstractSystem (approximately). A CSR is an arbitrary complex closed region that touches the rectangular extent at least once on all four sides.

Returns

Rect

Inherited from

AbstractSystem.getDefaultModelLimits


getEpsgCode

getEpsgCode(): number

Return epsg code of the coordinate system

Returns

number

epsg code

Inherited from

AbstractSystem.getEpsgCode


getName

getName(): string

Return a name of the coordinate system

Returns

string

Inherited from

AbstractSystem.getName


getPrimeMeridian

getPrimeMeridian(): number

Gets prime meridian

Returns

number

prime meridian


getSpheroid

getSpheroid(): number[]

Gets spheroid

Returns

number[]

spheroid


getSpheroidUnits

getSpheroidUnits(): AbstractUnit

Gets spheroid units

Returns

AbstractUnit

spheroid units


getToWGS84

getToWGS84(): number[]

Gets toWGS84

Returns

number[]

toWGS84


getUnits

getUnits(): AbstractUnit

Return units of the coordinate system

Returns

AbstractUnit

Inherited from

AbstractSystem.getUnits


inverseTransform

inverseTransform(mercatorX, mercatorY, dst?): Point

Return transformed point to lat / lng from projection

Parameters

Name Type Description
mercatorXnumberx coordinate
mercatorYnumbery coordinate
Optional dstPointoptional destination point

Returns

Point

Overrides

AbstractSystem.inverseTransform


isVerticalAxisUp

isVerticalAxisUp(): boolean

Return if vertical axis goes up

Returns

boolean

Inherited from

AbstractSystem.isVerticalAxisUp


transform

transform(lon, lat, dst?): Point

Transforms the specified coordinate to projection from lat / lng

Parameters

Name Type Description
lonnumberlong
latnumberlat
Optional dstPointoptional destination point

Returns

Point

Overrides

AbstractSystem.transform


getClassName

Static getClassName(): string

Returns

string

Inherited from

AbstractSystem.getClassName


parse

Static parse(str): WKT

Parses Well-Known text projection representation into WKT coordinate system

Parameters

Name Type Description
strstringWKT text

Returns

WKT