[mapserver-users] Mapserver and gdal

giorgio giorgio19291@inwind.it
Fri, 8 Mar 2002 18:58:08 +0100


This is a multi-part message in MIME format.

------=_NextPart_000_0019_01C1C6D3.2FFD67E0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi all,

1) to permit mapserver load GRASS raster file I have compiled GDAL =
--with-libgrass  and it look run normally: $gdalinfo =
/grassdata/spearfish/PERMANENT/cellhd/soils give me all information =
about map.=20

2) I have configured  mapserver (3.5 and dev 3.6) --with-gdal and during =
compilation I have not observed errors and  if I type ./mapserv -v in =
the mapserver directory the result is:
" MapServer version 3.6 (development) OUTPUT=3DPNG OUTPUT=3DJPEG =
OUTPUT=3DWBMP SUPPORTS=3DPROJ SUPPORTS=3DTTF SUPPORTS=3DWMS_SERVER =
INPUT=3DTIFF INPUT=3DEPPL7 INPUT=3DJPEG INPUT=3DPOSTGIS INPUT=3DOGR =
INPUT=3DGDAL INPUT=3DSHAPEFILE"



It generally run normally on tiff images but if I try to load  GRASS =
format it give me these errors:  =20

GRASS: msDrawRaster(): Image handling error. Unrecognized or unsupported =
image format=20

I have tried also on gif file format and the result is: (my GD do not =
load gif images but gdal yes)  =20

GIF: drawGIF(): Image handling error. GIF support is not available.=20

3) Is there a method to check if mapserv utilize effectively the =
libgdal??
And if not how I can force this to utilize gdal?

Thanks a lot Giorgio.


------=_NextPart_000_0019_01C1C6D3.2FFD67E0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2920.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi all,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>1) to permit mapserver load GRASS =
raster file I=20
have compiled&nbsp;GDAL --with-libgrass&nbsp; and it look run normally:=20
$gdalinfo /grassdata/spearfish/PERMANENT/cellhd/soils give me all =
information=20
about map. </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>2) I have&nbsp;configured  mapserver =
(3.5 and dev=20
3.6) --with-gdal&nbsp;and during compilation I have not observed errors=20
and&nbsp; if I type ./mapserv -v in the mapserver directory =
the&nbsp;result=20
is:</FONT></DIV><FONT face=3DArial size=3D2><FONT size=3D2>
<P>" MapServer version 3.6 (development) OUTPUT=3DPNG OUTPUT=3DJPEG =
OUTPUT=3DWBMP=20
SUPPORTS=3DPROJ SUPPORTS=3DTTF SUPPORTS=3DWMS_SERVER INPUT=3DTIFF =
INPUT=3DEPPL7 INPUT=3DJPEG=20
INPUT=3DPOSTGIS INPUT=3DOGR INPUT=3DGDAL INPUT=3DSHAPEFILE"</P>
<P>&nbsp;</P>
<P>It generally run normally on tiff images&nbsp;but if I try to load=20
&nbsp;GRASS format&nbsp;it give me these errors:   </P>
<P>GRASS: msDrawRaster(): Image handling error. Unrecognized or =
unsupported=20
image format </P>
<DIV></FONT>I have tried also on gif file format and the result is: (my =
GD do=20
not load gif images but gdal yes) &nbsp; </DIV>
<DIV>&nbsp;</DIV>
<DIV>GIF: drawGIF(): Image handling error. GIF support is not available. =
</DIV>
<DIV>&nbsp;</DIV>
<DIV>3) Is there a method to check if mapserv utilize effectively the=20
libgdal??</DIV>
<DIV>And if not how I can force this to utilize gdal?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks a lot Giorgio.</DIV>
<DIV></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0019_01C1C6D3.2FFD67E0--