From 531f7f92d79813c6e0b5e00d1d8c446197e12f27 Mon Sep 17 00:00:00 2001 From: Matt Amos Date: Sat, 17 Jan 2015 23:33:16 +0000 Subject: [PATCH] Link to latest PBF as well. --- cookbooks/planet/files/default/cgi/HEADER.cgi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cookbooks/planet/files/default/cgi/HEADER.cgi b/cookbooks/planet/files/default/cgi/HEADER.cgi index 19dda9732..c3a5427c7 100644 --- a/cookbooks/planet/files/default/cgi/HEADER.cgi +++ b/cookbooks/planet/files/default/cgi/HEADER.cgi @@ -50,8 +50,9 @@ def file_info(file, name): return '%(name)s
%(size)s, created %(date)s ago.
md5: %(hash)s.' % locals() -planet_link = file_info('planet/planet-latest.osm.bz2', 'Latest Weekly Planet File') +planet_link = file_info('planet/planet-latest.osm.bz2', 'Latest Weekly Planet XML File') changesets_link = file_info('planet/changesets-latest.osm.bz2', 'Latest Weekly Changesets') +planet_pbf_link = file_info('pbf/planet-latest.osm.pbf', 'Latest Weekly Planet PBF File') print """ @@ -85,6 +86,7 @@ database, and those published before the 12 September 2012 are distributed under

%(planet_link)s

%(changesets_link)s

+

%(planet_pbf_link)s

Each week, a new and complete copy of all data in OpenStreetMap is made available as both a compressed XML file and a custom PBF format file. -- 2.39.5