Getfeatureinfo

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Getfeatureinfo

boho
hi all...
i have a   problem, when request getfeatureinfo it returns
 "msWMSFeatureInfo(): WMS server error. Unsupported INFO_FORMAT value (text/html)"

in my template file i write

kecamatan : [KECAMATAN]
Kabupaten : [KAB_KOTA]

in my mapfile i have a layer names 'Batas_Kab_region'

LAYER
    NAME 'Batas_Kab_region'
    TYPE POLYGON
    DUMP true
    TEMPLATE 'http://localhost/cobaLabel/template/template.html'
    EXTENT 92.802099 -0.769160 105.428003 5.084228
    DATA 'C:/ms4w/Apache/htdocs/petaPAD/shapeFile/kotaSiantar/Batas_Kab_region.shp'
    METADATA
      'wms_title' 'Batas_Kab_region'
 "wms_dataurl_format" "text/HTML"
    "gml_include_items"     "all"
   "gml_exclude_items"     "HL"
    "ows_include_items"     "all"
    "ows_exclude_items"     "HL"
    "wms_exceptions_format" "application/vnd.ogc.se_xml"
  'wms_srs'             'EPSG:4326'
    END
    STATUS OFF
    TRANSPARENCY 100
    PROJECTION
    'proj=longlat'
    'ellps=WGS84'
    'datum=WGS84'
    'no_defs'
    END
    CLASS
       NAME 'Batas_Kab_region'
       STYLE
         SYMBOL 0
         SIZE 7.0
         OUTLINECOLOR 0 0 0
         COLOR 120 117 243
       END
    END
  END

please somebody help me.......