]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/planet/files/default/cgi/HEADER.cgi
Merge remote-tracking branch 'github/pull/53'
[chef.git] / cookbooks / planet / files / default / cgi / HEADER.cgi
index 4762f91450cd428df7611272083712479c36ec8e..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,10 +86,17 @@ 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 a compressed XML file, along with a smaller file with
-        complete metadata for all changes made since the previous week.
+        available as both a compressed XML file and a custom PBF format file.
+        Also available is the <a href="planet/full-history">'history'</a> file
+        which contains not only up-to-date data but also older versions of data
+        and deleted data items.
+        <p>
+        </p>
+        A smaller file with complete metadata for all changes ('changesets') in
+        XML format is also available.
         </p>
     </td>
     <td>