Need some help on WMS server.

Paul Turner pturner at CCALMR.OGI.EDU
Mon Oct 10 12:36:02 EDT 2005


I'm bringing up a WMS server and I'm having problems serving different 
images from the same map file. It looks like only the last image of the 
3 is being served.

The server is at

http://www.ccalmr.ogi.edu/cgi-bin/mapserv?map=/usr/local/apache/mapserver/wms.map

There are 3 images served, one per layer, and each is different (I've 
verified this) but it seems that in every WMS client I use, the same 
image shows up no matter which layer I select (the last image).

Any suggestions appreciated.

Thx,

--Paul

Paul J Turner
OHSU-OGI-CCALMR

mapserver CGI is configured thusly:

/usr/local/apache/cgi-bin) mapserv -v
MapServer version 4.6.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP 
OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER 
SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT 
SUPPORTS=WCS_SERVER INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL 
INPUT=SHAPEFILE

Here is the map file:

MAP
   NAME "CORIE Dev Forecast"
   DEBUG ON
#   SIZE 550 450
#   IMAGETYPE GIF
   UNITS DD
   EXTENT -125.300000 45.300000 -122.844754 47.299633
   WEB
      LOG "/tmp/mapserver.log"
      IMAGEPATH "/usr/local/apache/htdocs/ms/tmp"
      IMAGEURL "/ms/tmp/"
      METADATA
        "wms_title"  "CORIE WMS Service"
        "wms_onlineresource" 
"http://www.ccalmr.ogi.edu/cgi-bin/mapserv?map=/usr/local/apache/mapserver/wms.map&"   
##required
        "wms_srs"   "epsg:4326"
        "wms_format" "image/gif"
      END
    END
    PROJECTION
       "init=epsg:4326"
    END

  LAYER
    NAME "devforecast1"
    STATUS DEFAULT
    DUMP TRUE
    METADATA
    "wms_title"    "DevForecast 1"  ##required
    "wms_format" "image/gif"
    "gml_include_items" "all"
    END
    TYPE RASTER
    DATA "/usr/local/apache/mapserver/llcolsal_plume_surface_000090000.gif"
    PROJECTION
    "init=epsg:4326"   ##recommended
    END
  END

  LAYER
    NAME "devforecast2"
    STATUS DEFAULT
    DUMP TRUE
    METADATA
    "wms_title"    "DevForecast 2"  ##required
    "wms_format" "image/gif"
    "gml_include_items" "all"
    END
    TYPE RASTER
    DATA "/usr/local/apache/mapserver/llcolsal_plume_surface_000093600.gif"
    PROJECTION
    "init=epsg:4326"   ##recommended
    END
  END

  LAYER
    NAME "devforecast3"
    STATUS DEFAULT
    DUMP TRUE
    METADATA
    "wms_title"    "DevForecast 3"  ##required
    "wms_format" "image/gif"
    "gml_include_items" "all"
    END
    TYPE RASTER
    DATA "/usr/local/apache/mapserver/llcolsal_plume_surface_000097200.gif"
    PROJECTION
    "init=epsg:4326"   ##recommended
    END
  END
END

The images can be seen at (warning, 2048x2048):

http://www.ccalmr.ogi.edu/ms/llcolsal_plume_surface_000090000.gif
http://www.ccalmr.ogi.edu/ms/llcolsal_plume_surface_000093600.gif
http://www.ccalmr.ogi.edu/ms/llcolsal_plume_surface_000097200.gif



More information about the mapserver-users mailing list