GetFeatureInfo

SUBSCRIBE MAPSERVER-USERS Joe H. Smith thip at AIT.AC.TH
Mon Apr 10 07:27:23 PDT 2006


Dear all,

I set up my server as WMS Server. The problem is I could not query as html which
I provide template, header and footer file.

Is there anyone has an experience setting up WMS server for getfeatureinfo?

I set up my map file as


...
   WEB
    IMAGEPATH "/data/maplab-2.2/tmp/"
    IMAGEURL "/maplab-2.2/tmp/"

    METADATA
    "wms_title"     "INFO"  ##required
    "wms_feature_info_mime_type" "text/html"
    "wms_onlineresource"
"http://server.com/cgi-bin/mapserv?map=/data/maplab-2.2/AIT/info.map&"
    "wms_srs"       "EPSG:42304 EPSG:42101 EPSG:4269 EPSG:4326"  ##recommended

    END

LAYER
  NAME TEST

METADATA
	"wms_title" "TEST" ##required
        "wms_feature_info_mime_type" "text/html"
        "wms_extent" "92.189278,5.610009,109.464638,29.180666"
END

  TYPE POLYGON
  TRANSPARENCY 70
  DATA asia_bnd
  STATUS ON
  TEMPLATE asia.html

  ...
END


Thanks in advance,
Thip


----------------------------------------------------------
This mail sent through AIT WebMail : http://www.ait.ac.th/



More information about the MapServer-users mailing list