OMGM Code
Status: Beta
Brought to you by:
ifkkiruna
--- a +++ b/omgm/add.php @@ -0,0 +1,71 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> + <head> + <title>Add new map</title> + <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1" /> + <link href="resources/main.css" rel="stylesheet" type="text/css" /> + + </head> + <body> +<div id="navigation"> +<? + include "menu.inc"; +?> +</div> + <h1>Add new map</h1> + + <p> +Here you can upload new maps. They are processed into Google Map tiles and will be +visible in zoom levels 8 to 16. + </p> +<p> +Note: Image file <strong>must</strong> be a zipped TIFF (RGB 24bit) file. The zip-file <strong>must</strong> +contain only one tif image. +</p> + <form action="add_submit.php" method="post" enctype="multipart/form-data"> +<table> +<tr><td>Map name:</td> +<td><input type="text" name="name" maxlength="30"/></td></tr> +<tr> + <td>Projection:</td> +<td> +<select name="epsg"> +<option value="choose">Choose...</option> +<option value="3006">Sweref 99 TM (EPSG:3006)</option> +<option value="3021">RT 90 2.5 gon V (EPSG:3021)</option> +<option value="4124">RT 90 (EPSG:4124)</option> +</select> +</td> +</tr> +<tr> +<td>World file<a href="http://en.wikipedia.org/wiki/World_file">?</a>:</td> +<td> +<input type="file" name="worldFile" /> +</td> +</tr> +<tr> +<td>Image file:</td> +<td> +<input type="file" name="imageFile" /> Zipped TIFF (RGB 24bit) +</td> +</tr> +<tr><td>Contact name:</td> +<td><input type="text" name="contactName" maxlength="35" /></td></tr> +<tr><td>Contact info:</td> +<td><input type="text" name="contactInfo" maxlength="50" /> <span +class="hint">Phone or email</span></td></tr> + +<tr> +<td>Password:</td> +<td> +<input type="password" name="password" /> +</td> +</tr> +</table> + <p> + <input type="submit" value="OK" /> Just one click, upload can take a while + </p> + </form> + + </body> +</html>