Open courtiol opened 2 months ago
This is a great idea for get_elev_point. It defaults to epqs which is the US Geologic Surveys point query service so by definition is US only. The easiest change would be to use aws as the default source, but that is a pretty big API change and could cause problems for people.
I think implementing a check on the data to make sure it is in the US is a good option. I'll add that to my list!
And thank you for all the suggestions and testing. Been really helpful.
Just a suggestion/feature request for others.
For now, when using the function retrieving elevations outside the US, the function will attempt to do the work (which takes a lot of time on large dataset) and returns a series of rather uninformative error messages which do not hint towards using
src = "aws"
. I wonder if it would not be more user-friendly and relatively straightforward to implement a short test on the locations beforehand to check whether the locations are covered or not by the selected source and either err at that point or automatically shift the src.Example:
Best, Alex