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/OpenLayers/lib/OpenLayers/Format/OWSCommon/v1_1_0.js @ 76

Revision 76, 2.3 KB checked in by djay, 12 years ago (diff)

Ajout du répertoire web

  • Property svn:executable set to *
Line 
1/* Copyright (c) 2006-2010 by OpenLayers Contributors (see authors.txt for
2 * full list of contributors). Published under the Clear BSD license. 
3 * See http://svn.openlayers.org/trunk/openlayers/license.txt for the
4 * full text of the license. */
5
6/**
7 * @requires OpenLayers/Format/OWSCommon/v1.js
8 */
9
10/**
11 * Class: OpenLayers.Format.OWSCommon.v1_1_0
12 * Parser for OWS Common version 1.1.0 which can be used by other parsers.
13 * It is not intended to be used on its own.
14 */
15OpenLayers.Format.OWSCommon.v1_1_0 = OpenLayers.Class(OpenLayers.Format.OWSCommon.v1, {
16
17    /**
18     * Property: namespaces
19     * {Object} Mapping of namespace aliases to namespace URIs.
20     */
21    namespaces: {
22        ows: "http://www.opengis.net/ows/1.1",
23        xlink: "http://www.w3.org/1999/xlink"
24    },   
25   
26    /**
27     * Property: readers
28     * Contains public functions, grouped by namespace prefix, that will
29     *     be applied when a namespaced node is found matching the function
30     *     name.  The function will be applied in the scope of this parser
31     *     with two arguments: the node being read and a context object passed
32     *     from the parent.
33     */
34    readers: {
35        "ows": OpenLayers.Util.applyDefaults({
36            "AllowedValues": function(node, parameter) {
37                parameter.allowedValues = {};
38                this.readChildNodes(node, parameter.allowedValues);
39            },
40            "AnyValue": function(node, parameter) {
41                parameter.anyValue = true;
42            },
43            "Range": function(node, allowedValues) {
44                allowedValues.range = {};
45                this.readChildNodes(node, allowedValues.range);
46            },
47            "MinimumValue": function(node, range) {
48                range.minValue = this.getChildValue(node);
49            },
50            "MaximumValue": function(node, range) {
51                range.maxValue = this.getChildValue(node);
52            },
53            "Identifier": function(node, obj) {
54                obj.identifier = this.getChildValue(node);
55            },
56            "SupportedCRS": function(node, obj) {
57                obj.supportedCRS = this.getChildValue(node);
58            }
59        }, OpenLayers.Format.OWSCommon.v1.prototype.readers["ows"])
60    },
61   
62    CLASS_NAME: "OpenLayers.Format.OWSCommon.v1_1_0"
63
64});
Note: See TracBrowser for help on using the repository browser.