layer configuration for WMS

Zenon Panoussis oracle at PROVOCATION.NET
Sun Aug 20 17:12:41 PDT 2006


xslove wrote:

> well, I try your suggestions, but still nothing happened. 

Well, you won't believe it, but this works on my mapserver:

layer
  name "da"
  type raster
  offsite 0 0 0
  status DEFAULT
  connectiontype wms
  connection "http://wms.jpl.nasa.gov/wms.cgi?"
  metadata
    "wms_title" "global"
    "wms_srs" "EPSG:4326"
    "wms_name" "global_mosaic"
    "wms_style" "visual"
    "wms_server_version" "1.1.1"
    "wms_format" "image/jpeg"
    "wms_force_separate_request" "1"
  end
  projection
    'init=EPSG:4326'
  end
end

Find the difference....................double quotes around the
name instead of single quotes. Apart from that and STATUS DEFAULT
instead of ON (which you had already tried) I changed nothing.
With single quotes it doesn't work, with double quotes it does.

Z



More information about the MapServer-users mailing list