[mapserver-commits] r9979 - in sandbox/ms_ogc_cite: . wcs-1.1.1 wcs-1.1.1/bin wcs-1.1.1/map wcs-1.1.1/map/graphics

svn at osgeo.org svn at osgeo.org
Mon Mar 22 14:48:29 EDT 2010


Author: nsavard
Date: 2010-03-22 14:48:29 -0400 (Mon, 22 Mar 2010)
New Revision: 9979

Added:
   sandbox/ms_ogc_cite/wcs-1.1.1/
   sandbox/ms_ogc_cite/wcs-1.1.1/README.TXT
   sandbox/ms_ogc_cite/wcs-1.1.1/bin/
   sandbox/ms_ogc_cite/wcs-1.1.1/bin/mswcs111_ogc_cite
   sandbox/ms_ogc_cite/wcs-1.1.1/data
   sandbox/ms_ogc_cite/wcs-1.1.1/map/
   sandbox/ms_ogc_cite/wcs-1.1.1/map/graphics/
   sandbox/ms_ogc_cite/wcs-1.1.1/map/graphics/e.gif
   sandbox/ms_ogc_cite/wcs-1.1.1/map/graphics/n.gif
   sandbox/ms_ogc_cite/wcs-1.1.1/map/graphics/ne.gif
   sandbox/ms_ogc_cite/wcs-1.1.1/map/graphics/nw.gif
   sandbox/ms_ogc_cite/wcs-1.1.1/map/graphics/reference.gif
   sandbox/ms_ogc_cite/wcs-1.1.1/map/graphics/reference.png
   sandbox/ms_ogc_cite/wcs-1.1.1/map/graphics/s.gif
   sandbox/ms_ogc_cite/wcs-1.1.1/map/graphics/se.gif
   sandbox/ms_ogc_cite/wcs-1.1.1/map/graphics/sw.gif
   sandbox/ms_ogc_cite/wcs-1.1.1/map/graphics/w.gif
   sandbox/ms_ogc_cite/wcs-1.1.1/map/ms_ogc_cite_wcs111.map
   sandbox/ms_ogc_cite/wcs-1.1.1/map/template.html
Log:
Initial revision.

Added: sandbox/ms_ogc_cite/wcs-1.1.1/README.TXT
===================================================================
--- sandbox/ms_ogc_cite/wcs-1.1.1/README.TXT	                        (rev 0)
+++ sandbox/ms_ogc_cite/wcs-1.1.1/README.TXT	2010-03-22 18:48:29 UTC (rev 9979)
@@ -0,0 +1,12 @@
+The map file has to be edited to change the 'ows_onlineresource', 
+'ows_metadatalink_href' and 'ows_schemas_location' to point out 
+to the correct location of your WCS service, metadata and schemas
+respectively.
+
+The wrapper file in the bin directory has to be edited to change
+the map file and mapserver location. 
+
+For now the data is too big to be put in SVN.  The tarball of the data
+'data.tgz' could be found by cliking the following URL:
+
+http://dl.lan.mapgears.com/ms_ogc_cite/wcs/data.tgz
\ No newline at end of file

Added: sandbox/ms_ogc_cite/wcs-1.1.1/bin/mswcs111_ogc_cite
===================================================================
--- sandbox/ms_ogc_cite/wcs-1.1.1/bin/mswcs111_ogc_cite	                        (rev 0)
+++ sandbox/ms_ogc_cite/wcs-1.1.1/bin/mswcs111_ogc_cite	2010-03-22 18:48:29 UTC (rev 9979)
@@ -0,0 +1,11 @@
+#! /bin/sh
+
+echo "[`date`] $REMOTE_ADDR - $SCRIPT_NAME?$QUERY_STRING" >> /tmp/mswcs111_ogc_cite.log
+
+MS_MAPFILE=/path/to/ms_ogc_cite/wcs-1.1.1/map/ms_ogc_cite_wcs111.map
+export MS_MAPFILE
+
+/path/to/www/cgi-bin/mapserv
+
+exit 0;
+


Property changes on: sandbox/ms_ogc_cite/wcs-1.1.1/bin/mswcs111_ogc_cite
___________________________________________________________________
Added: svn:executable
   + *

Added: sandbox/ms_ogc_cite/wcs-1.1.1/data
===================================================================
--- sandbox/ms_ogc_cite/wcs-1.1.1/data	                        (rev 0)
+++ sandbox/ms_ogc_cite/wcs-1.1.1/data	2010-03-22 18:48:29 UTC (rev 9979)
@@ -0,0 +1 @@
+link ../wcs-data/data/
\ No newline at end of file


Property changes on: sandbox/ms_ogc_cite/wcs-1.1.1/data
___________________________________________________________________
Added: svn:special
   + *

Added: sandbox/ms_ogc_cite/wcs-1.1.1/map/graphics/e.gif
===================================================================
(Binary files differ)


Property changes on: sandbox/ms_ogc_cite/wcs-1.1.1/map/graphics/e.gif
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: sandbox/ms_ogc_cite/wcs-1.1.1/map/graphics/n.gif
===================================================================
(Binary files differ)


Property changes on: sandbox/ms_ogc_cite/wcs-1.1.1/map/graphics/n.gif
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: sandbox/ms_ogc_cite/wcs-1.1.1/map/graphics/ne.gif
===================================================================
(Binary files differ)


Property changes on: sandbox/ms_ogc_cite/wcs-1.1.1/map/graphics/ne.gif
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: sandbox/ms_ogc_cite/wcs-1.1.1/map/graphics/nw.gif
===================================================================
(Binary files differ)


Property changes on: sandbox/ms_ogc_cite/wcs-1.1.1/map/graphics/nw.gif
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: sandbox/ms_ogc_cite/wcs-1.1.1/map/graphics/reference.gif
===================================================================
(Binary files differ)


Property changes on: sandbox/ms_ogc_cite/wcs-1.1.1/map/graphics/reference.gif
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: sandbox/ms_ogc_cite/wcs-1.1.1/map/graphics/reference.png
===================================================================
(Binary files differ)


Property changes on: sandbox/ms_ogc_cite/wcs-1.1.1/map/graphics/reference.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: sandbox/ms_ogc_cite/wcs-1.1.1/map/graphics/s.gif
===================================================================
(Binary files differ)


Property changes on: sandbox/ms_ogc_cite/wcs-1.1.1/map/graphics/s.gif
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: sandbox/ms_ogc_cite/wcs-1.1.1/map/graphics/se.gif
===================================================================
(Binary files differ)


Property changes on: sandbox/ms_ogc_cite/wcs-1.1.1/map/graphics/se.gif
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: sandbox/ms_ogc_cite/wcs-1.1.1/map/graphics/sw.gif
===================================================================
(Binary files differ)


Property changes on: sandbox/ms_ogc_cite/wcs-1.1.1/map/graphics/sw.gif
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: sandbox/ms_ogc_cite/wcs-1.1.1/map/graphics/w.gif
===================================================================
(Binary files differ)


Property changes on: sandbox/ms_ogc_cite/wcs-1.1.1/map/graphics/w.gif
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: sandbox/ms_ogc_cite/wcs-1.1.1/map/ms_ogc_cite_wcs111.map
===================================================================
--- sandbox/ms_ogc_cite/wcs-1.1.1/map/ms_ogc_cite_wcs111.map	                        (rev 0)
+++ sandbox/ms_ogc_cite/wcs-1.1.1/map/ms_ogc_cite_wcs111.map	2010-03-22 18:48:29 UTC (rev 9979)
@@ -0,0 +1,200 @@
+MAP
+  NAME 'demo'
+  EXTENT 159707.000000 4597395.000000 1400707.000000 5501395.000000
+  UNITS METERS
+  SIZE 500 400
+  SHAPEPATH '../data'
+
+  IMAGETYPE PNG
+
+
+  OUTPUTFORMAT
+    NAME GEOTIFF
+    DRIVER "GDAL/GTiff"
+    IMAGEMODE INT16
+    MIMETYPE "image/tiff"
+  END
+#  OUTPUTFORMAT
+#    NAME GEOTIFF_INT16
+#    DRIVER "GDAL/GTiff"
+#    IMAGEMODE INT16
+#    MIMETYPE "image/tiff"
+#  END
+  OUTPUTFORMAT
+    NAME GEOTIFF_RGB
+    DRIVER "GDAL/GTiff"
+    IMAGEMODE RGB
+    MIMETYPE "image/tiff"
+  END
+
+
+  WEB
+    TEMPLATE template.html
+    METADATA
+      #These ones does not validate
+      #"ows_schemas_location" "http://schemas.opengis.net/"
+      #Downloaded from http://test.schemas.opengis.net/wcs111/wcs111.zip
+      "ows_schemas_location" "http://gw.mapgears.com:8500/schemas"
+      #"ows_schemas_location" "http://test.schemas.opengis.net/"
+      # OGC:WCS
+      "ows_title" "CITE:OGC_CITE WCS 1.1.1 Server"
+      "ows_label" "UMN Test WCS Server"
+      "ows_keywordlist" "WCS,MODIS,NDVI"
+      "ows_description" "WCS Server to run OGC CITE Tests"
+      "ows_onlineresource" "http://gw.mapgears.com:8500/cgi-bin/mswcs111_ogc_cite?"
+      "ows_service_onlineresource" "http://gw.mapgears.com:8500/cgi-bin/mswcs111_ogc_cite?"
+
+      "ows_metadatalink_href" "http://gw.mapgears.com:8500/index.html"
+      "ows_fees"              "none"
+      "ows_updatesequence"   "1"
+      "ows_accessconstraints" "None"
+      "ows_contactperson" "contactperson"
+      "ows_contactorganization" "contactorganization"
+      "ows_contactposition" "self"
+      "ows_contactelectronicmailaddress" "xxx at xxxxxxx.xxx"
+      "ows_contactvoicetelephone" "+xx-xxx-xxx-xxxx"
+      "ows_contactfacsimiletelephone" "+xx-xxx-xxx-xxxx"
+      "ows_HoursOfService" "0800h - 1600h EST"
+      "ows_ContactInstructions" "during hours of service"
+      "ows_role" "staff"
+      "ows_address"     "123 SomeRoad Road"
+      "ows_city" "Toronto"
+      "ows_stateorprovince" "Ontario"
+      "ows_postcode" "xxx-xxx"
+      "ows_country" "Canada"
+      "ows_abstract" "This is a WCS 1.1.1 server."
+ 
+      END
+    IMAGEURL "/tmp/"
+    IMAGEPATH "/tmp/ms_tmp/"
+  END
+
+  SCALEBAR
+    STATUS ON
+    UNITS MILES
+    SIZE 300 3
+    COLOR 0 0 0
+    OUTLINECOLOR 0 0 0
+    LABEL
+      SIZE SMALL
+      COLOR 0 0 0
+    END
+  END
+
+  REFERENCE
+    IMAGE graphics/reference.png
+    EXTENT 131106.000 4572787.000 1421825.000 5541248.000
+    SIZE 204 153
+    STATUS ON
+    COLOR -1 -1 -1
+    OUTLINECOLOR 180 0 0
+    MAXBOXSIZE 190
+  END
+
+  LAYER
+    NAME "ndvi_idx"
+    TYPE TILEINDEX
+    DATA "mod13"
+    FILTERITEM "imgdate"
+    FILTER "%time%"
+  END
+
+  LAYER
+    NAME "ndvi"
+    STATUS OFF
+    TYPE RASTER
+    PROCESSING "SCALE=AUTO"
+    METADATA
+      "wcs_label" "North Central US MODIS-based NDVI Images for 2002"
+      "ows_srs"	"EPSG:26915 EPSG:4269 EPSG:4326"
+      "ows_extent" "159707 4597895 1400207 5501395"
+      "wcs_resolution" "500.0 500.0"
+      "wcs_formats" "GeoTIFF"
+      "wcs_nativeformat" "raw binary"
+      "wcs_timePosition" "2002-01-01T14:11:14,2002-07-12T14:11:14"
+      "wcs_timeitem" "imgdate"
+      "wcs_rangeset_axes" "bands"
+      "wcs_rangeset_name" "ndvi Bands"
+      "wcs_rangeset_label" "Bands"
+      "wcs_rangeset_description" "Bands for ndvi"
+    END
+    DUMP TRUE
+    TILEINDEX 'ndvi_idx'
+    #Do not delete the projection block
+    PROJECTION 
+      "+init=epsg:26915"
+    END 
+  END
+
+  LAYER
+    NAME "fpar_idx"
+    TYPE TILEINDEX
+    DATA "mod13"
+    FILTERITEM "imgdate"
+    FILTER "%time%"
+  END
+
+  LAYER
+    NAME "fpar"
+    STATUS OFF
+    TYPE RASTER
+    PROCESSING "SCALE=AUTO"
+    METADATA
+      "wcs_label" "North Central US MODIS-based FPAR Images for 2002"
+      "ows_srs"   "EPSG:26915"
+      "ows_extent" "159707 4597895 1400207 5501395"
+      "wcs_resolution" "1000.0 1000.0"
+      "wcs_formats" "GeoTIFF"
+      "wcs_nativeformat" "raw binary"
+      "wcs_timePosition" "2002-01-01T14:10:13,2002-07-20T14:11:14"
+      "wcs_timeitem" "imgdate"
+      "wcs_rangeset_axes" "bands"
+      "wcs_rangeset_name" "fpar Bands"
+      "wcs_rangeset_label" "Bands"
+      "wcs_rangeset_description" "Bands for fpar"
+    END
+    DUMP TRUE
+    TILEINDEX "fpar_idx"
+    #Do not delete the projection block
+    PROJECTION 
+      "+init=epsg:26915"
+    END 
+
+  END
+
+  LAYER
+    NAME "modis_idx"
+    TYPE TILEINDEX
+    DATA "mod09"
+    FILTERITEM "imgdate"
+    FILTER "%time%"
+  END
+
+  LAYER
+    NAME "modis"
+    STATUS OFF
+    TYPE RASTER
+    PROCESSING "BANDS=4,3,2"
+    METADATA
+      "wcs_label" "North Central US MODIS Images for 2002"
+      "ows_extent" "159707 4597895 1400207 5501395"
+      "wcs_resolution" "500.0 500.0"
+      "ows_srs"   "EPSG:26915"
+      "wcs_formats" "GEOTIFF_RGB GEOTIFF_16BIT"
+      "wcs_nativeformat" "raw binary"
+      "wcs_bandcount" "7"
+      "wcs_timePosition" "2002-01-01T14:12:13,2002-07-20T14:11:14"
+      "wcs_timeitem" "imgdate"
+      "wcs_rangeset_axes" "bands"
+      "wcs_rangeset_name" "modis Bands"
+      "wcs_rangeset_label" "Bands"
+      "wcs_rangeset_description" "Bands for modis"
+    END
+    DUMP TRUE
+    TILEINDEX "modis_idx"
+    #Do not delete the projection block
+    PROJECTION 
+      "+init=epsg:26915"
+    END 
+  END
+END

Added: sandbox/ms_ogc_cite/wcs-1.1.1/map/template.html
===================================================================
--- sandbox/ms_ogc_cite/wcs-1.1.1/map/template.html	                        (rev 0)
+++ sandbox/ms_ogc_cite/wcs-1.1.1/map/template.html	2010-03-22 18:48:29 UTC (rev 9979)
@@ -0,0 +1,207 @@
+<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
+<html>
+  <head>
+    <title>WCS Demo Application - MapServer Template</title>
+
+<script language="JavaScript" src="[root]/javascript/general_utils.js"></script> 
+<script language="JavaScript" src="[root]/javascript/coverages.js"></script>
+<script language="JavaScript" src="[root]/javascript/cross-browser.com/x/x_load.js"></script>
+<script language="JavaScript">
+  var pansize = 0.80;
+  var xBands; // DHTML layer that holds the bands selection controls
+  
+  xInclude('[root]/javascript/cross-browser.com/x/x_core.js')
+
+  function WCS_download() {
+    var coverage = top.coverages_frame.lookup(GU_get_select(document.download.layer));
+    
+    var url = '[program]?map=[map]' +
+              '&SERVICE=WCS&VERSION=1.0.0&REQUEST=GetCoverage' +
+              '&COVERAGE=' + coverage.name +
+              '&TIME=' + GU_get_select(document.download.time) +
+              '&CRS=EPSG:26915' +
+              '&FORMAT=' + coverage.formats[0] +
+              '&RESX=' + coverage.resolution + '&RESY=' + coverage.resolution +
+              '&BBOX=' + document.download.imgext.value.split(' ').join(',');
+                            
+    if(coverage.bands.length > 0) // tag on bands parameter
+      url += '&bands=' + GU_get_select(document.download.red) + "," + GU_get_select(document.download.green) + "," + GU_get_select(document.download.blue);          
+              
+    window.open(url);
+  }
+
+  function pan(direction) {    
+    var x, y;
+
+    if(direction == 'n') {
+      x = ([mapwidth]-1)/2.0;
+      y = 0 - [mapheight]*pansize + [mapheight]/2.0;
+    } else if(direction == 'nw') {
+      x = 0 - [mapwidth]*pansize + [mapwidth]/2.0;
+      y = 0 - [mapheight]*pansize + [mapheight]/2.0;
+    } else if(direction == 'ne') {
+      x = ([mapwidth]-1) + [mapwidth]*pansize - [mapwidth]/2.0;
+      y = 0 - [mapheight]*pansize + [mapheight]/2.0;
+    } else if(direction == 's') {
+      x = ([mapwidth]-1)/2.0;
+      y = ([mapheight]-1) + [mapheight]*pansize - [mapheight]/2.0;
+    } else if(direction == 'sw') {
+      x = 0 - [mapwidth]*pansize + [mapwidth]/2.0;
+      y = ([mapheight]-1) + [mapheight]*pansize - [mapheight]/2.0;
+    } else if(direction == 'se') {
+      x = ([mapwidth]-1) + [mapwidth]*pansize - [mapwidth]/2.0;
+      y = ([mapheight]-1) + [mapheight]*pansize - [mapheight]/2.0;
+    } else if(direction == 'e') {
+      x = ([mapwidth]-1) + [mapwidth]*pansize - [mapwidth]/2.0;
+      y = ([mapheight]-1)/2.0;
+    } else if(direction == 'w') {
+      x = 0 - [mapwidth]*pansize + [mapwidth]/2.0;
+      y = ([mapheight]-1)/2.0;
+    }
+
+    document.download.zoom.options[3].selected = true; // force pan
+    document.download.imgxy.value = x + " " + y;
+    document.download.submit();
+  }
+  
+  function setBands() {
+    var coverage = top.coverages_frame.lookup(GU_get_select(document.download.layer));
+    
+    if(coverage.bands.length > 0) 
+      xShow(xBands);
+    else
+      xHide(xBands);
+      
+    // create the RGB select lists
+     for(var i=0; i<coverage.bands.length; i++) {
+      document.download.red.options[i] = new Option(coverage.bands[i], coverage.bands[i]); 
+      document.download.green.options[i] = new Option(coverage.bands[i], coverage.bands[i]);
+      document.download.blue.options[i] = new Option(coverage.bands[i], coverage.bands[i]);
+    }
+      
+    // restore previous settings
+    GU_set_select(document.download.red, '[red]');
+    GU_set_select(document.download.green, '[green]');
+    GU_set_select(document.download.blue, '[blue]');
+  }
+  
+  function setTimes() {
+    var coverage = top.coverages_frame.lookup(GU_get_select(document.download.layer));
+
+    // create the time select list
+    document.download.time.length = 0; // reset
+    for(var i=0; i<coverage.times.length; i++)
+      document.download.time.options[i] = new Option(coverage.times[i], coverage.times[i]); 
+
+    GU_set_select(document.download.time, '[time]'); // set the time select list
+  }
+
+  function doSubmit() {
+    var coverage = top.coverages_frame.lookup(GU_get_select(document.download.layer));
+    var element;
+  
+    // if necessary create a variable to pass to MapServer to control the displayed bands
+    if(coverage.bands.length > 0) {
+      var name = "map_" + coverage.name + "_processing";
+      var value = "BANDS=" + GU_get_select(document.download.red) + "," + GU_get_select(document.download.green) + "," + GU_get_select(document.download.blue);
+      GU_add_field(document.download, 'hidden', name, value);
+    }
+  
+    return true;
+  }
+
+  window.onload = function() {
+    // access the bands DHTML object 
+    xBands = xGetElementById('bands');
+  
+    // create the layer select list
+    document.download.layer.length = 0; // reset
+    for(var i=0; i<top.coverages_frame.coverages.length; i++) {
+      document.download.layer.options[i] = new Option(top.coverages_frame.coverages[i].label, top.coverages_frame.coverages[i].name);
+    }
+
+    GU_set_select(document.download.layer, '[layers]'); // set the layer select list
+
+    setTimes(); // set the time select list
+    setBands(); // set the RGB (bands) controls (if necessary);
+  }
+</script>
+  </head>
+
+  <body bgcolor="#ffffff">
+    <p><b>WCS Demo Application - MODIS Download</title></b></p>
+    
+    <form name="download" method="GET" action="[program]" onSubmit="return doSubmit()">
+
+    <input type="hidden" name="map" value="[map]">
+    <input type="hidden" name="imgext" value="[mapext]">
+    <input type="hidden" name="imgxy" value="[center]">
+    <input type="hidden" name="root" value="[root]">
+    <input type="hidden" name="program" value="[program]">
+
+    <table border=0 cellpadding=5>
+    <tr>
+
+    <td align="center" valign="top">
+      <table border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#666666">
+      <tr>
+        <td align="right" width="18"><a href="javascript:pan('nw')"><img src="[root]/graphics/nw.gif" width="18" height="18" border="0" alt="pan northwest"></a></td>
+        <td align="center"><a href="javascript:pan('n')"><img src="[root]/graphics/n.gif" width="23" height="18" border="0" alt="pan north"></a></td>
+        <td align="left" width="18"><a href="javascript:pan('ne')"><img src="[root]/graphics/ne.gif" width="18" height="18" border="0" alt="pan northeast"></a></td>
+      </tr>
+      <tr>
+        <td align="right" width="18"><a href="javascript:pan('w')"><img src="[root]/graphics/w.gif" width="18" height="23" border="0" alt="pan west"></a></td>
+        <td align="center"><INPUT type="image" name="img" src="[img]" width="[mapwidth]" height="[mapheight]" border="0" alt="this is the map"></td>
+        <td align="left" width="18"><a href="javascript:pan('e')"><img src="[root]/graphics/e.gif" width="18" height="23" border="0" alt="pan east"></a></td>
+      </tr>
+      <tr>
+        <td align="right" width="18"><a href="javascript:pan('sw')"><img src="[root]/graphics/sw.gif" width="18" height="18" border="0" alt="pan southwest"></a></td>
+        <td align="center"><a href="javascript:pan('s')"><img src="[root]/graphics/s.gif" width="23" height="18" border="0" alt="pan south"></a></td>
+        <td align="left" width="18"><a href="javascript:pan('se')"><img src="[root]/graphics/se.gif" width="18" height="18" border="0" alt="pan southeast"></a></td>
+      </tr>
+      </table>
+      <br>
+      <!-- [scale] --><img src="[scalebar]">
+    </td>
+    <td valign=top>
+      <p><b>Map Controls</b></p>
+      
+      <p>Select the coverage to display:<br>
+      <select name="layer" size="1" onChange="setTimes();setBands();">
+        <option> This will the set of available layers
+      </select></p>
+
+      <p id="bands" style="position:relative; visibility:hidden;">Select the bands to use for coverage display:<br>
+      <table><tr>
+        <td>r: <select name="red" size="1"><option> red</select></td>
+        <td>g: <select name="green" size="1"><option> green</select></td>
+        <td>b: <select name="blue" size="1"><option> blue</select></td>
+      </tr></table></p>
+
+      <p id="times">Select the coverage date to display:<br>
+      <select name="time" size="1">
+        <option> This will the set of available time periods for a specific layer
+      </select></p>
+
+      <p>Select your zoom option:<br>
+      <select name="zoom" size="1">
+        <option value="4" [zoom_4_select]> Zoom in 4 times
+        <option value="3" [zoom_3_select]> Zoom in 3 times
+        <option value="2" [zoom_2_select]> Zoom in 2 times
+        <option value="1"  [zoom_1_select]> Recenter Map
+        <option value="-2" [zoom_-2_select]> Zoom out 2 times
+        <option value="-3" [zoom_-3_select]> Zoom out 3 times
+        <option value="-4" [zoom_-4_select]> Zoom out 4 times
+      </select></p>
+
+      <p><input type="submit" value="Go">
+      <input type="button" value="Download" onClick="WCS_download()"></p>
+
+      <input type="image" name="ref" src="[ref]">
+
+    </td>
+    </tr></table>
+
+    </form>
+  </body>
+</html>
\ No newline at end of file



More information about the mapserver-commits mailing list