aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2020-03-09 23:17:11 +0100
committerEven Rouault <even.rouault@spatialys.com>2020-03-09 23:17:11 +0100
commit746c8aa17a4d0e2cda1933b4c0bd79d494089f46 (patch)
tree376011539440adbcae92f3b6b0263832cfc2f8d0 /include
parent13782b19974ed8c99a8176692e688512c96e8481 (diff)
downloadPROJ-746c8aa17a4d0e2cda1933b4c0bd79d494089f46.tar.gz
PROJ-746c8aa17a4d0e2cda1933b4c0bd79d494089f46.zip
Map ESRI Transverse_Mercator_Complex to Transverse Mercator
According to https://gis.stackexchange.com/questions/226679/complex-utm-projection it is highly likely that Transverse_Mercator_Complex corresponds to our extended/enhanced/Poder-Engsager transverse mercator method (etmerc), or something similarly precise. So we can map that to the standard Transverse Mercator method, since etmerc is used for it.
Diffstat (limited to 'include')
-rw-r--r--include/proj/internal/esri_projection_mappings.hpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/proj/internal/esri_projection_mappings.hpp b/include/proj/internal/esri_projection_mappings.hpp
index 1fd3788c..bd1ccff9 100644
--- a/include/proj/internal/esri_projection_mappings.hpp
+++ b/include/proj/internal/esri_projection_mappings.hpp
@@ -114,6 +114,19 @@ static const ESRIParamMapping paramsESRI_Transverse_Mercator[] = {
EPSG_CODE_PARAMETER_LATITUDE_OF_NATURAL_ORIGIN, "0.0", false},
{nullptr, nullptr, 0, "0.0", false}};
+static const ESRIParamMapping paramsESRI_Transverse_Mercator_Complex[] = {
+ {"False_Easting", EPSG_NAME_PARAMETER_FALSE_EASTING,
+ EPSG_CODE_PARAMETER_FALSE_EASTING, "0.0", false},
+ {"False_Northing", EPSG_NAME_PARAMETER_FALSE_NORTHING,
+ EPSG_CODE_PARAMETER_FALSE_NORTHING, "0.0", false},
+ {"Central_Meridian", EPSG_NAME_PARAMETER_LONGITUDE_OF_NATURAL_ORIGIN,
+ EPSG_CODE_PARAMETER_LONGITUDE_OF_NATURAL_ORIGIN, "0.0", false},
+ {"Scale_Factor", EPSG_NAME_PARAMETER_SCALE_FACTOR_AT_NATURAL_ORIGIN,
+ EPSG_CODE_PARAMETER_SCALE_FACTOR_AT_NATURAL_ORIGIN, "0.0", false},
+ {"Latitude_Of_Origin", EPSG_NAME_PARAMETER_LATITUDE_OF_NATURAL_ORIGIN,
+ EPSG_CODE_PARAMETER_LATITUDE_OF_NATURAL_ORIGIN, "0.0", false},
+ {nullptr, nullptr, 0, "0.0", false}};
+
static const ESRIParamMapping paramsESRI_Albers[] = {
{"False_Easting", EPSG_NAME_PARAMETER_EASTING_FALSE_ORIGIN,
EPSG_CODE_PARAMETER_EASTING_FALSE_ORIGIN, "0.0", false},
@@ -901,6 +914,9 @@ static const ESRIMethodMapping esriMappings[] = {
EPSG_CODE_METHOD_TRANSVERSE_MERCATOR, paramsESRI_Gauss_Kruger},
{"Transverse_Mercator", EPSG_NAME_METHOD_TRANSVERSE_MERCATOR,
EPSG_CODE_METHOD_TRANSVERSE_MERCATOR, paramsESRI_Transverse_Mercator},
+ {"Transverse_Mercator_Complex", EPSG_NAME_METHOD_TRANSVERSE_MERCATOR,
+ EPSG_CODE_METHOD_TRANSVERSE_MERCATOR,
+ paramsESRI_Transverse_Mercator_Complex},
{"Albers", EPSG_NAME_METHOD_ALBERS_EQUAL_AREA,
EPSG_CODE_METHOD_ALBERS_EQUAL_AREA, paramsESRI_Albers},
{"Sinusoidal", PROJ_WKT2_NAME_METHOD_SINUSOIDAL, 0, paramsESRI_Sinusoidal},