[mapserver-users] Problems with showing attributes

Chrishelring christianhelring at gmail.com
Fri Feb 25 11:03:23 EST 2011


Hi all,

I´m having problems showing some attributes. The idea is that the user uses
the info tool, click on the polygon and retrieve the information from the
dataset. The data itself is shown, but the different names on the columns
are not! I would really like that information to show as well. Below is an
example on what I mean.

http://osgeo-org.1803224.n2.nabble.com/file/n6064968/info.jpg 

I´ve used an old template that I´ve modified:


 <tr><td class='darknegativesmall' width='17%'>Distrikt</td><td
class='lightsmall'>[Distrikt]</td></tr>
  <tr><td class='darknegativesmall' width='17%'>Områdenavn</td><td
class='lightsmall'>[Områdenavn]</td></tr>
  <tr><td class='darknegativesmall' width='17%'>Stednr</td><td
class='lightsmall'>[Stednr]</td></tr>
  <tr valign='top'><td class='darknegativesmall'
width='17%'>Beskrivelse</td><td class='lightsmall'>[Beskrivelse]</td></tr>
  <tr><td class='darknegativesmall' width='17%'>Græstype</td><td
class='lightsmall'>[Græs_1]</td></tr>
  <tr><td class='darknegativesmall' width='17%'>Blomster</td><td
class='lightsmall'>[Blomster_2]</td></tr>
  <tr><td class='darknegativesmall' width='17%'>Buske</td><td
class='lightsmall'>[Buske_3]</td></tr>
  <tr><td class='darknegativesmall' width='17%'>Træer</td><td
class='lightsmall'>[Træer_4]</td></tr>
  <tr><td class='darknegativesmall' width='17%'>Hække</td><td
class='lightsmall'>[Hække_5]</td></tr>
  <tr><td class='darknegativesmall' width='17%'>Belægning</td><td
class='lightsmall'>[Belægning_6]</td></tr>
  <tr><td class='darknegativesmall' width='17%'>Inventar</td><td
class='lightsmall'>[Inventar_7]</td></tr>
  <tr><td class='darknegativesmall' width='17%'>Renholdelse</td><td
class='lightsmall'>[Renholdelse_8]</td></tr>
  <tr><td class='darknegativesmall' width='17%'>Niveau_1</td><td
class='lightsmall'>[Niveau_1]</td></tr>
  <tr><td class='darknegativesmall' width='17%'>Niveau_2</td><td
class='lightsmall'>[Niveau_2]</td></tr>
  <tr><td class='darknegativesmall' width='17%'>Niveau_3</td><td
class='lightsmall'>[Niveau_3]</td></tr>
  <tr><td class='darknegativesmall' width='17%'>Serviceydelser</td><td
class='lightsmall'>[Serviceydelser_9]</td></tr>
  <tr><td class='darknegativesmall' width='17%'>Evt. bemærkning til
serviceydelser</td><td
class='lightsmall'>[serviceydelse_bemærkning]</td></tr>
  <tr><td class='darknegativesmall' width='17%'>Vandområder</td><td
class='lightsmall'>[Vandområder_10]</td></tr>
  <tr><td class='darknegativesmall' width='17%'>Evt. bemærkninger</td><td
class='lightsmall'>[Bemærkninger]</td></tr>
  <tr><td class='darknegativesmall' width='17%'>Opdateringsdato</td><td
class='lightsmall'>[Opdateringsdato]</td></tr>
  <tr height="2"><td><td></td></tr>

the data in the different colums (shown in the html as []) is okay, the
problem is the name of the columns.

What am I doing wrong?

Sincerly,

Christian 
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Problems-with-showing-attributes-tp6064968p6064968.html
Sent from the Mapserver - User mailing list archive at Nabble.com.


More information about the mapserver-users mailing list