From 34b6f948ca12273f6ec64f1517ca716f8107e9f5 Mon Sep 17 00:00:00 2001 From: Dennis Mansfield Date: Fri, 15 Nov 2019 20:29:18 +0200 Subject: [PATCH] Transverse_Mercator_South_Orientated works correctly using standard Transverse_Mercator and thw WKT / EPSG defintions in postgis and csv. This has been verified for LO15->LO33 projections in South Africa (EPSG 2046 -> 2055) --- .../CoordinateSystems/Projections/ProjectionsRegistry.cs | 1 + test/ProjNet.Tests/WKT/WKTCoordSysParserTests.cs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ProjNet/CoordinateSystems/Projections/ProjectionsRegistry.cs b/src/ProjNet/CoordinateSystems/Projections/ProjectionsRegistry.cs index 2856ba7..71d2fe2 100644 --- a/src/ProjNet/CoordinateSystems/Projections/ProjectionsRegistry.cs +++ b/src/ProjNet/CoordinateSystems/Projections/ProjectionsRegistry.cs @@ -28,6 +28,7 @@ static ProjectionsRegistry() Register("google_mercator", typeof(PseudoMercator)); Register("transverse_mercator", typeof(TransverseMercator)); + Register("transverse_mercator_south_orientated", typeof(TransverseMercator)); Register("albers", typeof(AlbersProjection)); Register("albers_conic_equal_area", typeof(AlbersProjection)); diff --git a/test/ProjNet.Tests/WKT/WKTCoordSysParserTests.cs b/test/ProjNet.Tests/WKT/WKTCoordSysParserTests.cs index 97af085..a3cf795 100644 --- a/test/ProjNet.Tests/WKT/WKTCoordSysParserTests.cs +++ b/test/ProjNet.Tests/WKT/WKTCoordSysParserTests.cs @@ -159,7 +159,7 @@ public void TestCreateCoordinateTransformationForWktInCsv() { //Skip not supported projections case "Oblique_Stereographic": - case "Transverse_Mercator_South_Orientated": + // case "Transverse_Mercator_South_Orientated": case "Lambert_Conformal_Conic_1SP": case "Lambert_Azimuthal_Equal_Area": case "Tunisia_Mining_Grid":