]> git.openstreetmap.org Git - chef.git/commitdiff
Link to latest PBF as well.
authorMatt Amos <zerebubuth@gmail.com>
Sat, 17 Jan 2015 23:33:16 +0000 (23:33 +0000)
committerMatt Amos <zerebubuth@gmail.com>
Sat, 17 Jan 2015 23:33:16 +0000 (23:33 +0000)
cookbooks/planet/files/default/cgi/HEADER.cgi

index 19dda97328628ed6a6f08a31884a3781c7031c7b..c3a5427c72ab96eeafa2ee960f322a96821da545 100644 (file)
@@ -50,8 +50,9 @@ def file_info(file, name):
 
     return '<b><a href="%(file)s">%(name)s</a></b><br><b>%(size)s</b>, created %(date)s ago.<br><small>md5: %(hash)s</small>.' % 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 """
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
@@ -85,6 +86,7 @@ database, and those published before the 12 September 2012 are distributed under
     <td>
         <p>%(planet_link)s</p>
         <p>%(changesets_link)s</p>
+        <p>%(planet_pbf_link)s</p>
         <p>
         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.