Hi David,

Could you explain me this Template Lookup as I am unable to find these
folder in Geoserver's Directory?
I am connecting to PostGIS server to get the data, so will have the similar
data structure for data which comes from Data Base server?
I found this directory structure in my Geoserver
data_dir/workspaces/<workspace name>/<dataStore name/building
inside this directory there are just two files
1. featuretype.xml
2. layer.xml

Do we have to create this template.ftl file here i.e.
data_dir/workspaces/<workspace name>/<dataStore name/building for building
layer?

Regards,
Khan M. Rizwan

On Thu, Sep 16, 2010 at 7:14 PM, David Winslow <[email protected]> wrote:

> Yes, you can have layer-specific templates.  Here are the rules for where
> GeoServer looks to find templates:
>
>
> http://docs.geoserver.org/stable/en/user/tutorials/freemarker.html?highlight=getfeatureinfo#template-lookup
>
> Hope this helps.
>
> --
> David Winslow
> OpenGeo - http://opengeo.org/
>
> On Thu, Sep 16, 2010 at 2:51 AM, Khan M. Rizwan 
> <[email protected]>wrote:
>
>> Hi All,
>>
>> With reference to the tutorial at
>>
>> http://docs.geoserver.org/stable/en/user/tutorials/GetFeatureInfo/index.html#tutorials-getfeatureinfo
>>
>> I managed to get the FeatureInfo in bullet form, but wanted to know
>> whether we can have different templates for different layers? if so, how?
>> Another problem i have is that when a user clicks on a feature the
>> FeatureInfo should display only few attribute but when asked for all
>> attributes all the attributes should be displayed.
>> So I suppose we should have two set of templates for this, which should be
>> switched at run-time (according to users wish).
>>
>> Regards,
>> M. Rizwan Khan
>>
>> ------------------------------------------------------------------------------
>> Start uncovering the many advantages of virtual appliances
>> and start using them to simplify application deployment and
>> accelerate your shift to cloud computing.
>> http://p.sf.net/sfu/novell-sfdev2dev
>> _______________________________________________
>> Geoserver-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>>
>
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to