[mapserver-users] Reprojection gives a msDrawRasterLayer( TIFF ) error
Trem Stamp
trem at socialchange.net.au
Mon Aug 27 17:30:53 PDT 2001
Hi,
I'm currently testing an Alpha Release of mapserv 3.5. with GDAL library
support
MapServer version 3.5 (pre-alpha) OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG
OUTPUT=WBMP
SUPPORTS=PROJ SUPPORTS=TTF SUPPORTS=WMS INPUT=TIFF INPUT=EPPL7
INPUT=JPEG INPUT=
GDAL INPUT=SHAPEFILE
I have one georeferenced tif image which is in AGD66/AMG Zone 55
(EPSG:20255) and a would like to output this as WGS84/Geographic
(EPSG:4326)
The capabilities document shows the layer okay (and seems to have
generated it's own LatLonBoundingBox values - I assume from the
reprojection?). There are infact 2 layers.
http://maps-dev.socialchange.net.au/cgi-bin/wms?request=capabilities
<Layer queryable="0">
<Name>barellan</Name>
<Title>barellan</Title>
<SRS>EPSG:20255</SRS>
<LatLonBoundingBox minx="146.559" miny="-34.2968" maxx="146.586"
maxy="-34.2796" />
<BoundingBox SRS="EPSG:20255"
minx="459415" miny="6.20674e+06" maxx="461936"
maxy="6.20484e+06" />
</Layer>
When I try to use a mapserv getMap request (or wms request - which by
the way I know works okay as I've tested it with a straight forward
Geographic to Geographic on a georeferenced tif file):
http://maps-dev.socialchange.net.au/cgi-bin/wms?VERSION=1.1.0&REQUEST=GetMap&LAYERS=landsat&WIDTH=300&HEIGHT=300&BBOX=144.41,-37.74,146.95,-35.72
(works okay)
http://maps-dev.socialchange.net.au/cgi-bin/wms?VERSION=1.1.0&REQUEST=GetMap&LAYERS=barellan&WIDTH=300&HEIGHT=300&BBOX=146.559,-34.2968,146.586,-34.2796
(get error)
I get the following error:
<?xml version='1.0' encoding="UTF-8" standalone="no" ?>
<!DOCTYPE ServiceExceptionReport SYSTEM
"http://www.digitalearth.gov/wmt/xml/exception_1_1_0.dtd">
<ServiceExceptionReport version="1.1.0">
<ServiceException>
msDrawRasterLayer( TIFF ): General error message. Raster reprojection
supported only with the GDAL library.
</ServiceException>
</ServiceExceptionReport>
Can anyone tell me what the problem maybe? The GDAL library being used
id v1.1.5
Thanks,
Trem
More information about the MapServer-users
mailing list