[mapserver-users] template in class

JIAJIA WANG jaja0506 at gmail.com
Mon Sep 5 03:33:29 PDT 2011


Yes, I have.
But I still don't understand why define a template under class level.
I just wonder when it can be used if you defined a template under class
level.
The template defined under layer level will be used when request GetFeature
service.
But how about the one under class level.

JJ

On Mon, Sep 5, 2011 at 5:28 PM, Havard Tveite <havard.tveite at umb.no> wrote:

> Have you had a look at http://mapserver.org/mapfile/**template.html<http://mapserver.org/mapfile/template.html>?
>
> Håvard
>
>
> On 9/5/2011 8:44 AM, jjwang wrote:
>
>> Hi all,
>>
>> In mapfile, under the class level, you can define a 'template'.
>> What's this used for?
>> And how to write the template?
>> I'm assuming it's relevant to the getFeature request.
>> I want the class info to be included in  the response of the getFeature
>> request.
>> How can I do this?
>> Best show me some examples?
>>
>> Thanks in advance.
>>
>> JJ
>>
>> --
>> View this message in context: http://osgeo-org.1803224.n2.**
>> nabble.com/template-in-class-**tp6759942p6759942.html<http://osgeo-org.1803224.n2.nabble.com/template-in-class-tp6759942p6759942.html>
>> Sent from the Mapserver - User mailing list archive at Nabble.com.
>> ______________________________**_________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.**org <mapserver-users at lists.osgeo.org>
>> http://lists.osgeo.org/**mailman/listinfo/mapserver-**users<http://lists.osgeo.org/mailman/listinfo/mapserver-users>
>>
>>
> --
> Håvard Tveite
> Department of Mathematical Sciences and Technology, UMB
> Drøbakveien 31, POBox 5003, N-1432 Ås, NORWAY
> Phone: +47 64965483 Fax: +47 64965401 http://www.umb.no/imt/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110905/dd90ee6a/attachment.htm>


More information about the MapServer-users mailing list