Show:

Object for transforming between coordinate systems.

Table of Contents

Constructor

gdal.CoordinateTransformation
(
  • source
  • target
)

Parameters:

Methods

transformPoint
(
  • x
  • y
  • z
)
Object

Transform point from source to destination space.

Parameters:

  • x Number
  • y Number
  • [z] Number optional

Returns:

Object:

A regular object containing x, y, z properties.

Example:

pt = transform.transformPoint(0, 0, 0);
pt = transform.transformPoint({x: 0, y: 0, z: 0});