new user

Rahkonen Jukka Jukka.Rahkonen at MMMTIKE.FI
Wed Oct 10 10:16:57 EDT 2007


Hi,

How about trying to add EXTENT to your mapfile?

-Jukka Rahkonen-


-----Original Message-----
From: UMN MapServer Users List on behalf of matteo rossi
Sent: Wed 10.10.2007 11:51
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: [UMN_MAPSERVER-USERS] new user
 
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: matteo.rossi at uniroma1.it



More information about the mapserver-users mailing list