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

for some coords no height is returned #49

Open
berndhahnebach opened this issue Aug 20, 2020 · 1 comment
Open

for some coords no height is returned #49

berndhahnebach opened this issue Aug 20, 2020 · 1 comment

Comments

@berndhahnebach
Copy link

try the following ...

from sidepackages_geodata import srtm as srtmtkrjina
eledata = srtmtkrjina.get_data()
eledata.get_elevation(46.8, 8.0)
eledata.get_elevation(46.783, 8.003)

>>> eledata.get_elevation(46.8, 8.0)
1360
>>> eledata.get_elevation(46.783, 8.003)
>>> 
@cshdde
Copy link

cshdde commented Oct 9, 2021

Hi,
I am pretty new to srtm, but I suspect it's not a problem with the srtm code but with the underlying srtm data (currently downloaded from srtm.kurviger.de): for the above (and many other) coordinates, the .hgt files contain value 32768 for void elevation value. This causes srtm to return 'None' height.
There should be new data available in the mean time, which should

  1. have 1 arc resolution world-wide, and
  2. have many voids filled.
    No clue how to access these improved data though. Any suggestions?

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

2 participants