<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>ItinTool demo</title> <link href="./CSS/style.css" rel="stylesheet" type="text/css" /> </head> <header></header> <body> <div id="container"> <div id="line1"> </div> <div id="line2"> </div> <div style="clear: both"></div> <div id="name"> ItinTool demo </div> <div id="left"> </div> <div id="center"> <div id="menu"> <p><a href="home.html">Home</a><br /> ItinTool home </p> <p><a href="http://www.synthesys.info/network_activities_d.htm">SYNTHESYS NA-D</a><br /> The EU synthesis of systematic resources </p> <p><a href="http://www.e-taxonomy.eu/wp.php?menuwhat=1&wp=5&action=0">EDIT WP5</a><br /> The European Distributed Institute of Taxonomy </p> <p><a href="http://www.africamuseum.be">RMCA</a><br /> The Royal Museum for Central Africa </p> </div> </div> <div id="right"> <div id="content"> <h1> Demo </h1> <h2> Some tips first ... </h2> */ The demo lets you upload a file from your local machine. <br/> Accepted filetypes are : <br/><br/> <ol> <li> KML waypoints (Google Earth) </li> <li> GML (Geographical Markup Language) </li> <li> CSV (for formatting see bottom of page) </li> <li> GPX (GPS device offload) </li> <br/> </ol> </li> <br/> */ You can try one of the example input files provided further on this page. Play around with it and see what that gives. <br/><br/> */ For creating your own CSV input file, see the formatting tips at the bottom of this page (or download the CSV example input file and have a look). <h2>DEMO</h2> <br/> <form enctype="multipart/form-data" action="dispatcher.php" method="POST"> <input type="hidden" name="MAX_FILE_SIZE" value="200000" /> <input size="25" name="uploadedfile" type="file" /><br/> <br/> <!--h2>choose output type : </h2> <br/> <br/> <input name="output" type="radio" value="csv" /> <i>separated value file (csv) </i><br/> <input name="output" type="radio" value="kmlwpt" /> <i> KML waypoints </i> <br/> <input name="output" type="radio" value="kmlpath" /> <i> KML pathway </i> <br/> <input name="output" type="radio" value="dbase" /> <i> WMS image of the points with their uncertainty radius. </i><br/--> <br/> <!--input type="submit" value="Upload File" /--> <input type="submit" value="Go !" class="btn" /> </form> <br/> <br/> <h2> Some example input files </h2> Need some ideas for possible input files ? Here are some examples to get you going : <br/> <br/> <table> <tr> <td> A completely fictitious KML route through France </td> <td> <form enctype="multipart/form-data" action="downloads.php" method="POST"> <input type="hidden" name="file" value="/home/bmeganck/public_html/itin/php_coding/final/downloads/kml_test_file.kml" /> <input type="hidden" name="filename" value="kml_test_file.kml" /> <input type="submit" value="KML input file" /> </form> <br/> </td> </tr> <tr> <td>A (part of an) RMCA dataset served through our GNOSIS WMS portal (http://www.gnosis.be), downloaded as GML. </td> <td> <form enctype="multipart/form-data" action="downloads.php" method="POST"> <input type="hidden" name="file" value="/home/bmeganck/public_html/itin/php_coding/final/downloads/gml_test_file.gml" /> <input type="hidden" name="filename" value="gml_test_file.gml" /> <input type="submit" value="GML input file" /> </form> <br/> </td> </tr> <tr> <td> A CSV file with (part of) a GPS-logged walk near Leuven, Belgium. </td> <td> <form enctype="multipart/form-data" action="downloads.php" method="POST"> <input type="hidden" name="file" value="/home/bmeganck/public_html/itin/php_coding/final/downloads/csv_test_file.csv" /> <input type="hidden" name="filename" value="csv_test_file.csv" /> <input type="submit" value="CSV input file" /> </form> <br/> </td> </tr> <tr> <td> Another part of the same walk, as downloaded from the GPS device in the GPX format</td> <td> <form enctype="multipart/form-data" action="downloads.php" method="POST"> <input type="hidden" name="file" value="/home/bmeganck/public_html/itin/php_coding/final/downloads/gpx_test_file.gpx" /> <input type="hidden" name="filename" value="gpx_test_file.gpx" /> <input type="submit" value="GPX input file" /> </form><br/> </td> </tr> </table> <br/> <h2> CSV formatting tips : </h2> CSV files should be formatted as follows : <ol> <li> use comma's as delimiter </li> <li> use UTF-8 encoding </li> <li> place text in double quotes </li> <li> use no data header line (no column titles) </li> <li> 4 fields on each line : </li> <ol> <li> 1/ an id field (text and/or numbers)</li> <li> 2/ a name field (text) </li> <li> 3/ decimal latitude, negative values for south </li> <li> 4/ decimal longitude, negative values for west </li> </ol> <li> download the CSV example input file and have a look at it.</li> </ol> <p> </p> </div> </div> <div style="clear: both"></div> <div id="line3"> CSS after <!-- Please leave this if you use our template. Thank you --> <a href="http://www.darjanpanic.com" target="_blank" title="Freelance Graphic artist">Darjan Panic</a> & <a href="http://www.briangreens.com" target="_blank">Brian Green</a> <!-- Please leave this if you use our template. Thank you --> </div> <div id="line2"></div> </div> </body> </html>