AW: [UMN_MAPSERVER-USERS] new user

Arnd Wippermann arndw at WTAL.DE
Wed Oct 10 09:12:04 PDT 2007


If you use 4.10, it is possible that the missing STYLES= in the Request is
the problem.

Try CONNECTION 'http://wms.jpl.nasa.gov/wms.cgi?STYLES='

Mit freundlichen Grüssen

Arnd Wippermann
http://gis.ibbeck.de/ginfo/



-----Ursprüngliche Nachricht-----
Von: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] Im
Auftrag von Rahkonen Jukka
Gesendet: Mittwoch, 10. Oktober 2007 16:17
An: MAPSERVER-USERS at LISTS.UMN.EDU
Betreff: Re: [UMN_MAPSERVER-USERS] new user

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