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

Few questions about parameters #1

Open
Racum opened this issue Jan 25, 2021 · 1 comment
Open

Few questions about parameters #1

Racum opened this issue Jan 25, 2021 · 1 comment

Comments

@Racum
Copy link

Racum commented Jan 25, 2021

Hello @damody, this code looks promising, but I need some context; can you answer a few questions to help me understand it?

  • About lnglat_to_mercator:
    • Are lng and lat units in degrees?
    • Is the unit of the return value in meters?
  • About mercator_to_lnglat:
    • Are x and x units in meters?
    • Is the unit of the return value in degrees?
  • Both lnglat_to_mercator and mercator_to_lnglat:
    • Is center_lng the φ (phi) angle from this diagram?
    • What does k0 and dx mean in this context?
  • License:
    • Is this code free to use?
    • Can you drop a LICENSE file in the repo just to clarify it?

Thanks in advance!

@damody
Copy link
Owner

damody commented Mar 22, 2021

Hello @damody, this code looks promising, but I need some context; can you answer a few questions to help me understand it?

  • About lnglat_to_mercator:
    • Are lng and lat units in degrees? yes
    • Is the unit of the return value in meters? yes
  • About mercator_to_lnglat:
    • Are x and x units in meters? yes
    • Is the unit of the return value in degrees? yes
  • Both lnglat_to_mercator and mercator_to_lnglat:
  • License:
    • Is this code free to use?
    • Can you drop a LICENSE file in the repo just to clarify it?
      I add BSD.

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