MapServer GetFeatureInfo

Bruce Tonkin bruce.tonkin at GOV.BC.CA
Tue Oct 18 16:02:35 PDT 2005


I have a map service and would like to use the GetFeatureInfo command. I
find that I can get a result in text but not GML.

Works:
http://slkapps2.env.gov.bc.ca/mapserver/libcwms?service=wms&request=getFeatureInfo&version=1.1.1&layers=NTS_BC_COASTLINE_POLYS_125M&query_layers=NTS_BC_COASTLINE_POLYS_125M&width=500&height=500&bbox=300000,300000,1400000,1400000&x=200&y=200&info_format=text/plain

Fails:
http://slkapps2.env.gov.bc.ca/mapserver/libcwms?service=wms&request=getFeatureInfo&version=1.1.1&layers=NTS_BC_COASTLINE_POLYS_125M&query_layers=NTS_BC_COASTLINE_POLYS_125M&width=500&height=500&bbox=300000,300000,1400000,1400000&x=200&y=200&format=application/vnd.ogc.gml

Any suggestions as to how I can get this to work?



More information about the MapServer-users mailing list