MapProjectionAreIdentical Method
Function that checks if two projecions are identical.
Two map projections are identical, if they have the same set of parameters.
if just one of the parameters are different, then the map projections are NOT identical.
Namespace: DHI.ProjectionsAssembly: DHI.Projections (in DHI.Projections.dll) Version: 24.0.0.0 (11.1.1.1111)
public static bool AreIdentical(
string projstring1,
string projstring2
)
static member AreIdentical :
projstring1 : string *
projstring2 : string -> bool
- projstring1 String
- Specifies the full WKT map projection string to the first projection
- projstring2 String
- Specifies the full WKT map projection string to the second projection
Boolean
As an example, "UTM-32" is identical to "WGS_1984_UTM_Zone_32N", because they
have the same set of parameters and the ellipsoids are equivalent, but the projections don't have the same name.
Another example of identical map projections is "NAD_1983_StatePlane_Alaska_1_FIPS_5001" and
"NAD_1983_StatePlane_Alaska_1_FIPS_5001_Feet". Some parameters are defined in different units,
but they are converted to a common unit, before they are compared.