GetFeatureInfo and text/plain, no attributes shown

Bart van den Eijnden (OSGIS) bartvde at XS4ALL.NL
Mon Sep 4 23:26:19 PDT 2006


Hi Assefa,

that was it, thanks :-)

I only had gml_include_items "all", I now changed it to 
ows_include_items "all".

Best regards,
Bart

Yewondwossen Assefa schreef:
> 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
>>
>
>


-- 
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl



More information about the MapServer-users mailing list