createWithWkTextOrNull

Creates a spatial reference builder based on well-known text. If the text is invalid, this function will return null.

This method creates a spatial reference builder based on the given well-known text definition of a coordinate system, and so can be used to define a builder with a customized coordinate system. Both WKT and WKT2 formats are supported as input. The builder will have default precision values (SpatialReferenceBuilder.resolution, SpatialReferenceBuilder.tolerance, SpatialReferenceBuilder.verticalResolution, and SpatialReferenceBuilder.verticalTolerance).

Since

200.8.0

Parameters

wkText

A supported well-known text definition of a coordinate system.