[Mapserver-users] MapServer 4.01 - unreadable error messages
Christina Biakowski
christina.biakowski at ccgis.de
Thu Jan 8 00:55:25 PST 2004
We have solved the problem.
We had a closer look at our request-URL and the OGC-Specs and added the
parameter "EXCEPTIONS=application/vnd.ogc.se_xml" (we did not use it before
because the OGC-Spec says that it is used as default-value) and now our
request looks like this and we get "readable" error-messages:
http://192.168.2.90/cgi-bin/mapserv?map=/data/umn/germany_postgis1.map&WMTVE
R=1.0.0&REQUEST=feature_info&LAYERS=Topo,Grenze,Strassen,Staedtepunkte,Staed
tenamen&STYLES=default,default,default,default,default&SRS=EPSG:31493&BBOX=2
814061.782833395,5253088.015946961,3957426.454366242,6004441.94092474&WIDTH=
685&HEIGHT=450&FORMAT=png&TRANSPARENT=FALSE&FEATURE_COUNT=20&BGCOLOR=0xfffff
f&QUERY_LAYERS=Staedtepunkte&X=379&Y=277&INFO_FORMAT=text/html&EXCEPTIONS=ap
plication/vnd.ogc.se_xml
Best regards,
Christina
-----Ursprüngliche Nachricht-----
Von: Tyler Mitchell [mailto:TMitchell at lignum.com]
Gesendet: Mittwoch, 7. Januar 2004 19:38
An: Christina Biakowski
Cc: Mapserver-Users at Lists. Gis. Umn. Edu
Betreff: Re: [Mapserver-users] MapServer 4.01 - unreadable error
messages
mapserver-users-admin at lists.gis.umn.edu wrote on 01/07/2004 04:33:54 AM:
> Dear list,
>
> we have upgraded (OS: FreeBSD) from MapServer 3.66 to 4.01. Running into
an
> error with the getfeatureInfo-request MapServer 4.01 returns the error
> message in binary code using "content-type image/png", like:
>
> Content-type: image/png ?PNG
> IHDRÂ?ßRlPLTEÿÿÿUÂÓ~tIDATx?í]p×yÿÞÞ»Ó?@?·§Óù?xO9ÙK5гæ?N§oÅ.>
> ?¹Ã:ÐY©9ÁÝ fÄ?L?N35Ó?8ß? ÊIªC¦µbã Á...
>
> With MapServer 3.66 we get "readable" error messages (Content-type:
> text/html).
Christina, is it possible for you to show us what the URL request was? It
may also be helpful to post your .map file. I'm wondering if it is
returning something like the mapserv executable. Strange... Are you using
php?
More information about the MapServer-users
mailing list