SpatialReferenceBuilder constructor

SpatialReferenceBuilder({
  1. required int wkid,
  2. int verticalWkid = 0,
})

Creates a spatial reference builder based on the given horizontal and vertical coordinate systems.

This method creates a spatial reference builder based on the given horizontal coordinate system WKID and vertical coordinate system verticalWKID. It will have default precision values (SpatialReferenceBuilder.resolution, SpatialReferenceBuilder.tolerance, SpatialReferenceBuilder.verticalResolution, and SpatialReferenceBuilder.verticalTolerance). If verticalWKID is 0, this is equivalent to calling SpatialReferenceBuilder.new, and the builder will have not have a vertical coordinate system associated with it.

Parameters:

  • wkid — The well-known ID of the horizontal coordinate system. Must be a positive value (greater than zero).
  • verticalWkid — The well-known ID of the vertical coordinate system. Must be a non negative value.