layer configuration for WMS

xslove xslove at CENTRUM.CZ
Sat Aug 19 14:10:13 EDT 2006


I try configure mapserver map file. I define layer as wms request, I thing it
is good, but when I post request, layer is not drawn. My mapfile named
wmsjpl.map is

name ghory
status on
size 488 380
extent 11.89 47.79 19.07 50.56
units meters

config PROJ_LIB 'proj/nad'

imagecolor 200 200 200

outputformat
  name png
  driver 'GD/png'
  mimetype 'image/png'
  extension 'png'
end


web
  imagepath 'tmp'
  imageurl  'tmp'
  log 'tmp/log/mslog'
end

projection
  "init=EPSG:4326"
end


######## DRUZICOVE SNIMKY ########
layer
  name 'da'

  type raster

  offsite 0 0 0

  status on

  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


END # Map File

my request in browser is
http://10.133.28.149:8081/cgi/mapserv.exe?map=wmsjpl.map&service=wms&version=1.1.1&request=GetMap&width=488&height=380&bbox=17.9,48.591,18.864,49.092&layers=da

What is wrong?
thanks very much
Radim
-- 
View this message in context: http://www.nabble.com/layer-configuration-for-WMS-tf2133082.html#a5886940
Sent from the Mapserver - User forum at Nabble.com.



More information about the mapserver-users mailing list