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

GeoreferencingDialog: Fix declination lookup #2255

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dl3sdo
Copy link
Member

@dl3sdo dl3sdo commented Jul 6, 2024

The declination lookup at www.ngdc.noaa.gov requests an additional parameter 'key'. OpenOrienteering Mapper is entitled due to registration to use the key which is also used by the Magnetic Field Calculators' homepage.

This PR is a straightforward version of #2088 and thus might supersede it.

The declination lookup at www.ngdc.noaa.gov requests an additional
parameter 'key'. OpenOrienteering Mapper is entitled due to
registration to use the key which is also used by the
Magnetic Field Calculators' homepage.
@dl3sdo
Copy link
Member Author

dl3sdo commented Jul 8, 2024

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@dl3sdo dl3sdo added this to the v0.9.6 milestone Jul 18, 2024
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@dl3sdo dl3sdo requested review from lpechacek and dg0yt July 28, 2024 18:31
Copy link
Member

@lpechacek lpechacek left a comment

Choose a reason for hiding this comment

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

Ack on this one. I believe that this straightforward implementation suffices.

FTR, I took a slightly different route in LibreMapper (LibreMapper/mapper@6c2fd6c), giving the user opportunity to enter an alternate key when the declination lookup fails. On the other hand, I doubt that the key will change without an advance notice. That makes the extra code mostly useless if not harmful. Time will show...

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