query template question
Steve Lime
Steve.Lime at DNR.STATE.MN.US
Tue Oct 23 12:39:29 PDT 2007
You mean like a default template? Not specifically. There is a workaround however.
There are 2 substitution strings: [items] and [values] that give you a comma-delimited list
of all items and then all values. So you could use them with a little javascript to dump the
data into arrays and then display the content of those arrays. I've done it, works nice!
Steve
>>> On 10/22/2007 at 9:42 AM, in message
<1ebb87870710220742t2e2c93dbpa78c8da5db308c94 at mail.gmail.com>, Bart van den
Eijnden <bartvde at GMAIL.COM> wrote:
> Hi list,
>
> is there a way to just get the following HTML out of a WMS GetFeatureInfo
> request:
>
> <table>
> <tr>
> <td>MyAttributeName</td>
> <td>MyAttributeValue</td>
> </tr>
> <tr>
> <td>MyAttributeName</td>
> <td>MyAttributeValue</td>
> </tr>
> </table>
>
> *without* specifying the names of the columns explicitly in the template?
>
> Best regards,
> Bart
More information about the MapServer-users
mailing list