[mapserver-users] GetFeatureInfo for number in textfield

Sven Schroeter schroeter at netgis.de
Mon Sep 1 08:49:58 PDT 2008


Hi,
My System: Mapserver 5.02 on Win 2003 Server with Postgres/Postgis 8.3/1.3.
I make a GetFeatureInfo Request from a WMS-Service:

With
INFO_FORMAT=text/plain
every field from my Postgis-table comes with a correctly result:
For example

GetFeatureInfo results:

Layer 'naturschutzgebiet'
  Feature 13288152:
    geodb_oid = '175'
    objectid = '175'
    nr = '23308'
    name = 'Ernstberg'
    ...

 The Field "nr" is a textfield with some numbers as strings, for example nr 
= '23308'.
If I try to get a result via html-template (INFO_FORMAT=text/html) 
everything works fine except the field "nr".
For this field I get in every query a "1".

any ideas?

Thanks
Sven 





More information about the MapServer-users mailing list