GetFeatureInfo and text/plain, no attributes shown

Yewondwossen Assefa assefa at DMSOLUTIONS.CA
Mon Sep 4 18:56:07 EDT 2006


Bart,

  Therre was an additon of layer level metadata wms/ows_include_items 
and wms/ows_exclude_items to control the text/pain output the same way 
as the gml output (http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=1761).
Adding "wms_include_items" "all" should output the attributes.

Later,


Bart van den Eijnden (OSGIS) wrote:
> Hi list,
> 
> any ideas why my GetFeatureInfo in text/plain does not return any 
> attributes? GML output does not return attributes. I am using 4.10 beta2.
> 
> Request used:
> http://localhost/cgi-bin/mapserv.exe?map=/lausanne/mapserver/provinces_of_holland.map&REQUEST=GetFeatureInfo&SERVICE=WMS&VERSION=1.1.1&LAYERS=topp:nl-prov&STYLES=default&FORMAT=image/png&BGCOLOR=0xFFFFFF&TRANSPARENT=TRUE&SRS=EPSG:28992&BBOX=-91079.1366906475,300000,391079.136690647,600000&WIDTH=1117&HEIGHT=695&QUERY_LAYERS=topp:nl-prov&X=545&Y=475&info_format=text/plain 
> 
> 
> Response:
> 
> GetFeatureInfo results:
> 
> Layer 'topp:nl-prov'
>  Feature 23:
> MAP file LAYER:
> 
>  LAYER
>    DATA "nl-prov"
>    METADATA
>      OWS_TITLE "Provinces"
>      GML_INCLUDE_ITEMS "all"
>      OWS_SRS "EPSG:4326 EPSG:28992"
>    END
>    NAME "topp:nl-prov"
>    STATUS ON
>    PROJECTION
>      "init=epsg:28992"
>    END
>    TYPE POLYGON
>    DUMP TRUE
>    TEMPLATE "blank.html"
>    CLASS
>      NAME "Provinciegrenzen"
>      STYLE
>        COLOR 255 255 0
>        OUTLINECOLOR 0 0 0
>      END
>    END
>  END
> 
> Thanks in advance.
> 
> Best regards,
> Bart
> 


-- 
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst

Email: assefa at dmsolutions.ca
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925
----------------------------------------------------------------



More information about the mapserver-users mailing list