[Users] dynamic layer choosing
Sarah Schuessler
sarah_flip at yahoo.de
Mon Apr 19 10:26:36 CEST 2010
Hi Eric,
thanks for your input.
Read below..
________________________________
On Thursday, April 15, 2010, Sarah Schuessler <sarah_flip at yahoo.de> wrote:
>> Hi,
>>
>> thanks for your example.
>>
>>If I want to use a FeatureStore with a grid then I have to define my fields, columns at the beginning as far as I know. But I don`t know these because I choose my layer at my application. So I have to use WMSGetFeatureInfo with a popup?
> each layer node could include the information required to create the
> grid. So when queries are activated in the layer tree for a layer you
> have all the information you need to create the grid.
How can I include information for my layer node? Which param or option
will I use? Does it matter which type of layer (WMS, WFS,..) I´m
selecting with a radiobutton?
>> I`ve found this statement from Eric Lemoine at mapfish mailinglist:
>> using an
>> OpenLayers.Control.WMSGetFeatureInfo with a
>>>
>> GeoExt.data.FeatureStore. Features received in the GetFeatureInfo
>>>
>> response are added to the store with store.loadData(features).
>> which indicates that I can use a FeatureStore.
> yes, a feature store is a store containing features, the features you
> add to the store can come from any source, including responses to WMS
> GFI requests.
I have to define store´s fields and columns at code I thought. And columns differ from chosen layer. But your first suggestion tells me that I could define information so that my grid could be created.
>> But this is only possible if I know my queryable layer?
> Sorry I don't understand this question.
>> I want to ask all features within current extent- so I need to use GetFeature with a filter?
> At least using WFS GetFeature + a spatial filter is one option yes.
Do you know another, better option?
Thanks.
best regards
Sarah
Cheers,
--
Eric Lemoine
Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex
Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com
_______________________________________________
Users mailing list
Users at geoext.org
http://www.geoext.org/cgi-bin/mailman/listinfo/users
__________________________________________________
__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.
http://mail.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20100419/43f262dd/attachment.htm
More information about the Users
mailing list