Unified map projections

This commit is contained in:
ClemensFischer 2026-02-01 17:25:04 +01:00
parent a4bd11e26d
commit 9fe7dccd68
21 changed files with 370 additions and 377 deletions

View file

@ -15,10 +15,16 @@ namespace MapControl
/// </summary>
public class TransverseMercatorProjectionSnyder : MapProjection
{
public double Flattening { get; set; } = Wgs84Flattening;
public double ScaleFactor { get; set; } = 0.9996;
public double FalseEasting { get; set; } = 5e5;
public double FalseNorthing { get; set; }
public TransverseMercatorProjectionSnyder()
{
}
public TransverseMercatorProjectionSnyder(int utmZone) : this()
{
CentralMeridian = utmZone * 6d - 183d;
ScaleFactor = 0.9996;
FalseEasting = 5e5;
}
public override double GridConvergence(double latitude, double longitude)
{