Hi Aníbal,

The request is asking for WMS VERSION=1.3.0, so you/mapfish need to specify 
exceptions in that format:

WMS 1.1.1
EXCEPTIONS=application%2Fvnd.ogc.se_inimage

WMS 1.3.0
EXCEPTIONS=INIMAGE

Other valid values in WMS 1.3.0 are XML and BLANK.

See you!


> -----Mensaje original-----
> De: [email protected]
> [mailto:[email protected]] En nombre de
> Aníbal Pacheco
> Enviado el: martes, 25 de enero de 2011 15:32
> Para: [email protected]
> Asunto: Re: [Mapnik-users] EXCEPTIONS parameter in OGCServer
>
> Full Request example taken from apache log:
>
> wms.yoko:80 127.0.1.1 - - [25/Jan/2011:12:27:32 -0200] "GET
> /?VERSION=1.3.0&LAYERS=direcciones&FORMAT=image%2Fpng&TRANSPAR
ENT=TRUE&SERVICE=WMS&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&CRS=EPSG%3A900913&BBOX=>
 2504688.8816,2504688.8816,5009377.424,5009377.424&WIDTH=256&HE
> IGHT=256
> HTTP/1.1" 200 489 "http://localhost:5000/"; "Mozilla/5.0 (X11;
> U; Linux
> x86_64; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Ubuntu/10.10
> Chromium/8.0.552.237 Chrome/8.0.552.237 Safari/534.10"
>
>
> On 01/24/2011 01:33 PM, [email protected] wrote:
> > Hi Aníbal,
> >
> > Can you send the full request producing the problem to see
> how it looks like? It would be worth it to add a test case.
> >
> > Also, are you using the OGCServer version from GitHub[0]?
> >
> > [0] https://github.com/mapnik/OGCServer
> >
> > ________________________________________
> > De: [email protected]
> [[email protected]] En nom de Aníbal
> Pacheco [[email protected]]
> > Enviat el: dilluns, 24 / gener / 2011 15:36
> > Per a: [email protected]
> > Tema: [Mapnik-users] EXCEPTIONS parameter in OGCServer
> >
> > Just installed mapfish[0] and tried to add a WMS Layer taken from my
> > local mapnik-ogcserver (that works fine directly from
> OpenLayers) but
> > the request generated by mapfish causes this error:
> >
> > OGCException: Parameter "exceptions" has an illegal value.
> >
> > The value for EXCEPTIONS used in the generated request is:
> > application/vnd.ogc.se_inimage
> >
> > I've also tried to pass '', False and None but got the same error,
> > without using the parameter it works OK. The question is if there is
> > valid value for the parameter, I guess no.
> >
> > thanks
> >
> > [0] http://mapfish.org/
> > _______________________________________________
> > Mapnik-users mailing list
> > [email protected]
> > https://lists.berlios.de/mailman/listinfo/mapnik-users
>
>
> --
> Aníbal Pacheco Tognola
> Computer Engineer
> http://anibalpacheco.com/
> +598 2 4089208
> Cel. +598 99 001224
> _______________________________________________
> Mapnik-users mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/mapnik-users
>
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to