[mapserver-users] Mapserver doesn't work as WMS-Client. Debian version 6.0.1-3.1 (Debian wheezy).
thomas bonfort
thomas.bonfort at gmail.com
Mon Aug 27 02:51:18 PDT 2012
does this also happen for other layer types (e.g. point, polygon, etc...)?
have you correctly set the ows_enable_request metadata entries ?
--
thomas
On Mon, Aug 27, 2012 at 10:22 AM, Pablo Diaz <inspdr00 at gmail.com> wrote:
> Hi,
>
> I've a problem with mapserver as a cgi-bin in Debian Weezy (mapserver
> version -> 6.0.1-3.1). When I try to connect with a external layer as WMS
> layer I always have same response:
>
> <ServiceExceptionReport xmlns="http://www.opengis.net/ogc"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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="LayerNotDefined">
> msWMSLoadGetMapParams(): WMS server error. Invalid layer(s) given in the
> LAYERS parameter.
> </ServiceException>
> </ServiceExceptionReport>
>
> My mapserver call is this:
>
> http://localhost/cgi-bin/mapserv?map=/var/local/mapserver/PPGIS/map/client_draw.map&SRS=EPSG%3A23029&LAYERS=pnoa&TRANSPARENT=TRUE&FORMAT=image%2Fpng&VISIBLE=false&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&STYLES=&BBOX=591337.45949865,4782765.2220358,595521.36140145,4785376.1944042&WIDTH=1384&HEIGHT=864
>
> And my layer definition in mapfile is this:
>
> LAYER
> NAME 'pnoa'
> TYPE RASTER
> STATUS OFF
> #GROUP "Fondo"
> CONNECTION "http://www.idee.es/wms/PNOA/PNOA?"
> CONNECTIONTYPE WMS
> METADATA
> "wms_name" "pnoa"
> "wms_srs" "EPSG:23029"
> "wms_format" "image/png"
> "wms_title" "PNOA"
> "wms_server_version" "1.3.0"
> "wms_exceptions_format" "application/vnd.ogc.se_xml"
> LEGEND_META_LAYER "CHECKBOX"
> BASE_LAYER '0'
> LEGEND_ORDER "99"
> QUERYABLE "0"
> END
> PROJECTION
> "init=epsg:23029"
> END
> END
>
> Any idea?
>
> Thanks in advance.
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
More information about the MapServer-users
mailing list