Menu

#4 Elevations Unzip Error

v1.0 (example)
closed-fixed
elevations (1)
5
2021-02-21
2017-02-16
Sepel
No

The elevations tool does not work anymore. It downloads zips files with 1kb and then throws an error while extracting it. The tools outputs the link to the file it trys to download. Maybe already there is the error: The tool assumes "http://dds.cr.usgs.gov/srtm/version2_1/SRTM3/" instead of "https://dds.cr.usgs.gov/srtm/version2_1/SRTM3/", which now starts with "https" instead of "http". Maybe the program can't handle the redirect

Discussion

  • Sepel

    Sepel - 2017-02-16

    Actually i decompiled the jar, found the link, replaced it, recompiled and it worked. Just replace the line private String baseURI = "http://dds.cr.usgs.gov/srtm/version2_1/";
    in net.sourceforge.gpstools.dem.HgtElevationModel.java with
    private String baseURI = "https://dds.cr.usgs.gov/srtm/version2_1/";

    :)

     
  • Moritz Ringler

    Moritz Ringler - 2017-02-17
    • status: open --> pending-fixed
     
  • Moritz Ringler

    Moritz Ringler - 2017-02-17

    Hi Sepel. Thank you for the bug report and the fix. I incorporated the fix in the new 6.9.8 release.

     
  • Moritz Ringler

    Moritz Ringler - 2021-02-21
    • status: pending-fixed --> closed-fixed
     

Log in to post a comment.