Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The naming of the Mercator variants in Projection Engine #48

Closed
phaarnes opened this issue Jul 12, 2023 · 2 comments
Closed

The naming of the Mercator variants in Projection Engine #48

phaarnes opened this issue Jul 12, 2023 · 2 comments

Comments

@phaarnes
Copy link

Hi,

This is probably more of a question than an issue.

According to the ESRI PE documentation, the "Mercator Variant C" projection should have the name "Mercator_Variant_C" in ESRI WKT.
See the file pe_list_projection.txt for example.
However in ArcGIS PRO this method is named only "Mercator". And if "Mercator_Variant_C" is used in Petrel, it just crashes.
I also see this for the other Mercator variants as well. Take Pulkovo 1942 / Caspian Sea Mercator (EPSG:3388) for instance. It uses Mercator variant B, but according to pe_list_projcs.txt, the name "Mercator” should be used in the WKT.

At the ArcGIS web page, it says that the same algorithm is used for all these tree variants.

Is the «best practice” to use only “Mercator” in the WKT regardless of the variant? Or is it an update that has not yet been fully implemented in all stages? Will the use of only "Mercator" in ESRI WKT create problems in the future?

@beuan
Copy link
Collaborator

beuan commented Sep 13, 2024

Hi @phaarnes!

ArcGIS and the Projection Engine can recognize definitions for all Mercator variants and correctly read them from WKT and WKT2 strings. When objects are created using these strings, we output them with the same names. If a CRS definition is created using WKID, we use our “canonical” name, which in this case is Mercator. I am unsure what libraries Petrel software uses to read and process CRS definitions.

The term Mercator is synonymous with Mercator (variant B), Mercator_Variant_B, and Mercator Variant B. This was the original Mercator in the Projection Engine, and we need to retain this name for backward compatibility and interoperability with older versions of ArcGIS software, as well as with the numerous strings already in public use that employ this standalone term without a variant qualifier.

It is not a good idea to use "Mercator" for all three variants because they use different parameters. For instance, variant A requires a Scale Factor parameter, variant B needs a Standard Parallel 1 parameter, and variant C a Latitude of Origin parameter. It is better to be specific in the variant A and C cases. Using variant B would not hurt either, especially when working outside the ArcGIS environment.

Currently, there appears to be no PROJCRS in the EPSG database that utilizes Mercator Variant C as their conversion method. Consequently, the Projection Engine does not have any definitions using this variant, but it should work with a custom definitions.

I hope this helps!

@beuan beuan closed this as completed Sep 13, 2024
@phaarnes
Copy link
Author

Hi,

Thank you for your thorough answer!

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

No branches or pull requests

2 participants