toSpatialReference

Returns a new SpatialReference based on the current values of this builder. Use SpatialReferenceBuilder.isValid after changing precision properties on this builder to check all the values are valid and consistent with each other - for example, SpatialReferenceBuilder.tolerance must be at least twice SpatialReferenceBuilder.resolution for this method to return a SpatialReference.

Return

A new spatial reference with the current coordinate system and precision values of this builder.

Since

200.8.0

See also

Throws

A SpatialReference cannot be created from the current values of SpatialReferenceBuilder.resolution, SpatialReferenceBuilder.tolerance, SpatialReferenceBuilder.verticalResolution and/or SpatialReferenceBuilder.verticalTolerance.