-
Notifications
You must be signed in to change notification settings - Fork 0
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
Use 1/9 Arcsecond Elevation Data #155
Conversation
@@ -50,7 +50,7 @@ public MultiSourceElevationProvider(String cacheDir) { | |||
|
|||
@Override | |||
public double getEle(double lat, double lon) { | |||
if (lat > 37 && lat < 38 && lon > -123 && lon < -122) | |||
if (lat > 37.5 && lat < 38.25 && lon > -122.75 && lon < -122) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What are these hard coded coordinates about? What happens if i try to use this el. provider outside of these bounds?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have a rectangle of 1/9th arcsecond data for the 0.75x0.75 square with the northwestern corner (38.25, -122.75)
. If getEle()
receives a coordinate outside of this box, we fallback to SRTM data.
No description provided.