wcs issues on getting data
Nuno GIL
nunoragil at YAHOO.COM
Wed Nov 10 10:31:37 PST 2004
Dear listers,
I've installed mapserver in order to use its wcs
capabilities.
The GetCapabilities request works fine, the problem is
when I try to use the GetCoverage request. Actually I
don't receive any error message, but the received file
is empty.
I'm querying the server with this request:
http://iceds.ge.ucl.ac.uk/cgi-bin/wcs?REQUEST=GetCoverage&COVERAGE=l5&SERVICE=WCS&map=/ge/data/iceds/alpha/umms/wcs_land3.map&BBOX=48.5,-21.5,48.7,-21.3&FORMAT=GEOTIFF_RGB&CRS=EPSG:4326&RESX=0.00027778&RESY=0.00027778
Just to try and sort out the problem, I reduced the
data being served to only a simple image with one
channel (no tiles), no results as well...
Used the gdalinfo utility to check some parameters of
the image:
Driver: GTiff/GeoTIFF
Size is 1800, 1800
Coordinate System is `'
Origin = (48.500000,-21.000000)
Pixel Size = (0.00027778,-0.00027778)
Metadata:
TIFFTAG_SOFTWARE=Arc/Info
TIFFTAG_XRESOLUTION=3599.999
TIFFTAG_YRESOLUTION=3599.999
TIFFTAG_RESOLUTIONUNIT=1 (unitless)
Corner Coordinates:
Upper Left ( 48.5000000, -21.0000000)
Lower Left ( 48.5000000, -21.5000000)
Upper Right ( 49.0000000, -21.0000000)
Lower Right ( 49.0000000, -21.5000000)
Center ( 48.7500000, -21.2500000)
Band 1 Block=256x256 Type=Byte, ColorInterp=Gray
and the map file looks like this:
MAP
NAME 'DEMOWCS'
EXTENT 48.5 -21.5 49 -21
UNITS dd
SIZE 500 400
SHAPEPATH
"/ge/data/iceds/alpha/iceds/landsat/original/madagascar/deegree/band1/"
IMAGETYPE PNG
OUTPUTFORMAT
NAME GEOTIFF_INT16
DRIVER "GDAL/GTiff"
IMAGEMODE INT16
END
OUTPUTFORMAT
NAME GEOTIFF_RGB
DRIVER "GDAL/GTiff"
IMAGEMODE RGB
FORMATOPTION "INTERLEAVE=BAND"
END
WEB
METADATA
"wcs_label" "ICEDS demo WCS Server"
"wcs_keywordlist" "WCS,ICEDS"
"wcs_onlineresource"
"http://iceds.ge.ucl.ac.uk/cgi-bin/wcs?map=/ge/data/iceds/alpha/umms/wcs_land3.map&"
"wms_srs" "epsg:4326"
END
IMAGEURL "/tmp/"
IMAGEPATH "/var/www/html/tmp/"
END
LAYER
NAME "L5"
STATUS OFF
TYPE RASTER
PROCESSING "SCALE=AUTO"
METADATA
wcs_label "Landsat5 data for Madagascar"
ows_extent "48.5 -21.5 49 -21"
wcs_resolution "0.00027778 0.00027778"
ows_srs "EPSG:4326"
wcs_formats "GEOTIFF_RGB GEOTIFF_16BIT"
wcs_nativeformat "raw binary"
wcs_rangeset_axes "bands"
wcs_bands_name "bands"
wcs_bands_description "Enter some clever
description of each TM band here..."
wcs_bands_label "Landsat Radiometric Bands"
wcs_bands_values "1"
wcs_bands_rangeitem '_bands'
END
DUMP TRUE
DATA
"/ge/data/iceds/alpha/iceds/landsat/original/madagascar/deegree/band1/out.tif"
END
END
Does anyone understands what is going wrong? Any help
would be much appreciated.
Nuno
__________________________________
Do you Yahoo!?
Check out the new Yahoo! Front Page.
www.yahoo.com
More information about the MapServer-users
mailing list