Skip to content

Commit

Permalink
removed 60N lat limit for SRTM3
Browse files Browse the repository at this point in the history
  • Loading branch information
tridge committed Apr 24, 2024
1 parent 36b4235 commit 38527f4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,8 @@ def generate():
else:
outsideLat = True

# make sure tile is inside the 60deg/84deg latitude limit
if version == 3 and abs(lat_int) <= 60:
filelist.append(os.path.join(tile_path3, getDatFile(lat_int, lon_int)))
elif version == 1 and abs(lat_int) <= 84:
# make sure tile is inside the 84deg latitude limit
if abs(lat_int) <= 84:
filelist.append(os.path.join(tile_path1, getDatFile(lat_int, lon_int)))
else:
outsideLat = True
Expand Down

0 comments on commit 38527f4

Please sign in to comment.