On Thursday, April 15, 2010, Sarah Schuessler <[email protected]> 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.

> 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.

> 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.

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 : [email protected]
http://www.camptocamp.com
_______________________________________________
Users mailing list
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/users

Reply via email to