FW: [Mapserver-users] landsat wms

Swaminathan, Gayathri gayathri at ou.edu
Tue Jul 15 13:25:54 EDT 2003


Hi:
Had to make some more changes,

##########LANDSAT######################
 LAYER
    NAME LandSat
    METADATA
      "wms_title" "LandSat"
      "wms_srs"   "EPSG:4326" #WGS 84
      "wms_extent" "-78 0 -72 90"
      LYRNAME "LandSat"
      LINK "N/A"
    END
    #OFFSITE 255 255 255
    GROUP "LandSat DATA"
    STATUS ON
    TYPE RASTER
    CONNECTIONTYPE WMS
   CONNECTION
"http://wms.jpl.nasa.gov/wms.cgi?wmtver=1.0.0&request=getmap&format=jpeg&bbo
x=-136.0032,7.99760000000001,-55.9968,68.0024
&layers=us_landsat_wgs84&red=4&green=3&blue=1&ld=25&le=45&ls=0&gamma=1.7"
    PROJECTION
      "init=epsg:4326" #WGS 84
    END
 END

HTH,
Gayathri
-----Original Message-----
From: Heitzso [mailto:heitzso at growthmodels.com] 
Sent: Monday, July 14, 2003 2:04 PM
To: Swaminathan, Gayathri
Cc: 'Arnulf Christl (CCGIS)'; 'Aaron D. Hunt';
mapserver-users at lists.gis.umn.edu
Subject: Re: [Mapserver-users] landsat wms


Could someone point me to doc on this?  I'm trying it with Swaminathan's
original configuration combined with the following CONNECTION modification
and it's failing. I'm not sure which piece of my configuration is scrambled.

I've played with all of the variations posted to this list recently.

My map file is roughly:
=====================

EXTENT -84.4 31.5 -82.5 35.0
SIZE 600 520
SHAPEPATH "/usr/local/apache/htdocs/gis/data"
IMAGETYPE PNG
PROJECTION
  "proj=latlong"
END
LAYER
    NAME LandSat
    METADATA
        "wms_title" "LandSat"
        "wms_srs"   "EPSG:4326"
        # WGS 84
        #"wms_extent" "-85 0 -82 90"
        # "wms_extent" "-78 0 -72 90"
        # EXTENT -84.4 31.5 -82.5 35.0
        LYRNAME "LandSat"
        LINK "N/A"
    END
    OFFSITE 255 255 255
    STATUS OFF
    TYPE RASTER
    CONNECTIONTYPE WMS
    CONNECTION 
"http://wms.jpl.nasa.gov/wms.cgi?WMTVER=1.0.0&REQUEST=map&LAYERS=LandSat&STY
LES=&FORMAT=PNG&TRANSPARENT=TRUE&BBox=499000,4499000,500000,4500000"
    PROJECTION
        "init=epsg:4326" #WGS 84
    END
END

=====================




More information about the mapserver-users mailing list