mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-02-07 00:04:40 +01:00
23 lines
709 B
C#
23 lines
709 B
C#
using ProjNet.CoordinateSystems;
|
|
|
|
namespace MapControl.Projections
|
|
{
|
|
/// <summary>
|
|
/// WGS84 Universal Transverse Mercator Projection -
|
|
/// EPSG:32601 to EPSG:32660 and EPSG:32701 to EPSG:32760.
|
|
/// </summary>
|
|
public class Wgs84UtmProjection : ProjNetMapProjection
|
|
{
|
|
public int Zone { get; }
|
|
public Hemisphere Hemisphere { get; }
|
|
|
|
public Wgs84UtmProjection(int zone, Hemisphere hemisphere)
|
|
: base(new MapControl.Wgs84UtmProjection(zone, hemisphere))
|
|
{
|
|
Zone = zone;
|
|
Hemisphere = hemisphere;
|
|
CoordinateSystem = ProjectedCoordinateSystem.WGS84_UTM(zone, hemisphere == Hemisphere.North);
|
|
}
|
|
}
|
|
}
|