WMS GetFeatureInfo-Request doesn't work with INFO_FORMAT=application/vnd.ogc.gml

Bart van den Eijnden bartvde at XS4ALL.NL
Wed Mar 30 03:38:27 EST 2005


Hi,

did you set DUMP TRUE on your LAYER?

Best regards,
Bart

> Hello List,
>
> There is something, I don't understand. I set up a WMS with Mapserver
> 4.4.1
> and all my maps display just fine. Only the GetFeatureInfo request does
> not
> really work:
>
> The following request does not work:
> http://update.parkinfo-neuss.de/mapserv.cgi?map=/home/www/update/html/gevisW
> MS.map&VERSION=1.1.0&REQUEST=GetFeatureInfo&LAYERS=BGMap,plugin_Parkinfo_qua
> rtiere,plugin_Parkinfo_parkhaeuser&STYLES=&SRS=EPSG:31466&FORMAT=image/png&B
> GCOLOR=0xFFFFFF&TRANSPARENT=FALSE&WIDTH=1002&HEIGHT=637&BBOX=2546755.4252855
> ,5673106.039447,2549626.0705665,5674930.9905887&QUERY_LAYERS=plugin_Parkinfo
> _quartiere,plugin_Parkinfo_parkhaeuser&INFO_FORMAT=application/vnd.ogc.gml&X
> =421&Y=251&FEATURE_COUNT=10&EXCEPTIONS=application/vnd.ogc.se_xml&
>
> All I get back is:
> <?xml version="1.0" encoding="ISO-8859-1"?>
>
> <msGMLOutput
>          xmlns:gml="http://www.opengis.net/gml"
>          xmlns:xlink="http://www.w3.org/1999/xlink"
>          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> </msGMLOutput>
>
> But this one does work:
> http://update.parkinfo-neuss.de/mapserv.cgi?map=/home/www/update/html/gevisW
> MS.map&VERSION=1.1.0&REQUEST=GetFeatureInfo&LAYERS=BGMap,plugin_Parkinfo_qua
> rtiere,plugin_Parkinfo_parkhaeuser&STYLES=&SRS=EPSG:31466&FORMAT=image/png&B
> GCOLOR=0xFFFFFF&TRANSPARENT=FALSE&WIDTH=1002&HEIGHT=637&BBOX=2546755.4252855
> ,5673106.039447,2549626.0705665,5674930.9905887&QUERY_LAYERS=plugin_Parkinfo
> _quartiere,plugin_Parkinfo_parkhaeuser&INFO_FORMAT=text/plain&X=421&Y=251&FE
> ATURE_COUNT=10&EXCEPTIONS=application/vnd.ogc.se_xml&
>
>
> Here I get back:
>
> GetFeatureInfo results:
>
> Layer 'plugin_Parkinfo_quartiere'
>   Feature 0:
>     ID = '1'
>     NAME = 'Neuss Zentrum'
>
> Layer 'plugin_Parkinfo_parkhaeuser'
>   Feature 0:
>     ID = '7'
>     NAME = 'Niedertor'
>     PHKAT = '1'
>
> As you see, the requests are totally equal except the INFO_FORMAT. Has
> anybody an idea what that could be?
>
> Thanks in advance,
>
> Bjoern.
>



More information about the mapserver-users mailing list