This is an automated email from the git hooks/post-receive script. gregoa pushed a commit to branch master in repository libgeo-osm-tiles-perl.
commit 160cffed167ea44f09762fb2285be9dc7a28425e Author: gregor herrmann <[email protected]> Date: Wed Aug 13 14:31:54 2014 +0200 Update new-osm-urls.patch: allow negative coordinates in new URLs. --- debian/patches/new-osm-urls.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/patches/new-osm-urls.patch b/debian/patches/new-osm-urls.patch index 7c74dd9..f45f0f1 100644 --- a/debian/patches/new-osm-urls.patch +++ b/debian/patches/new-osm-urls.patch @@ -3,7 +3,7 @@ Origin: vendor Bug: https://rt.cpan.org/Ticket/Display.html?id=94148 Forwarded: https://rt.cpan.org/Ticket/Display.html?id=94148 Author: gregor herrmann <[email protected]> -Last-Update: 2014-03-24 +Last-Update: 2014-08-14 --- a/downloadosmtiles.pl +++ b/downloadosmtiles.pl @@ -12,7 +12,7 @@ Last-Update: 2014-03-24 { if ($opt{link}) { + # rewrite new style OSM links to old pattern -+ if ($opt{link} =~ /^http:\/\/(.+)\/#map=(\d+)\/([\d.]+)\/([\d.]+)/) { ++ if ($opt{link} =~ /^http:\/\/(.+)\/#map=(\d+)\/(-?[\d.]+)\/(-?[\d.]+)/) { + $opt{link} = "http://$1/?lat=$3&lon=$4&zoom=$2&layers=M"; + } die "Invalid link: $opt{link}\n" -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libgeo-osm-tiles-perl.git _______________________________________________ Pkg-perl-cvs-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits
