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

增加随机读取的地形数据 #12

Open
Clarmy opened this issue Mar 21, 2022 · 3 comments
Open

增加随机读取的地形数据 #12

Clarmy opened this issue Mar 21, 2022 · 3 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@Clarmy
Copy link
Member

Clarmy commented Mar 21, 2022

根据传入的经纬度范围返回合适分辨率的地形数据并绘图

参考资料:

  1. https://github.com/tangrams/heightmapper
  2. https://www.nextzen.org/
@Clarmy
Copy link
Member Author

Clarmy commented Mar 21, 2022

@Clarmy Clarmy self-assigned this Mar 21, 2022
@Clarmy Clarmy added the enhancement New feature or request label Mar 21, 2022
@Clarmy Clarmy added this to the v-1.1.* milestone Apr 9, 2022
@Clarmy Clarmy modified the milestones: v-1.1.*, v-1.2.* Aug 3, 2022
@Clarmy Clarmy modified the milestones: v-1.2.*, v-1.1.* Aug 11, 2022
@Clarmy
Copy link
Member Author

Clarmy commented Dec 28, 2022

https://www.mapzen.com/blog/elevation/

Terrarium format PNG tiles contain raw elevation data in meters, in Mercator projection (EPSG:3857). All values are positive with a 32,768 offset, split into the red, green, and blue channels, with 16 bits of integer and 8 bits of fraction. To decode:

(red * 256 + green + blue / 256) - 32768

@Clarmy
Copy link
Member Author

Clarmy commented Jan 6, 2023

该功能将分流到另一个项目:https://github.com/Clarmy/pyterrain

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant