aboutsummaryrefslogtreecommitdiff
path: root/test/unit/test_io.cpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2020-03-05 08:20:19 +0100
committerGitHub <noreply@github.com>2020-03-05 08:20:19 +0100
commitb8db2500285e3d4feaa5778ec7fa888bd6c6a479 (patch)
treef53e1e035e119a7955b3b206e439ca6fc9a2efeb /test/unit/test_io.cpp
parent341e0e7eb4f95de5c6ccc24ee98b7bb304964449 (diff)
downloadPROJ-b8db2500285e3d4feaa5778ec7fa888bd6c6a479.tar.gz
PROJ-b8db2500285e3d4feaa5778ec7fa888bd6c6a479.zip
ESRI WKT: map Mercator_Variant_A, Mercator_Variant_C and Transverse_Cylindrical_Equal_Area projections (#2020)
* Add mapping of ESRI projection methods Mercator_Variant_A, Mercator_Variant_C and Transverse_Cylindrical_Equal_Area * Add a few notes about missing mappings
Diffstat (limited to 'test/unit/test_io.cpp')
-rw-r--r--test/unit/test_io.cpp41
1 files changed, 41 insertions, 0 deletions
diff --git a/test/unit/test_io.cpp b/test/unit/test_io.cpp
index 884b52f2..581083b3 100644
--- a/test/unit/test_io.cpp
+++ b/test/unit/test_io.cpp
@@ -5002,6 +5002,47 @@ static const struct {
{"False northing", 2},
}},
+ {"Mercator_Variant_A",
+ {{"False_Easting", 1},
+ {"False_Northing", 2},
+ {"Scale_Factor", 3},
+ {"Central_Meridian", 4}},
+ "Mercator (variant A)",
+ {
+ {"Longitude of natural origin", 4},
+ {"Scale factor at natural origin", 3},
+ {"False easting", 1},
+ {"False northing", 2},
+ }},
+
+ {"Mercator_Variant_C",
+ {{"False_Easting", 1},
+ {"False_Northing", 2},
+ {"Standard_Parallel_1", 3},
+ {"Central_Meridian", 4}},
+ "Mercator (variant B)",
+ {
+ {"Latitude of 1st standard parallel", 3},
+ {"Longitude of natural origin", 4},
+ {"False easting", 1},
+ {"False northing", 2},
+ }},
+
+ {"Transverse_Cylindrical_Equal_Area",
+ {{"False_Easting", 1},
+ {"False_Northing", 2},
+ {"Central_Meridian", 3},
+ {"Scale_Factor", 4},
+ {"Latitude_Of_Origin", 5}},
+ "Transverse Cylindrical Equal Area",
+ {
+ {"Latitude of natural origin", 5},
+ {"Longitude of natural origin", 3},
+ {"Scale factor at natural origin", 4},
+ {"False easting", 1},
+ {"False northing", 2},
+ }},
+
{"Gnomonic_Ellipsoidal",
{{"False_Easting", 1},
{"False_Northing", 2},