[Mapserver-users] GeoTIFF Output problem
Aaron D. Hunt
hunt at zedxinc.com
Thu Aug 28 07:03:57 PDT 2003
I have recompiled gdal with libtiff 3.6.0b and libgeotiff-1.2.1 and then
recompiled mapserver. shp2img still gives me
loadOutputFormat(): General error message. OUTPUTFORMAT clause references
driver GDAL/GTiff, but this driver isn't configured. <br>
msInitGDALOutputFormat(): General error message. GDAL `GTiff' driver does
not support output. <br>
"shp2img -v" reports
MapServer version 4.0 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=PROJ
SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT INPUT=EPPL7
INPUT=JPEG INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
I am not familiar with the gdb debugger.
Is there anything else I can do?
----- Original Message -----
From: "Frank Warmerdam" <warmerdam at pobox.com>
To: "Aaron D. Hunt" <hunt at zedxinc.com>
Sent: Tuesday, August 26, 2003 3:23 PM
Subject: Re: [Mapserver-users] GeoTIFF Output problem
> Aaron D. Hunt wrote:
> > I recompiled with mapserver 4.0 and gdal 1.1.9
> >
> > I use the following config
> >
./configure --without-tiff --with-proj=/home/mapserver/proj-4.4.7 --with-gda
> >
l=/home/mapserver/gdal-1.1.9/bin/gdal-config --with-ogr=/home/mapserver/gdal
>
> -1.1.9 --with-jpeg --with-wmsclient --with-freetype=/home/mapserver/freety
pe
> > -2.1.4 --with-gd=/home/mapserver/gd-2.0.15
> >
> >
> > When I ran you map file on shp2img I got the following error
> >
> >
> > General error message. OUTPUTFORMAT clause references driver GDAL/GTiff,
but
> > this driver isn't configured. <br>
> > msInitGDALOutputFormat(): General error message. GDAL `GTiff' driver
does
> > not support output. <br>
>
> Aaron,
>
> I don't know why that would be happening. What does "shp2img -v" report?
> Can you run shp2img in the gdb debugger and step through the
> msInitDefaultGDALOutputFormat()?
>
> It seems the most likely reason this would happen is that your build
somehow
> isn't aware it is built with GDAL but it certainly seems like you are
> doing everythingright from what little I can see.
>
> Best regards,
>
> --
> ---------------------------------------+----------------------------------
----
> I set the clouds in motion - turn up | Frank Warmerdam,
warmerdam at pobox.com
> light and sound - activate the windows | http://pobox.com/~warmerdam
> and watch the world go round - Rush | Geospatial Programmer for Rent
>
More information about the MapServer-users
mailing list