Exemple #1
0
 public ICoordinateTransformation CreateTransformation(ICoordinateSystem src, ICoordinateSystem tgt)
 {
     return(_ctFactory.CreateFromCoordinateSystems(src, tgt));
 }
 /// <summary>
 /// Method to create a coordinate tranformation between two spatial reference systems
 /// </summary>
 /// <param name="source">The source spatial reference system.</param><param name="target">The target spatial reference system.</param>
 /// <returns>
 /// A coordinate transformation,
 /// <value>
 /// null
 /// </value>
 ///  if no transformation could be created.
 /// </returns>
 public ICoordinateTransformation CreateTransformation(ICoordinateSystem source, ICoordinateSystem target)
 {
     return(_ctFactory.CreateFromCoordinateSystems(source, target));
 }
Exemple #3
0
 private void MakeTransforms()
 {
     FromWGS84ToProjection = TransformFactory.CreateFromCoordinateSystems(GeographicCoordinateSystem.WGS84, Projection);
     FromProjectionToWGS84 = TransformFactory.CreateFromCoordinateSystems(Projection, GeographicCoordinateSystem.WGS84);
 }