[mapserver-users] GetFeatureInfo for number in textfield
schroeter at netgis.de
Tue Sep 2 03:32:33 EDT 2008
it's really the problem with the template substitution string, with "mynr"
it works, thank you very much!
----- Original Message -----
From: "Steve Lime" <Steve.Lime at dnr.state.mn.us>
To: <mapserver-users at lists.osgeo.org>; <schroeter at netgis.de>
Sent: Tuesday, September 02, 2008 12:48 AM
Subject: Re: [mapserver-users] GetFeatureInfo for number in textfield
nr is also a template substitution string (means number of results) in
mapserver templates so I'm guessing
that's being returned instead of the column values. A value of 1 for every
result seems to confirm that. The
work around would be to rename the column in your SQL statement (eg "nr as
>>> "Sven Schroeter" <schroeter at netgis.de> 09/01/08 10:54 AM >>>
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:
every field from my Postgis-table comes with a correctly result:
geodb_oid = '175'
objectid = '175'
nr = '23308'
name = 'Ernstberg'
The Field "nr" is a textfield with some numbers as strings, for example nr
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".
mapserver-users mailing list
mapserver-users at lists.osgeo.org
More information about the mapserver-users