Click or drag to resize

CIPJiCompareDatumsToSpecifiedToleranceWithFeedback Method (CIPJ, Int32, String)

Compare the datums of two coordinate systems, but allows for a specified accuracy and returns the reason if they are different

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntax
public int iCompareDatumsToSpecifiedToleranceWithFeedback(
	CIPJ ipj2,
	int sig_digits,
	ref string str_val
)

public int iCompareDatumsToSpecifiedToleranceWithFeedback(
	CIPJ ipj2,
	int sig_digits,
	ref string str_val
)

Parameters

ipj2
Type: GeoEngine.Core.GXNetXCIPJ
IPJ 2
sig_digits
Type: SystemInt32
Significant digits (0 for exact)
str_val
Type: SystemString
Reason if different returned

Return Value

Type: Int32
0 - Datums are different 1 - Datums are the same, but different LDT 2 - Datums and LTD are the same
Remarks
To transform between different datums requires the use of a local datum transform. The local datum transform can be defined when a coordinate system is created, but the definition is optional. This function will test that the local datum transforms are defined. Note that a coordinate transformation between datums without a local datum transform is still possible, but only the effect of ellipsoid shape will be modelled in the transform.
See Also