aboutsummaryrefslogtreecommitdiff
path: root/scripts/build_esri_projection_mapping.py
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 /scripts/build_esri_projection_mapping.py
parent25f8c03774bd639af9e07f616211caada9d307f0 (diff)
downloadPROJ-004116f53a9f2e2afde9ffcfdadcbe1d1f4df2ac.tar.gz
PROJ-004116f53a9f2e2afde9ffcfdadcbe1d1f4df2ac.zip
Fix mapping of Vertical_Near_Side_Perspective (fixes #1965)
Diffstat (limited to 'scripts/build_esri_projection_mapping.py')
-rw-r--r--scripts/build_esri_projection_mapping.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/scripts/build_esri_projection_mapping.py b/scripts/build_esri_projection_mapping.py
index 8d16ca24..84eba426 100644
--- a/scripts/build_esri_projection_mapping.py
+++ b/scripts/build_esri_projection_mapping.py
@@ -467,11 +467,13 @@ config_str = """
- Central_Meridian: EPSG_NAME_PARAMETER_LONGITUDE_OF_NATURAL_ORIGIN
- Vertical_Near_Side_Perspective:
- WKT2_name: PROJ_WKT2_NAME_METHOD_VERTICAL_NEAR_SIDE_PERSPECTIVE
+ WKT2_name: EPSG_NAME_METHOD_VERTICAL_PERSPECTIVE
Params:
- False_Easting: EPSG_NAME_PARAMETER_FALSE_EASTING
- False_Northing: EPSG_NAME_PARAMETER_FALSE_NORTHING
- - Central_Meridian: EPSG_NAME_PARAMETER_LONGITUDE_OF_NATURAL_ORIGIN
+ - Longitude_Of_Center: EPSG_NAME_PARAMETER_LONGITUDE_TOPOGRAPHIC_ORIGIN
+ - Latitude_Of_Center: EPSG_NAME_PARAMETER_LATITUDE_TOPOGRAPHIC_ORIGIN
+ - Height: EPSG_NAME_PARAMETER_VIEWPOINT_HEIGHT
- Stereographic_North_Pole:
WKT2_name: EPSG_NAME_METHOD_POLAR_STEREOGRAPHIC_VARIANT_B
@@ -787,8 +789,7 @@ print('};')
print("""
// ---------------------------------------------------------------------------
-// end of anonymous namespace
-}
+} // namespace {
//! @endcond