GeographicTransformationStep.withWkText constructor

GeographicTransformationStep.withWkText(
  1. String wkText
)

Creates a new GeographicTransformationStep instance from a well-known text string.

Parameters:

  • wkText — The well-known text of the geographic transformation step to create.

Implementation

factory GeographicTransformationStep.withWkText(String wkText) {
  _initializeArcGISEnvironmentIfNeeded();
  final coreWkText = _CString(wkText);
  final handle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_GeographicTransformationStep_createWithWKText(
        coreWkText.bytes, errorHandler);
  });
  return GeographicTransformationStep._withHandle(handle);
}