]> gitweb.michael.orlitzky.com - dead/census-tools.git/blob - www/maps/maps/templates/location/index.mako
Added the "maps" Pylons project.
[dead/census-tools.git] / www / maps / maps / templates / location / index.mako
1 <%inherit file="/base.mako"/>\
2
3 <h1>Generate KML Routes</h1>
4
5 <form method="post" action="" enctype="multipart/form-data">
6 <fieldset>
7 <legend>Producer/Consumer Upload</legend>
8
9 <label for="producers">Producers File</label>
10 <input type="file" id="producers" name="producers" />
11
12 <label for="consumers">Consumers File</label>
13 <input type="file" id="consumers" name="consumers" />
14
15 <input class="submit" type="submit" value="Route" />
16 </fieldset>
17 </form>
18
19
20 <h2>File Format</h2>
21 <p>
22 Both uploaded files should have the same format. They should be
23 comma-delimited, with the first row containing three column names:
24 <em>name</em>, <em>latitude</em>, and <em>longitude</em>. The
25 <em>name</em> column, being of type string, should have its values
26 double-quoted.
27 </p>
28
29 <table class="csv" summary="Example CSV file">
30 <caption>producers-example.csv</caption>
31 <tr>
32 <th>name</th>
33 <th>latitude</th>
34 <th>longitude</th>
35 </tr>
36
37 <tr>
38 <td><q>Jack O'Neill</q></td>
39 <td>35.02135823</td>
40 <td>-76.20178512</td>
41 </tr>
42
43 <tr>
44 <td><q>Daniel Jackson</q></td>
45 <td>38.286422</td>
46 <td>-79.327437</td>
47 </tr>
48
49 <tr>
50 <td><q>Samantha Carter</q></td>
51 <td>35.9974632</td>
52 <td>-80.000000</td>
53 </tr>
54
55 <tr>
56 <td><q>Teal'c</q></td>
57 <td>45.20434632</td>
58 <td>-72.07234637</td>
59 </tr>
60
61 <tr>
62 <td><q>George Hammond</q></td>
63 <td>36.536257346</td>
64 <td>-73.263458</td>
65 </tr>
66
67 </table>