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

Test of sm.px() #22

Open
jingsam opened this issue Jul 19, 2016 · 1 comment
Open

Test of sm.px() #22

jingsam opened this issue Jul 19, 2016 · 1 comment

Comments

@jingsam
Copy link
Contributor

jingsam commented Jul 19, 2016

I have made a plot with the results of sm.px(). see bellow:

  1. zoom=0, latitude=0, longitude=[-360, 360]
    longitude vs px

Problem: when the longitude is less that -180, the px will decreased continuely. Howerver when the longitude is greater than 180, the px is fixed to 256, which I think should be greater than 256.

  1. zoom=0, longitude=0, laitude=[-360, 360]
    latitude vs px

Problem: When the latitude is in the range of [85, 95], the px should be fixed to zero.

@jingsam
Copy link
Contributor Author

jingsam commented Jul 19, 2016

Another test of sm.ll()

  1. zoom=0, y=0, x=[-512, 512]
    px vs longitude
  2. zoom=0, x=0, y=[-512, 512]
    px vs latitude

As we can see, sm.ll() is not strictly inverse of sm.px()

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

1 participant