Error in WMS server

Rahkonen Jukka Jukka.Rahkonen at MMMTIKE.FI
Tue Jul 4 09:31:47 PDT 2006


Hi,

You seem to have layer status OFF. Try with ON or DEFAULT.

-Jukka-


-----Original Message-----
From: UMN MapServer Users List on behalf of Eduardo Arévalo
Sent: Tue 4.7.2006 18:02
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: Re: [UMN_MAPSERVER-USERS] Error in WMS server
 
thanks Bart
Already there am proford your sugrerencia but it continues leaving he
himself error.
I need one helps in the configuration of the Layer.


2006/7/3, Bart van den Eijnden (OSGIS) <bartvde at xs4all.nl>:
>
> The parameter is called LAYERS and not LAYER.
>
> Best regards,
> Bart
>
> Eduardo Arévalo wrote:
>
> > Hello list:
> > I receive this error when I try load my WMS
> > <ServiceException code="LayerNotDefined">
> > msWMSLoadGetMapParams(): WMS server error. Invalid layer(s) given in
> > the LAYERS parameter.
> > with
> >
> http://10.1.6.46/cgi-bin/mapserv?map=mapwms.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=getmap&LAYER=Mosaico_Peru
> > <
> http://10.1.6.46/cgi-bin/mapserv?map=mapwms.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=getmap&LAYER=Mosaico_Peru
> >
> > My mapfile is :
> >
> > MAP
> > NAME        DEMO
> > PROJECTION
> > "init=epsg:2163"
> > END
> > WEB
> > METADATA
> > "wms_title" "Server_WMS"
> > "wms_onlineresource"
> > "http://10.1.6.46/cgi-bin/mapserv?map=mapwms.map&
> > <http://10.1.6.46/cgi-bin/mapserv?map=mapwms.map&>"
> > "wms_srs"   "EPSG:4269 EPSG:4326"
> > END
> > END
> > END
> >
> > LAYER
> > NAME  Mosaico_Peru
> > DATA  "/home/postgres/raster/PERU300DPI.tif"
> > STATUS      OFF
> > TYPE  RASTER
> > PROCESSING  "BANDS=1,2,3"
> > OFFSITE     71 74 65
> > PROJECTION
> > "init=epsg:4326"
> > END
> > END
> > END
> > END
> >
> > please help.
> >
> >
>
>
> --
> Bart van den Eijnden
> OSGIS, Open Source GIS
> http://www.osgis.nl
>
>



More information about the MapServer-users mailing list