Hi everyone,
I'ma new mapserver user and I'm trying with some friends to put on an application based on postgis-mapserver.
Actually we're dealing with wms connection to Nasa Jpl dataset.
The problem is that nothing appears in the map and the tiles are empty, so we think we made some mistake in writing the mapfile.

Can you help us?

Thanks a lot

Matteo Rossi

---------

MAP

NAME "test_modis"
STATUS ON
SIZE 600 300
#UNITS dd
IMAGECOLOR 3 234 122
IMAGEQUALITY 95
IMAGETYPE png

PROJECTION
   "init=EPSG:4326"
END
WEB
  IMAGEPATH "/tmp"
  IMAGEURL "/tmp"
END

 OUTPUTFORMAT
   NAME png
   DRIVER 'GD/PNG'
   MIMETYPE 'image/png'
   #IMAGEMODE PC256
   EXTENSION 'png'
 END

LEGEND
  TRANSPARENT TRUE
END

SCALEBAR
  TRANSPARENT TRUE
END
LAYER
   NAME modis
   TYPE RASTER
   STATUS default
   CONNECTIONTYPE WMS
   CONNECTION "http://wms.jpl.nasa.gov/wms.cgi?";

   METADATA
   "wms_srs" "EPSG:4326"
   "wms_format" "image/jpeg"
   "wms_name" "modis"
   "wms_style" ""
   "wms_server_version" "1.1.1"
   END
 END

END
#MAP END

-----------------------------

--
Dott.Ing. Matteo Rossi
Phd in Environmental Engineering
Dept. Hydraulics, Transportations and Roads
Faculty of Engineering
University "La Sapienza" of Rome

tel: +39 0644585024
fax: +39 0644585016
web: http://geoingegneria.dits.uniroma1.it/
mailto: [EMAIL PROTECTED]

Reply via email to