[mapserver-commits] r8034 - trunk/docs/howto
svn at osgeo.org
svn at osgeo.org
Fri Nov 21 11:52:40 EST 2008
Author: hobu
Date: 2008-11-21 11:52:40 -0500 (Fri, 21 Nov 2008)
New Revision: 8034
Modified:
trunk/docs/howto/WCSServerFormatHowTo.txt
trunk/docs/howto/wcs_server.txt
Log:
wcs server stuff
Modified: trunk/docs/howto/WCSServerFormatHowTo.txt
===================================================================
--- trunk/docs/howto/WCSServerFormatHowTo.txt 2008-11-21 16:40:53 UTC (rev 8033)
+++ trunk/docs/howto/WCSServerFormatHowTo.txt 2008-11-21 16:52:40 UTC (rev 8034)
@@ -1,13 +1,22 @@
-=======================
-MapServer WCS Use Cases
-=======================
+*****************************************************************************
+ MapServer WCS Use Cases
+*****************************************************************************
+:Author: Norman Barker
+:Contact: nbarker at ittvis.com
+:Author: Gail Millin
+:Contact: nbarker at ittvis.com
+:Revision: $Revision$
+:Date: $Date$
+:Last Updated: 2005/12/12
+
+
This document explains how to use MapServer to deliver Landsat, SPOT, DEM, and NetCDF temporal/banded data through the MapServer WCS interface. Thanks go to Steve Lime and Frank Warmerdam for their assistance with these projects
Landsat
=======
-To serve Landsat imagery through the MapServer Web Coverage Service specify the OutputFormat Object. For format support install the GDAL library and from the Command Prompt cd to where GDAL is installed and use the command, gdalinfo --formats. A list of all supported formats will appear and will specify if the format is read only **<ro>** or read and write **<rw>** for WCS the format needs to be supported for read and write.
+To serve Landsat imagery through the MapServer Web Coverage Service specify the OutputFormat Object. For format support install the GDAL library and from the Command Prompt cd to where GDAL is installed and use the command, gdalinfo --formats. A list of all supported formats will appear and will specify if the format is read only **<ro>** or read and write **<rw>** for WCS the format needs to be supported for read and write (except for *GDAL's* own WCS format, however).
For the example below the Landsat 7 15m resolution mosaic is in a Enhanced Compressed Wavelets format (ECW). By running the gdalinfo.exe program I could verify that the ECW format has write permissions, therefore the format can be specified in the MapFile and requested using the GetCoverage request. ::
@@ -236,4 +245,16 @@
To do a coordinate reprojection specify in the request &Response_CRS=ESPG:xxxx
-When you start doing temporal subsetting with WCS and MapServer you can see the need for an automatic way of generating map files such as using an XSL stylesheet!
\ No newline at end of file
+When you start doing temporal subsetting with WCS and MapServer you can see the need for an automatic way of generating map files such as using an XSL stylesheet!
+
+For a tile-index layer you need to provide the following extra metadata in order to use it for WCS:
+
+::
+
+ "OWS_EXTENT" "10050 299950 280050 619650"
+ "WCS_RESOLUTION" "100 100"
+ "WCS_SIZE" "2700 3197"
+ "WCS_BANDCOUNT" "3"
+
+If your image has a colortable and only one band, it will come out greyscale unless you set
+the IMAGEMODE to PC256 instead of BYTE.
\ No newline at end of file
Modified: trunk/docs/howto/wcs_server.txt
===================================================================
--- trunk/docs/howto/wcs_server.txt 2008-11-21 16:40:53 UTC (rev 8033)
+++ trunk/docs/howto/wcs_server.txt 2008-11-21 16:52:40 UTC (rev 8034)
@@ -1,18 +1,17 @@
-..
+*****************************************************************************
+ WCS Server
+*****************************************************************************
-:Author: Jeff McKenna
-:Contact: jeffmckenna(at)gmail.com
+:Author: Jeff McKenna
+:Contact: jeffmckenna at gmail.com
+:Revision: $Revision$
+:Date: $Date$
:Last Updated: 2008/04/18
---------
-
-.. The next heading encountered becomes our H2
-..
-
.. sectnum::
.. contents:: Table of Contents
- :depth: 3
+ :depth: 2
:backlinks: top
More information about the mapserver-commits
mailing list