srtm.py
srtm.py copied to clipboard
Geo elevation data parser for "The Shuttle Radar Topography Mission" data
When an application is using this and is packaged with `pyinstaller -F .\example.py`, it crashes on a call to `srtm.get_data(...)`, as it cannot find the `list.json` that is bundled in...
how do I know the coordinates at each elevation point of SRTM when using GPX?
Executing `add_elevations(gpx, smooth=True)` results in default python float values [here](https://github.com/tkrajina/srtm.py/blob/aac72b36d105198622e33047b09786543c9aa4fa/srtm/data.py#L308). In my opinion this is unnecessary and makes the resulting xml file bigger than it might need to be (~10%)....
Because those URLs do not work: ```bash curl https://srtm.kurviger.de/SRTM3//Eurasia//N35E139.hgt.zip ``` does not work anymore (changes on Cloudfront side recently?) While ```bash curl https://srtm.kurviger.de/SRTM3/Eurasia/N35E139.hgt.zip ``` works as expected
When calling `gpxelevations` with the command ` gpxelevations osrm-Schkeuditz-FF.gpx -s -f osrm-Schkeuditz-FF-ele.gpx` I get the following error traceback: ``` Traceback (most recent call last): File "/home/felix/.conda/envs/zipAlongTrack/bin/gpxelevations", line 43, in update_gpx(gpx)...
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) >>> ```
Can I install SRTM in Google Colaboratory ? The PIP command doesn't recognise SRTM
It seems that the SRTM endpoint have been removed. All of them return code 404 at the moment.
New support for SRTM Version 3, Global 1 arc. The new SRTM v3 is completely void filled and offers 1 arc second resolution tiles over the entire world (between ~56S...
It looks like the SRTM endpoints are down or not reachable anymore: http://dds.cr.usgs.gov/srtm/version2_1/SRTM1/ Getting the following error: ``` /srv/conda/envs/notebook/lib/python3.7/site-packages/srtm/data.py in retrieve_or_load_file_data(self, file_name) 143 r = mod_requests.get(url, timeout=5) 144 except mod_requests.exceptions.Timeout:...