Skip to content

Fix parameter mappings of Local Orthographic, and re-import ESRI database with the mapping for this method#4229

Merged
rouault merged 1 commit intoOSGeo:masterfrom
rouault:fine_tune_local_ortho
Aug 16, 2024
Merged

Fix parameter mappings of Local Orthographic, and re-import ESRI database with the mapping for this method#4229
rouault merged 1 commit intoOSGeo:masterfrom
rouault:fine_tune_local_ortho

Conversation

@rouault
Copy link
Member

@rouault rouault commented Aug 16, 2024

@rouault rouault added this to the 9.5.0 milestone Aug 16, 2024
@rouault rouault merged commit 8a94b99 into OSGeo:master Aug 16, 2024
Copy link
Contributor

@jjimenezshaw jjimenezshaw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @rouault

WKT1_SCALE_FACTOR, common::UnitOfMeasure::Type::SCALE,
k}; /* ignored by PROJ currently */

static const ParamMapping paramLongCentreLongCenter = {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is paramLongCentreLongCenter name "duplicated" in purpose? Using "Centre" and "Center"? Or the editor tricked you?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

paraLongCentreLongCenter is indeed a very badly named variable. I believe it intends to capture the (WKT2, WKT1) names, but they are actually here ("Longitude of origin", "longitude_of_center"). I remember to have struggled establishing those mappings because the same WKT2 parameter name doesn't always map to the same WKT1 parameter name, depending on which projection method it is used in. Partly because WKT1 parameter names were invented before, and/or EPSG had renamed them after they were hardcoded in GDAL 20 years ago.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants