source: subversion/websites/tilesAtHome/index.php @ 2272

Last change on this file since 2272 was 2272, checked in by ojw, 11 years ago

tiles at home website

File size: 2.3 KB
Line 
1<html>
2<head>
3<title>OpenStreetMap tiles@home</title>
4<link rel="stylesheet" href="styles.css">
5</head>
6<body>
7<div class="all">
8  <h1 class="title"><a href="http://wiki.openstreetmap.org/index.php/Tiles%40home"><img src="Gfx/tah.png" alt="tiles@home" width="600" height="109"></a></h1>
9  <p class="title">A project to render free maps of the whole world.</p>
10 
11  <hr>
12  <p>Welcome to the world of Creative Commons mapping.  The main page is at
13  <a href="http://www.openstreetmap.org/">openstreetmap.org</a>.  This page
14  provides map images, which you can use on your website, on a handheld device
15  or mobile phone, or anywhere else that you need maps.</p>
16
17  <p><a href="Browse/">Browse the map</a> tile-by-tile, or use a <a href="http://informationfreeway.org/">slippy map</a>.
18  These maps are also available on the <a href="http://www.openstreetmap.org/index.html">OSM</a> page - you just need
19  to select the &quot;osmarender&quot; layer using the + to the right of the map.
20  </p>
21 
22  <p><a href="http://www.openstreetmap.org/munin/openstreetmap/dev.openstreetmap.html">Performance graphs</a> are available, to say how the server is coping with all this data.
23  <a href="Log/">recent uploads and messages</a> can be viewed, as can
24  the <a href="Log/Requests/">areas people are requesting</a> to be rendered.</p>
25 
26  <?php
27  $Z = 16;
28  $X = 32684;
29  $Y = 21834;
30 
31  print "<table border=\"0\">";
32  for($yi = 0; $yi < 2; $yi++){
33    print "<tr>";
34    for($xi = 0; $xi < 2; $xi++){
35      $Img = sprintf(
36      "http://dev.openstreetmap.org/~ojw/Tiles/tile.php/%d/%d/%d.png", 
37        $Z, 
38        $X + $xi, 
39        $Y + $yi);
40      printf("<td><img src=\"%s\" width=\"256\" height=\"256\" alt=\"map snippet\"></td>\n", $Img);
41    }
42    print "</tr>";
43  }
44  print "</table>";
45 
46  ?>
47 
48  <p>(You can request an area be updated using the <a href="http://wiki.openstreetmap.org/index.php/Tiles%40home/APIs">API</a>, or
49  when <a href="Browse/">viewing</a> the map here)</p>
50 
51  <p>Loads more information is available on the
52  <a href="http://wiki.openstreetmap.org/index.php/Tiles%40home">tiles@home wiki page</a>,
53  including development activity, the people involved, and discussing future directions
54  for the project</p>
55 
56  <p>A <a href="Credits/">list of people uploading tiles</a> is here</p>
57 
58 
59</div>
60</body>
61</html>
Note: See TracBrowser for help on using the repository browser.