Skip to content

Commit

Permalink
srtm: removed 60N limit on SRTM downloads
Browse files Browse the repository at this point in the history
our SRTM1 and SRTM3 now cover whole world
  • Loading branch information
tridge authored and meee1 committed Apr 24, 2024
1 parent 4603b80 commit ba1c2f0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ExtLibs/Utilities/srtm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -383,9 +383,6 @@ public static altresponce getAltitude(double lat, double lng, double zoom = 16)
}
else // get something
{
if(lat >= 61) // srtm data only goes to 60N
return altresponce.Invalid;

if (zoom >= 7)
{
if (!Directory.Exists(datadirectory))
Expand Down

0 comments on commit ba1c2f0

Please sign in to comment.