-
Notifications
You must be signed in to change notification settings - Fork 185
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
How to get elevation of points? #22
Comments
That three-geo/examples/geo-viewer/src/viewer.js Lines 459 to 463 in 07a47d6
For the underlying raycasting function |
Hi, First thanks for your library, it rocks ! I looked at your example "projection" and I saw that your are setting the elevation of the point by hand. I guess I should not be using this as it is mentionned WIP, but there is currently not any other way to retrieve the height of a given point right ? Thanks again for your work. |
I found out that you can obtain the height of any coordinate using Mapbox rgb terrain tiles (you can find a library for this). The rest is easy as shown in the projection example. |
Hi @Spope ! Resolving elevation by
@eserrose Curious, what's the name of the library? |
Thanks for the answers, will look for other way of doing this. |
In geo-viewer, clicking a point gives all x,y, and z coordinates of a point. However, I could not find how that is done. Can someone please help?
Much appreciated.
The text was updated successfully, but these errors were encountered: