[mapserver-users] WMS layer is blank

Dylan Keon keon at nacse.org
Tue Nov 19 00:56:28 EST 2002


>>I'm trying to display a WMS layer (Terraserver DOQ) in a simple
>>interface.  I've tried everything I can think of to get it to display,
>>but just get a blank image.  The extent and epsg codes are correct.  The
>>other layer in the mapfile (a shapefile) appears, but not the WMS layer.
>>
>>I compiled MapServer with --enable-debug...the WMS request URL printed
>>to the server log is good.  I can copy that URL to a browser and the
>>correct DOQ image appears.  The mapfile is below.  Thanks for any help.

> I was able to reproduce this problem with MapServer 3.6 and filed a bug
> in bugzilla: http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=223
> 
> Note that we've been doing some work (with Frank W.) recently to improve
> WMS support in 3.7 and the layer does show up in 3.7... so it might be
> worth a try if you are able to compile the latest 3.7 from CVS.

OK, thanks.  I've been trying to compile 3.7 but run into a consistent 
error (see below).  Seems to be a problem with mappdf from libwww.  I'm 
compiling against libwww-5.4.0.  Any suggestions?  3.6.3 compiles just 
fine using exactly the same configuration.

Thanks,
Dylan

gcc -c -g -O2 -Wall -DENABLE_STDERR_DEBUG -DIGNORE_MISSING_DATA 
-DUSE_EPPL -DUSE_PROJ -DUSE_PROJ_API_H -DUSE_WMS_SVR -DUSE_WMS_LYR 
-DUSE_WFS_LYR    -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP 
-DUSE_GD_FT -DUSE_PDF  -DUSE_OGR -DUSE_GDAL -DUSE_POSTGIS  -DUSE_THREAD 
-I/usr/local/src/gd-1.8.4  -I/usr/local/src/proj-4.4.5/src 
-I/usr/local/src/gdal-1.1.7/ogr/ogrsf_frmts 
-I/usr/local/src/gdal-1.1.7/ogr -I/usr/local/src/gdal-1.1.7/ogr/../port 
-I/usr/local/src/gdal-1.1.7/port -I/usr/local/src/gdal-1.1.7/core 
-I/usr/local/src/gdal-1.1.7/ogr 
-I/usr/local/src/gdal-1.1.7/ogr/ogrsf_frmts -I/usr/local/pgsql/include 
-I/usr/include -I/usr/include/w3c-libwww -DHAVE_CONFIG_H   mappdf.c -o 
mappdf.o
mappdf.c: In function `msFreeImagePDF':
mappdf.c:975: union has no member named `swf'
mappdf.c: In function `msDrawTextPDF':
mappdf.c:1027: warning: assignment makes integer from pointer without a cast
make: *** [mappdf.o] Error 1




More information about the mapserver-users mailing list