Bas Couwenberg pushed to branch master at Debian GIS Project / gpsprune
Commits: 96761ff0 by Bas Couwenberg at 2026-07-14T16:50:53+02:00 Restore copyright for srtmtiles.dat. - - - - - 2 changed files: - debian/copyright - − debian/scripts/get-tiles.py Changes: ===================================== debian/copyright ===================================== @@ -7,6 +7,14 @@ Files: * Copyright: 2006-2025, activityworkshop.net <[email protected]> License: GPL-2 +Files: tim/prune/function/srtm/srtmtiles.dat +Copyright: U.S. Geological Survey +License: public-domain + Most U.S. Geological Survey (USGS) information resides in the public domain + and may be used without restriction. There is no legal requirement for users + to acknowledge or credit USGS as the source for public domain information, + but they may wish to do so as a courtesy. + Files: tim/prune/jpeg/drew/* Copyright: 2002-2015, Drew Noakes License: Apache-2.0 ===================================== debian/scripts/get-tiles.py deleted ===================================== @@ -1,24 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- - -# © 2010, David Paleino <[email protected]> -# -# This script is released under the GNU General Public License, version 2. - -from urllib2 import urlopen -import re - -base = "https://dds.cr.usgs.gov/srtm/version2_1/SRTM3/%s/" -regions = ["Eurasia", "North_America", "Australia", "Islands", "South_America", "Africa"] - -for reg in regions: - url = base % reg - tiles = [] - for line in urlopen(url).readlines(): - if line.startswith("<li>"): - match = re.match("^<li><.*> ([^>]*)<.*>", line) - if match: - tiles.append(match.group(1).replace(".hgt.zip", "")) - f = open("tiles%s.txt" % (regions.index(reg)+1), "w") - f.write('\n'.join([reg] + tiles)) - f.close() View it on GitLab: https://salsa.debian.org/debian-gis-team/gpsprune/-/commit/96761ff06502f7eccd617675f1665b854ab5b618 -- View it on GitLab: https://salsa.debian.org/debian-gis-team/gpsprune/-/commit/96761ff06502f7eccd617675f1665b854ab5b618 You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help
_______________________________________________ Pkg-grass-devel mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-grass-devel
