From 2e104e092578347de11208e9a3a80a3bf711265d Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Fri, 25 Sep 2020 22:53:38 +0200 Subject: Implement ellipsoidal formulation of +proj=ortho (fixes #397) - Map ESRI 'Local' to +proj=ortho when Scale_Factor = 1 and Azimuth = 0 - Map ESRI 'Orthographic' to a PROJ WKT2 'Orthographic (Spherical)' which maps to +proj=ortho +f=0 to froce spherical evaluation --- scripts/build_esri_projection_mapping.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'scripts') diff --git a/scripts/build_esri_projection_mapping.py b/scripts/build_esri_projection_mapping.py index 5206e191..12eeb852 100644 --- a/scripts/build_esri_projection_mapping.py +++ b/scripts/build_esri_projection_mapping.py @@ -436,11 +436,23 @@ config_str = """ - Longitude_Of_Origin: EPSG_NAME_PARAMETER_LONGITUDE_OF_NATURAL_ORIGIN - Latitude_Of_Origin: EPSG_NAME_PARAMETER_LATITUDE_OF_NATURAL_ORIGIN +# ESRI's Orthographic is a spherical-only formulation. The ellipsoidal capable +# name is Local. See below - Orthographic: + WKT2_name: PROJ_WKT2_NAME_ORTHOGRAPHIC_SPHERICAL + Params: + - False_Easting: EPSG_NAME_PARAMETER_FALSE_EASTING + - False_Northing: EPSG_NAME_PARAMETER_FALSE_NORTHING + - Longitude_Of_Center: EPSG_NAME_PARAMETER_LONGITUDE_OF_NATURAL_ORIGIN + - Latitude_Of_Center: EPSG_NAME_PARAMETER_LATITUDE_OF_NATURAL_ORIGIN + +- Local: WKT2_name: EPSG_NAME_METHOD_ORTHOGRAPHIC Params: - False_Easting: EPSG_NAME_PARAMETER_FALSE_EASTING - False_Northing: EPSG_NAME_PARAMETER_FALSE_NORTHING + - Scale_Factor: 1.0 + - Azimuth: 0.0 - Longitude_Of_Center: EPSG_NAME_PARAMETER_LONGITUDE_OF_NATURAL_ORIGIN - Latitude_Of_Center: EPSG_NAME_PARAMETER_LATITUDE_OF_NATURAL_ORIGIN -- cgit v1.2.3