[DebianGIS-dev] [SCM] gpsprune branch, master, updated. debian/9-2-6-g9895e71
The following commit has been merged in the master branch: commit 250c32b510516a08de276e8a6c09c7a3a6378892 Merge: f214c62ad5af4a9bcaa774cf8bebca7c8d76bbb0 e2bc01d405a2385ffd76779f576bfa8d17d6f3f8 Author: David Paleino da...@debian.org Date: Wed May 5 20:41:17 2010 +0200 Merge commit 'upstream/10' -- Tool to visualize, edit, convert and prune GPS data ___ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel
[DebianGIS-dev] [SCM] gpsprune branch, master, updated. debian/9-2-6-g9895e71
The following commit has been merged in the master branch: commit fbf08e279553d827aa2c08923eca9e70f507588b Author: David Paleino da...@debian.org Date: Wed May 5 23:20:19 2010 +0200 New upstream version diff --git a/debian/changelog b/debian/changelog index c928d95..1f411d0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +gpsprune (10-1) UNRELEASED; urgency=low + + * New upstream version + + -- David Paleino da...@debian.org Wed, 05 May 2010 23:20:04 +0200 + gpsprune (9-2) unstable; urgency=low * debian/control: -- Tool to visualize, edit, convert and prune GPS data ___ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel
[DebianGIS-dev] [SCM] gpsprune branch, master, updated. debian/9-2-6-g9895e71
The following commit has been merged in the master branch: commit 09d0ac77c9246aed85ca92752cff96d0f2e0b582 Author: David Paleino da...@debian.org Date: Wed May 5 23:25:31 2010 +0200 debian/copyright: updated to include new info about files in tim/prune/function/srtm/gen/ diff --git a/debian/changelog b/debian/changelog index 1f411d0..9b1f162 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,11 @@ gpsprune (10-1) UNRELEASED; urgency=low * New upstream version + * debian/copyright: +- updated to include new info about files in + tim/prune/function/srtm/gen/ - -- David Paleino da...@debian.org Wed, 05 May 2010 23:20:04 +0200 + -- David Paleino da...@debian.org Wed, 05 May 2010 23:24:59 +0200 gpsprune (9-2) unstable; urgency=low diff --git a/debian/copyright b/debian/copyright index 404d3ed..96b510a 100644 --- a/debian/copyright +++ b/debian/copyright @@ -5,6 +5,21 @@ Files: debian/* Copyright: © 2010, David Paleino da...@debian.org License: GPL-2 +Files: tim/prune/function/srtm/gen/tiles*.txt + tim/prune/function/srtm/gen/srtmtiles.dat +License: PD + srtmtiles.dat is generated by GenerateTileLookup.java, in the same + directory, from the data available in the tiles*.txt files. This data + is gathered from directory listings of a US government website, so it's + PD. + The website states: + 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. + The tiles*.txt files can be re-generated with the debian/scripts/get-tiles.py + script. + Files: * Copyright: © 2006-2010, activityworkshop.net m...@activityworkshop.net License: GPL-2 -- Tool to visualize, edit, convert and prune GPS data ___ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel
[DebianGIS-dev] [SCM] gpsprune branch, master, updated. debian/9-2-6-g9895e71
The following commit has been merged in the master branch: commit 8a6378c5aa63d1f82f7ca20f5c3418f68a7c37af Author: David Paleino da...@debian.org Date: Wed May 5 23:26:07 2010 +0200 debian/scripts/get-tiles.py added, can be used to re-generate tiles*.txt files (see debian/copyright) diff --git a/debian/changelog b/debian/changelog index 9b1f162..7960205 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,8 +4,10 @@ gpsprune (10-1) UNRELEASED; urgency=low * debian/copyright: - updated to include new info about files in tim/prune/function/srtm/gen/ + * debian/scripts/get-tiles.py added, can be used to re-generate +tiles*.txt files (see debian/copyright) - -- David Paleino da...@debian.org Wed, 05 May 2010 23:24:59 +0200 + -- David Paleino da...@debian.org Wed, 05 May 2010 23:25:37 +0200 gpsprune (9-2) unstable; urgency=low diff --git a/debian/scripts/get-tiles.py b/debian/scripts/get-tiles.py new file mode 100755 index 000..1f2dda1 --- /dev/null +++ b/debian/scripts/get-tiles.py @@ -0,0 +1,24 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +# © 2010, David Paleino da...@debian.org +# +# This script is released under the GNU General Public License, version 2. + +from urllib2 import urlopen +import re + +base = http://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() -- Tool to visualize, edit, convert and prune GPS data ___ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel