[mapserver-users] Re: Invalid Layer(s) in Layer parameter
Tonton
to.tonton at gmail.com
Thu Apr 29 07:53:21 PDT 2010
> Hello
>
> i try to make WebMapping with mapserver/Openlayer
>
> i meet some trouble with projection and extent because i have blank map in
> Qgis request
> it is working on SIS cardcorp
>
> *with getmap request *
>
> http://geomap/cgi-bin/mapserv?map=/var/www/geomod/test.map&SERVICE=WMS&VERSION=
> *1.1.1*&REQUEST=GetMap&LAYERS=Parcelles :
> <ServiceExceptionReport version="1.1.1">−
> <ServiceException code="MissingParameterValue">
> msWMSLoadGetMapParams(): WMS server error. *Missing required parameter SRS
> *
> </ServiceException>
> </ServiceExceptionReport>
>
>
> http://geomap/cgi-bin/mapserv?map=/var/www/geomod/test.map&SERVICE=WMS&VERSION=
> *1.3.0*&REQUEST=GetMap&LAYERS=Parcelles :
> <ServiceExceptionReport version="1.3.0" xsi:schemaLocation="
> http://www.opengis.net/ogc
> http://schemas.opengis.net/wms/1.3.0/exceptions_1_3_0.xsd">−
> <ServiceException code="MissingParameterValue">
> msWMSLoadGetMapParams(): WMS server error. *Missing required parameter CRS
> *
> </ServiceException>
> </ServiceExceptionReport>
>
>
>
> *in openlayer:*
>
> WMS server error Invalid Layer(s) given in LAYER parameter
>
> May be i forgot somthing to define in my web or layer Object ?
>
> *This is ma web object *
> WEB
> MINSCALEDENOM 1000
> MAXSCALEDENOM 1550000
>
> #Modifier cette ligne selon votre installation
> IMAGEPATH "/var/www/geomod/tmp/"
> IMAGEURL "./tmp/"
> METADATA
> WMS_TITLE "WMS Geomod default Title "
> WMS_ABSTRACT "Wms Geomod default Description "
> WMS_ACCESSCONSTRAINTS "None"
>
> #Modifier cette ligne selon votre installation
> WMS_ONLINERESOURCE "
> http://192.168.12.109/cgi-bin/mapserv?map=/var/www/geomod/test.map"
>
> "WMS_SRS" "EPSG:27572"
> END
> LOG "./tmp/web.log"
> END #WEB
>
>
> *this is my layer *
>
> LAYER
> NAME "Parcelles"
> DATA "parcelles.shp"
> TYPE POLYGON
> PROJECTION
> "init=EPSG:27572"
> END #Projection
> METADATA
> WMS_TITLE "Parcelles"
> "WMS_SRS" "EPSG:27572"
> END
> CLASS
> NAME "Parcelles"
> STYLE
> SYMBOL 0
> SIZE 2
> OUTLINECOLOR 0 0 0
> COLOR 255 255 0
> END
> END
> END #Layer
>
> thanks for your help
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100429/db3dd368/attachment.htm>
More information about the MapServer-users
mailing list