Transforms given coordinate using source and target spatial reference systems (SRS).


Namespace: FDF.Common.CoordinateSystems
Assembly: FDF.Common (in FDF.Common.dll)

Syntax

Visual Basic (Declaration)
PublicSharedFunctionTransform(_
ByRefcoordAsGeCoordinate, _
ByValsourceAsInteger, _
ByValtargetAsInteger_
)AsBoolean
C#
publicstaticboolTransform(
refGeCoordinatecoord,
intsource,
inttarget
)
C++
public:
staticboolTransform(
GeCoordinate%coord,
intsource,
inttarget
)
J#
publicstaticboolTransform(
GeCoordinatecoord,
intsource,
inttarget
)
JScript
publicstatic functionTransform(
coord:GeCoordinate,
source:int,
target:int
):bool

Parameters

coord
Coordinate to transform (in-place).
source
Source SRS EPSG code.
target
Target SRS EPSG code.

Return Value

True if transformation suceeded, otherwise returns False.

Remarks

When converting to Lat/Lon, resulting coordinate's Y = Lat and X = Lon.

See Also