API / geotoolkit / map / coordinatesystems / WKT / WKT
coordinatesystems.WKT.WKT
Based on WKT converter, can use parameters spheroid, towgs84, primem
↳
WKT
Constructors
Methods
Constructors
• new WKT(options?)
| Name | Type | Description |
|---|---|---|
Optional options | string | Options | options |
AbstractSystem.constructor
Methods
▸ getClassName(): string
string
▸ 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.
AbstractSystem.getDefaultModelLimits
▸ getEpsgCode(): number
Return epsg code of the coordinate system
number
epsg code
▸ getName(): string
Return a name of the coordinate system
string
▸ getPrimeMeridian(): number
Gets prime meridian
number
prime meridian
▸ getSpheroid(): number[]
Gets spheroid
number[]
spheroid
▸ getSpheroidUnits(): AbstractUnit
Gets spheroid units
spheroid units
▸ getToWGS84(): number[]
Gets toWGS84
number[]
toWGS84
▸ getUnits(): AbstractUnit
Return units of the coordinate system
▸ inverseTransform(mercatorX, mercatorY, dst?): Point
Return transformed point to lat / lng from projection
| Name | Type | Description |
|---|---|---|
mercatorX | number | x coordinate |
mercatorY | number | y coordinate |
Optional dst | Point | optional destination point |
AbstractSystem.inverseTransform
▸ isVerticalAxisUp(): boolean
Return if vertical axis goes up
boolean
AbstractSystem.isVerticalAxisUp
▸ transform(lon, lat, dst?): Point
Transforms the specified coordinate to projection from lat / lng
| Name | Type | Description |
|---|---|---|
lon | number | long |
lat | number | lat |
Optional dst | Point | optional destination point |
▸ Static getClassName(): string
string
▸ Static parse(str): WKT
Parses Well-Known text projection representation into WKT coordinate system
| Name | Type | Description |
|---|---|---|
str | string | WKT text |