aboutsummaryrefslogtreecommitdiff
path: root/test/unit/test_io.cpp
diff options
context:
space:
mode:
authorNyall Dawson <nyall.dawson@gmail.com>2020-02-24 08:40:43 +1000
committerEven Rouault <even.rouault@spatialys.com>2020-02-24 12:43:00 +0100
commit004116f53a9f2e2afde9ffcfdadcbe1d1f4df2ac (patch)
tree899c600d4526e4c43a5a7a62cbb9960f9d0aff50 /test/unit/test_io.cpp
parent25f8c03774bd639af9e07f616211caada9d307f0 (diff)
downloadPROJ-004116f53a9f2e2afde9ffcfdadcbe1d1f4df2ac.tar.gz
PROJ-004116f53a9f2e2afde9ffcfdadcbe1d1f4df2ac.zip
Fix mapping of Vertical_Near_Side_Perspective (fixes #1965)
Diffstat (limited to 'test/unit/test_io.cpp')
-rw-r--r--test/unit/test_io.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/unit/test_io.cpp b/test/unit/test_io.cpp
index cc780be1..95153a8a 100644
--- a/test/unit/test_io.cpp
+++ b/test/unit/test_io.cpp
@@ -5011,6 +5011,21 @@ static const struct {
{"False northing", 2},
}},
+ {"Vertical_Near_Side_Perspective",
+ {{"False_Easting", 1},
+ {"False_Northing", 2},
+ {"Longitude_Of_Center", 3},
+ {"Latitude_Of_Center", 4},
+ {"Height", 5}},
+ "Vertical Perspective",
+ {
+ {"Latitude of topocentric origin", 4},
+ {"Longitude of topocentric origin", 3},
+ {"Viewpoint height", 5},
+ {"False easting", 1},
+ {"False northing", 2},
+ }},
+
{
"Unknown_Method",
{{"False_Easting", 1},