]> gitweb.michael.orlitzky.com - dead/census-tools.git/commitdiff
Added the distances section to the home page.
authorMichael Orlitzky <michael@orlitzky.com>
Wed, 24 Feb 2010 18:08:18 +0000 (13:08 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Wed, 24 Feb 2010 18:08:18 +0000 (13:08 -0500)
Updated the file format instructions for the routing section.

www/maps/maps/templates/location/index.mako

index c65e7e530bb3d6c7e5ec8e7ca0ecfb598d16b098..f405c3f49ebc8e8a412b2cab2caf20bfd5483bde 100644 (file)
   double-quoted.
 </p>
 
+<p>
+  The <em>latitude</em> and <em>longitude</em> fields are technically
+  optional&mdash;in their absence, the name of the producer/consumer
+  will be used as the source or destination location.
+</p>
+
 <table class="csv" summary="Example CSV file">
   <caption>producers-example.csv</caption>
   <tr>
   </tr>
   
 </table>
+
+
+<h1>Generate KML Distances</h1>
+
+<form method="post" action="location/distance" enctype="multipart/form-data">
+  <fieldset>
+    <legend>Producer/Consumer Upload</legend>
+    
+    <label for="producers">Producers File</label>
+    <input type="file" id="producers" name="producers" />
+
+    <label for="consumers">Consumers File</label>
+    <input type="file" id="consumers" name="consumers" />
+    
+    <input class="submit" type="submit" value="Get Distances" />
+  </fieldset>
+</form>
+
+
+<h2>File Format</h2>
+
+<p>
+  Same as above.
+</p>