[Users] FeatureStore+GridPanel with DescribeFeatureType
Eric Lemoine
eric.lemoine at camptocamp.com
Wed Mar 23 22:13:53 CET 2011
On Wednesday, March 23, 2011, Alexandre Dube <adube at mapgears.com> wrote:
> Hi,
Hi
>
> I would like to know if it would be possible to create a GridPanel
> plugged to a FeatureStore that are binded to an existing Vector layer
> with its own WFS protocol (something like pretty much like
> http://api.geoext.org/1.0/examples/feature-grid.html, but instead of
> having a layer without a protocol and use the layer in the FeatureStore,
> do the opposite... I mean use a Vector layer with its own WFS protocol
> and plug it to the FeatureStore...)
Yes, any vector layer can be bound to a FeatureStore. Once bound if
features are added to the layer (for example through its strategy and
protocol) corresponding feature records are created and added to the
store.
> and using a WFS DescribeFeatureType
> request to get the list of fields and columns.
Yep, you should be able to write application code that creates a
FeatureStore and a ColumnModel from a DFT response or an
AttributeStore.
Also we could have a GridPanel in GeoExt, that, when configured with
an AttributeStore, will itself create its FeatureStore and
ColumnModel.
Have you looked at OpenGeo's gxp repository? Maybe they have something
like that already. And if so it'd be great to steal it from them and
add it into GeoExt :-)
--
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
More information about the Users
mailing list