Bienvenue sur PostGIS.fr

Bienvenue sur PostGIS.fr , le site de la communauté des utilisateurs francophones de PostGIS.

PostGIS ajoute le support d'objets géographique à la base de données PostgreSQL. En effet, PostGIS "spatialise" le serverur PostgreSQL, ce qui permet de l'utiliser comme une base de données SIG.

Maintenu à jour, en fonction de nos disponibilités et des diverses sorties des outils que nous testons, nous vous proposons l'ensemble de nos travaux publiés en langue française.

source: trunk/workshop-routing-foss4g/web/GeoExt/docs/_sources/lib/GeoExt/data/AttributeStore.txt @ 76

Revision 76, 1.9 KB checked in by djay, 10 years ago (diff)

Ajout du répertoire web

  • Property svn:executable set to *
Line 
1
2.. currentmodule:: GeoExt.data
3
4:class:`GeoExt.data.AttributeStore`
5================================================================================
6
7
8.. cssclass:: meta
9
10
11Extends
12    * `Ext.data.Store <http://dev.sencha.com/deploy/dev/docs/?class=Ext.data.Store>`_
13   
14
15
16
17
18
19
20.. class:: AttributeStore(config)
21
22    Small helper class to make creating stores for remotely-loaded attributes
23    data easier. AttributeStore is pre-configured with a built-in
24    ``Ext.data.HttpProxy`` and :class:`GeoExt.data.AttributeReader`.  The
25    HttpProxy is configured to allow caching (disableCaching: false) and
26    uses GET. If you require some other proxy/reader combination then you'll
27    have to configure this with your own proxy or create a basic
28    ``Ext.data.Store`` and configure as needed.
29
30
31   
32
33
34Config Options
35--------------
36
37Configuration properties in addition to
38those listed for `Ext.data.Store <http://dev.sencha.com/deploy/dev/docs/?class=Ext.data.Store>`_.
39
40
41.. describe:: feature
42
43    ``OpenLayers.Feature.Vector``
44    A vector feature. If provided, and if the reader is a
45    :class:`GeoExt.data.AttributeReader` (the default), then records
46    of this store will include a field named "value" referencing the
47    corresponding attribute value in the feature. And if the "value"
48    field of a record is updated the update will propagate to the
49    corresponding feature attribute. Optional.
50
51.. describe:: fields
52
53    ``Array or Function``
54    Either an array of field definition objects as passed to
55    ``Ext.data.Record.create``, or a record constructor created using
56    ``Ext.data.Record.create``.  Defaults to ``["name", "type", "restriction"]``.
57
58.. describe:: format
59
60    ``OpenLayers.Format``
61    A parser for transforming the XHR response into an array of objects
62    representing attributes.  Defaults to an
63    ``OpenLayers.Format.WFSDescribeFeatureType`` parser.
64
65
66
67
68
69
70
71
72
Note: See TracBrowser for help on using the repository browser.