Empty image from WMS

Ed McNierney ed at TOPOZONE.COM
Fri Mar 9 22:22:40 EST 2007


Deb -

If you are getting a BLANK image (as opposed to NO image or an error
message), then it is likely that MapServer is simply doing the right
thing and generating a map that simply doesn't contain any of your
content.

Are you requesting a WMS image in a different SRS than the source
raster?  If so, then I'd go back and look at those PROJ questions and
make sure that PROJ and the supporting files (by default in C:\PROJ\NAD)
are in fact installed correctly on the new server.  It sounds like your
original server was not a Windows server, and so you need to be sure
that all the supporting libraries are installed and set up properly.  I
do not use the ms4w distribution so I can't say for sure, although I'd
be surprised if it doesn't at least try to install a correct PROJ
distribution.

And if you are actually not getting a "blank image" (that is, a
legitimate image that's only the background color), then ignore
everything I said and tell us exactly what you ARE getting!

	- Ed

Ed McNierney
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA  01863
Phone: +1 (978) 251-4242
Fax: +1 (978) 251-1396
ed at topozone.com 

-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of Deb Sikora
Sent: Friday, March 09, 2007 5:49 PM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: [UMN_MAPSERVER-USERS] Empty image from WMS

Hello again list.

I finally got my raster image displayed correctly on my local
development machine, thanks to your help, but now I tried getting the
whole thing up and running on a Windows 2003 server (via VMWare), and
I'm just getting a blank image.

I can't use port 80 for Apache, so I changed the httpd.conf file to use
port 8088.  The Itasca demo works fine, so it appears that everything is
ok with MapServer, but the WMS isn't displaying my raster layer.  I have
the exact same .map file and .png/.pgw files as on my local machine, and
am using the exact same WMS request (with the exception of specifying
port 8088) so I don't know why this isn't working.  I also ran gdalinfo
against my image, just to make sure all the information was the same as
it is on my machine (that nothing got lost in the ftp process), and
indeed it was.  I'm using the ms4w installation, version 2.2.2.

If anyone can offer any suggestions, I would be extremely grateful!  Of
course, I'm under a serious time crunch, which is why I've resorted to
bothering all of you fine people.

Thank you very much in advance!
Deb



More information about the mapserver-users mailing list