SpatialReference

constructor(wkid: Int)

Creates a spatial reference based on WKID. The method will create a spatial reference that has only horizontal coordinate system and does not have vertical coordinate system associated with it.

Since

200.1.0

Parameters

wkid

The well-known ID of the horizontal coordinate system. Must be a positive value.


constructor(wkid: Int, verticalWkid: Int)

Creates a spatial reference based on WKID for the horizontal coordinate system and vertical coordinate system. The method creates a spatial reference that has both horizontal and vertical coordinate systems. When the vertical WKID is 0, the method is equivalent to calling SpatialReference.SpatialReference, and does not define a vertical coordinate system part.

Since

200.1.0

Parameters

wkid

The well-known ID of the horizontal coordinate system. Must be a positive value.

verticalWkid

The well-known ID of the vertical coordinate system. Must be a non negative value.


constructor(wkText: String)

Creates a spatial reference based on well-known text.

Since

200.1.0

Parameters

wkText

The well-known text of the spatial reference to create.