[Mapserver-users] landsat wms

Heitzso heitzso at growthmodels.com
Mon Jul 14 13:03:37 PDT 2003


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&STYLES=&FORMAT=PNG&TRANSPARENT=TRUE&BBox=499000,4499000,500000,4500000"
    PROJECTION
        "init=epsg:4326" #WGS 84
    END
END

=====================
Swaminathan, Gayathri wrote:

>Hello:
>Thanks Aaron and Arnulf,
>I had to give, "Bbox" at the end of the connection string,
>     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"
>And it seems to work.
>Thanks,
>Gayathri
>
>-----Original Message-----
>From: Arnulf Christl (CCGIS) [mailto:arnulf.christl at ccgis.de] 
>Sent: Monday, July 14, 2003 8:23 AM
>To: Swaminathan, Gayathri; 'Aaron D. Hunt'
>Cc: mapserver-users at lists.gis.umn.edu
>Subject: AW: [Mapserver-users] landsat wms
>
>
>Hi,
>we also had a problem loading that service. We analysed the capabilities
>document and found that the BBox of the root layer is not defined. We have
>added it (as can be seen in the attached XML) and for us it works now. Maybe
>UMN MapServer has the same problem as we had?!
>
>Regards, Arnulf.
>  
>





More information about the MapServer-users mailing list