[mapserver-users] MapServer 5.2.2 GetFeatureInfo returns an error

Maarten Plieger plieger at knmi.nl
Wed Apr 1 02:09:39 PDT 2009


Hi All,
We are updating our mapserver services from 5.2.0 to 5.2.2. I have two 
issues doing this, one with SYMBOLSET and one with TEMPLATE (for queries):

- The first is that the SYMBOLSET in my mapfile gives an error:
SYMBOLSET      "/data1/mapserver/symbols/symbols35.sym"
When I do a getcapabilities I get:
  "msLoadSymbolSet(): Unknown identifier. First token must be SYMBOLSET, 
this doesn't look like a symbol file"
I do not need this symbolset, so I have uncommented it

- The second problem is GetFeatureInfo. GetFeatureInfo returns this:
Content-type: application/vnd.ogc.se_xml isValidTemplate(): Web 
application error. Missing magic string, 
../InfoQueryTemplates/SCIA_IMAP_L3.html doesn't look like a MapServer 
template.

My template "SCIA_IMAP_L3.html" in the layer looks like this:
  <b>xVMR_CH4</b><br>
  longitude: [mapx]<br>
  latitude: [mapy]<br>
  vertical_mixing_ratio_of_methane_in_air: [value_0] ppb<br>

This template is configured in a LAYER object as: TEMPLATE 
'../InfoQueryTemplates/SCIA_IMAP_L3.html'

This is the getfeatureinfo request for 5.2.2:
http://geoservices.knmi.nl/cgi-bin/SCIA__CONS_R___IMAP____L3_test_5.2.2.cgi?SERVICE=WMS&REQUEST=GetFeatureInfo&VERSION=1.1.1&SRS=EPSG:4326&LAYERS=SCIA__CONS_R___IMAP____L3__20040101T000000_20040201T000000_0001_CH4&QUERY_LAYERS=SCIA__CONS_R___IMAP____L3__20040101T000000_20040201T000000_0001_CH4&BBOX=-180,-92.22011385199241,180,92.22011385199241&WIDTH=1581&HEIGHT=810&X=361&Y=250&FORMAT=image/gif&INFO_FORMAT=text/html&STYLES=&
This used to work well with version 5.2.0:
http://geoservices.knmi.nl/cgi-bin/SCIA__CONS_R___IMAP____L3.cgi?SERVICE=WMS&REQUEST=GetFeatureInfo&VERSION=1.1.1&SRS=EPSG:4326&LAYERS=SCIA__CONS_R___IMAP____L3__20040101T000000_20040201T000000_0001_CH4&QUERY_LAYERS=SCIA__CONS_R___IMAP____L3__20040101T000000_20040201T000000_0001_CH4&BBOX=-180,-92.22011385199241,180,92.22011385199241&WIDTH=1581&HEIGHT=810&X=361&Y=250&FORMAT=image/gif&INFO_FORMAT=text/html&STYLES=&

Am I doing something wrong?

Thanks in advance,
Maarten Plieger




-- 
Maarten Plieger
KNMI, R&D Information and Observation Technology, De Bilt
(t) +31 30 2206330 




More information about the MapServer-users mailing list