1、raising standards worldwideNO COPYING WITHOUT BSI PERMISSION EXCEPT AS PERMITTED BY COPYRIGHT LAWBSI Standards PublicationBS EN ISO 19142:2010Geographic information Web Feature Service (ISO19142:2010)BS EN ISO 19142:2010 BRITISH STANDARDNational forewordThis British Standard is the UK implementation
2、 of EN ISO19142:2010.The UK participation in its preparation was entrusted to TechnicalCommittee IST/36, Geographic information.A list of organizations represented on this committee can beobtained on request to its secretary.This publication does not purport to include all the necessaryprovisions of
3、 a contract. Users are responsible for its correctapplication. BSI 2011ISBN 978 0 580 65191 5ICS 35.240.70Compliance with a British Standard cannot confer immunity fromlegal obligations.This British Standard was published under the authority of theStandards Policy and Strategy Committee on 31 Januar
4、y 2011.Amendments issued since publicationDate Text affectedEUROPEAN STANDARD NORME EUROPENNE EUROPISCHE NORM EN ISO 19142 December 2010 ICS 35.240.70 English Version Geographic information - Web Feature Service (ISO 19142:2010) Information gographique - Services daccs aux entits gographiques par le
5、 web (ISO 19142:2010) This European Standard was approved by CEN on 14 December 2010. CEN members are bound to comply with the CEN/CENELEC Internal Regulations which stipulate the conditions for giving this European Standard the status of a national standard without any alteration. Up-to-date lists
6、and bibliographical references concerning such national standards may be obtained on application to the CEN-CENELEC Management Centre or to any CEN member. This European Standard exists in three official versions (English, French, German). A version in any other language made by translation under th
7、e responsibility of a CEN member into its own language and notified to the CEN-CENELEC Management Centre has the same status as the official versions. CEN members are the national standards bodies of Austria, Belgium, Bulgaria, Croatia, Cyprus, Czech Republic, Denmark, Estonia, Finland, France, Germ
8、any, Greece, Hungary, Iceland, Ireland, Italy, Latvia, Lithuania, Luxembourg, Malta, Netherlands, Norway, Poland, Portugal, Romania, Slovakia, Slovenia, Spain, Sweden, Switzerland and United Kingdom. EUROPEAN COMMITTEE FOR STANDARDIZATION COMIT EUROPEN DE NORMALISATION EUROPISCHES KOMITEE FR NORMUNG
9、 Management Centre: Avenue Marnix 17, B-1000 Brussels 2010 CEN All rights of exploitation in any form and by any means reserved worldwide for CEN national Members. Ref. No. EN ISO 19142:2010: EBS EN ISO 19142:2010EN ISO 19142:2010 (E) 3 Foreword This document (EN ISO 19142:2010) has been prepared by
10、 Technical Committee ISO/TC 211 “Geographic information/Geomatics” in collaboration with Technical Committee CEN/TC 287 “Geographic Information” the secretariat of which is held by BSI. This European Standard shall be given the status of a national standard, either by publication of an identical tex
11、t or by endorsement, at the latest by June 2011, and conflicting national standards shall be withdrawn at the latest by June 2011. Attention is drawn to the possibility that some of the elements of this document may be the subject of patent rights. CEN and/or CENELEC shall not be held responsible fo
12、r identifying any or all such patent rights. According to the CEN/CENELEC Internal Regulations, the national standards organizations of the following countries are bound to implement this European Standard: Austria, Belgium, Bulgaria, Croatia, Cyprus, Czech Republic, Denmark, Estonia, Finland, Franc
13、e, Germany, Greece, Hungary, Iceland, Ireland, Italy, Latvia, Lithuania, Luxembourg, Malta, Netherlands, Norway, Poland, Portugal, Romania, Slovakia, Slovenia, Spain, Sweden, Switzerland and the United Kingdom. Endorsement notice The text of ISO 19142:2010 has been approved by CEN as a EN ISO 19142:
14、2010 without any modification. BS EN ISO 19142:2010ISO 19142:2010(E) ISO 2010 All rights reserved iiiContents Page Foreword xi Introduction.xii 1 Scope1 2 Conformance .2 3 Normative references3 4 Terms and definitions .4 5 Conventions.8 5.1 Abbreviated terms.8 5.2 Use of examples 9 5.3 XML schemas.9
15、 5.4 UML Notation .9 5.4.1 Class diagrams 9 5.4.2 State machine notation.10 6 Basic service elements.11 6.1 Introduction11 6.2 Version numbering and negotiation11 6.2.1 Version number form and value 11 6.2.2 Appearance in service metadata and in requests11 6.2.3 Version number negotiation.11 6.2.4 R
16、equest encoding .11 6.2.5 KVP parameter encoding rules 12 6.3 Namespaces.13 6.4 Service bindings13 7 Common elements 13 7.1 Encoding of features.13 7.2 Resource identifiers13 7.2.1 Assigning resource identifiers.13 7.2.2 Encoding resource identifiers14 7.2.3 Version identification14 7.3 Property ref
17、erences.14 7.3.1 XPath subset14 7.3.2 Accessor function .14 7.4 Predicate expression encoding .15 7.5 Exception reporting.15 7.6 Common request parameters 17 7.6.1 Introduction17 7.6.2 Base request type17 7.6.3 Standard presentation parameters19 7.6.4 Standard resolve parameters.22 7.6.5 Standard in
18、put parameters.25 7.6.6 Additional common keywords for KVP-encoded requests.26 7.7 Standard response parameters .27 7.7.1 Parameter semantics 27 7.7.2 XML encoding 27 7.7.3 KVP encoding 27 7.7.4 Parameter discussion .27 7.8 Use of the schemaLocation attribute 30 7.9 Query expressions 30 BS EN ISO 19
19、142:2010ISO 19142:2010(E) iv ISO 2010 All rights reserved7.9.1 Introduction. 30 7.9.2 Ad hoc query expression. 30 7.9.3 Stored query expression 40 8 GetCapabilities operation 42 8.1 Introduction. 42 8.2 Request 43 8.2.1 Request semantics . 43 8.2.2 XML encoding . 43 8.2.3 KVP encoding 43 8.3 Respons
20、e. 43 8.3.1 Response semantics 43 8.3.2 XML encoding . 44 8.3.3 Capabilities document . 45 8.3.4 FeatureTypeList section 45 8.3.5 Parameters domains and constraints 48 8.4 Extension points. 52 8.5 Exceptions. 54 9 DescribeFeatureType operation 54 9.1 Introduction. 54 9.2 Request 54 9.2.1 Request sem
21、antics . 54 9.2.2 XML Encoding. 54 9.2.3 KVP Encoding . 55 9.2.4 Parameter discussion 55 9.3 Response. 56 9.3.1 Introduction. 56 9.3.2 Supporting multiple namespaces . 56 9.4 Exceptions. 57 10 GetPropertyValue operation 57 10.1 Introduction. 57 10.2 Request 57 10.2.1 Request semantics . 57 10.2.2 XM
22、L Encoding. 58 10.2.3 KVP Encoding . 58 10.2.4 Parameter discussion 58 10.3 Response. 60 10.3.1 Response semantics 60 10.3.2 XML encoding . 60 10.3.3 State parameter. 61 10.3.4 Standard response parameters. 61 10.4 Exceptions. 61 11 GetFeature operation . 62 11.1 Introduction. 62 11.2 Request 62 11.
23、2.1 Request semantics . 62 11.2.2 XML encoding . 63 11.2.3 KVP encoding 63 11.2.4 Parameter discussions 64 11.3 Response. 64 11.3.1 Response semantics 64 11.3.2 XML encoding . 65 11.3.3 Parameter discussions 66 11.3.4 Additional objects. 69 11.3.5 GetFeatureById response 69 11.4 Exceptions. 70 12 Lo
24、ckFeature operation . 70 12.1 Introduction. 70 BS EN ISO 19142:2010ISO 19142:2010(E) ISO 2010 All rights reserved v12.2 Request.70 12.2.1 Request semantics70 12.2.2 XML encoding 71 12.2.3 KVP encoding 71 12.2.4 Parameter discussions .72 12.2.5 State machine for WFS locking73 12.3 Response .74 12.3.1
25、 Response semantics.74 12.3.2 XML encoding 74 12.4 Exceptions .75 13 GetFeatureWithLock operation75 13.1 Introduction75 13.2 Request.75 13.2.1 Request semantics75 13.2.2 XML encoding 75 13.2.3 KVP encoding 76 13.2.4 Parameter discussion .76 13.3 Response .77 13.3.1 Introduction77 13.3.2 lockId param
26、eter77 13.4 Exceptions .77 14 Stored query management .77 14.1 Introduction77 14.2 Defining stored queries 78 14.2.1 XML encoding 78 14.2.2 Parameter discussion .78 14.3 ListStoredQueries operation81 14.3.1 Request semantics81 14.3.2 XML encoding 82 14.3.3 KVP encoding 82 14.3.4 Response .82 14.3.5
27、Exceptions .83 14.4 DescribeStoredQueries operations.83 14.4.1 Request semantics83 14.4.2 XML encoding 83 14.4.3 KVP encoding 84 14.4.4 Response .84 14.5 CreateStoredQuery operation 85 14.5.1 Request semantics85 14.5.2 XML encoding 85 14.5.3 KVP encoding 85 14.5.4 Parameter discussions .85 14.5.5 Re
28、sponse .86 14.6 DropStoredQuery operations.86 14.6.1 Request semantics86 14.6.2 XML encoding 87 14.6.3 KVP encoding 87 14.6.4 Response .87 14.7 Exceptions .87 15 Transaction operation.88 15.1 Introduction88 15.2 Request.88 15.2.1 Request semantics88 15.2.2 XML encoding 89 15.2.3 Parameter discussion
29、s .90 15.2.4 Insert action .91 15.2.5 Update action.92 15.2.6 Replace action .94 BS EN ISO 19142:2010ISO 19142:2010(E) vi ISO 2010 All rights reserved15.2.7 Delete action 94 15.2.8 Native action 95 15.3 Response. 96 15.3.1 Response semantics 96 15.3.2 TransactionResponse element 96 15.3.3 Transactio
30、nSummary element 97 15.3.4 InsertResults element 97 15.3.5 UpdateResults element 98 15.3.6 ReplaceResults element 98 15.4 Exceptions. 98 Annex A (normative) Conformance testing. 99 A.1 Conformance classes. 99 A.1.1 Simple WFS . 99 A.1.2 Basic WFS . 99 A.1.3 Transactional WFS . 99 A.1.4 Locking WFS .
31、 100 A.1.5 HTTP GET 100 A.1.6 HTTP POST 100 A.1.7 SOAP 100 A.1.8 Inheritance. 101 A.1.9 Remote resolve . 101 A.1.10 Response paging 101 A.1.11 Standard joins. 101 A.1.12 Spatial joins. 101 A.1.13 Temporal joins 102 A.1.14 Feature versions . 102 A.1.15 Manage stored queries. 102 A.2 Basic tests. 102
32、A.2.1 Version negotiation 102 A.2.2 Lists version number 2.0.0 as a supported request version number . 103 A.2.3 Invalid version number 103 A.2.4 Version negotiation for the GetCapabilities request. 103 A.2.5 Response to XML- and KVP-encoded. requests . 103 A.2.6 Parameter ordering and case 104 A.2.
33、7 Unrecognized parameters 104 A.2.8 Server operates on GML features . 104 A.2.9 Feature identifiers. 105 A.2.10 Invariant identifier. 105 A.2.11 Versioning . 105 A.2.12 XPath subset . 106 A.2.13 Predicate encoding. 106 A.2.14 Exception reporting 106 A.2.15 Common request parameters 107 A.2.16 Standa
34、rd presentation parameters . 108 A.2.17 Standard resolve parameters 109 A.2.18 Standard input parameters 112 A.2.19 Standard response parameters. 113 A.2.20 Response paging 114 A.2.21 schemaLocation parameter. 115 A.2.22 Query expressions . 115 A.2.23 Declaring conformance 120 Annex B (informative)
35、Examples 121 B.1 Exception report example 121 B.2 DescribeFeatureType examples 121 B.2.1 Example 1 121 B.2.2 Example 2 124 BS EN ISO 19142:2010ISO 19142:2010(E) ISO 2010 All rights reserved viiB.3 GetFeature examples 128 B.3.1 Introduction128 B.3.2 Example 1.128 B.3.3 Example 2.128 B.3.4 Example 3.1
36、29 B.3.5 Example 4.129 B.3.6 Example 5.131 B.3.7 Example 6.131 B.3.8 Example 7.131 B.3.9 Example 8.132 B.3.10 Example 9.134 B.3.11 Example 10.136 B.3.12 Example 11.137 B.3.13 Example 12.138 B.3.14 Example 13.139 B.3.15 Example 14.142 B.3.16 Example 15.143 B.3.17 Example 16.143 B.3.18 Example 17.144
37、B.3.19 Example 18.145 B.3.20 Example 19.145 B.4 GetPropertyValue examples.146 B.4.1 Introduction146 B.4.2 Example 1.147 B.4.3 Example 2.149 B.4.4 Example 3.149 B.4.5 Example 4.151 B.4.6 Example 5.152 B.4.7 Example 6.153 B.4.8 Example 7.154 B.4.9 Example 8.154 B.4.10 Example 9.155 B.5 LockFeature exa
38、mples156 B.5.1 Example 1.156 B.5.2 Example 2.157 B.5.3 Example 3.157 B.5.4 Example 4.158 B.6 Transaction examples.159 B.6.1 Insert example .159 B.6.2 Update examples.160 B.6.3 Delete examples 162 B.6.4 Mixed transaction example 163 B.6.5 Transaction response example166 B.7 GetCapabilities example.16
39、7 B.8 KVP examples182 B.8.1 Conventions.182 B.8.2 DescribeFeatureType examples 182 B.8.3 GetPropertyValue examples.183 B.8.4 GetFeature examples 185 B.8.5 LockFeature examples190 Annex C (informative) Consolidated XML schema192 C.1 Introduction192 C.2 wfs.xsd192 Annex D (normative) Service bindings.
40、203 D.1 Introduction203 BS EN ISO 19142:2010ISO 19142:2010(E) viii ISO 2010 All rights reservedD.2 HTTP GET and POST binding 203 D.3 HTTP status codes . 203 D.4 SOAP binding 204 D.4.1 Introduction. 204 D.4.2 SOAP Envelope. 205 D.4.3 SOAP Header. 205 D.4.4 SOAP Body 205 D.4.5 Encoding XML Schema in a
41、 SOAP Body . 206 D.4.6 SOAP Fault 207 D.4.7 SOAP HTTP Binding. 208 Annex E (normative) Web Service Description Language (WSDL). 209 E.1 Introduction. 209 E.2 WFS Operations in WSDL 209 E.3 SOAP Binding . 209 E.4 Binding style . 210 E.5 Service . 211 E.6 Service description using WSDL 211 E.6.1 Intro
42、duction. 211 E.6.2 wfs-xml-interfaces.wsdl . 211 E.6.3 wfs-kvp-interfaces.wsdl . 213 E.6.4 wfs-responses.wsdl 215 E.6.5 wfs-http-bindings.wsdl. 215 E.6.6 wfs-kvp-bindings.wsdl . 218 E.6.7 wfs-soap-bindings.wsdl . 219 E.6.8 Ancillary files. 221 E.6.9 Examples (informative) 226 Annex F (informative) A
43、bstract model . 229 F.1 Overview 229 F.2 Abstract Resource Model 229 F.2.1 Introduction. 229 F.2.2 Basic Accessor Functions. 229 F.3 Mapping of the General Feature Model (GFM) to the WFS Abstract Model 231 F.4 Identifiers. 231 F.5 valueOf() function . 231 F.6 WFS Operations 231 F.6.1 Introduction. 2
44、31 F.6.2 featureTypeNameList() function 232 F.6.3 featureType() function 232 F.6.4 Query function 232 F.6.5 propertyValue() function 233 F.6.6 lock() function . 234 F.6.7 transaction() function. 234 F.6.8 Stored query operations 235 F.7 WFS Operations 236 F.8 Conceptual schema 236 Bibliography. 238
45、BS EN ISO 19142:2010ISO 19142:2010(E) ISO 2010 All rights reserved ixFigures Figure 1 UML notation in class diagrams 9 Figure 2 Summary of UML state diagram notations10 Figure 3 BaseRequest .17 Figure 4 StandardPresentationParameters .19 Figure 5 StandardResolveParameters 22 Figure 6 StandardInputPa
46、rameters .25 Figure 7 StandardResponseParameters .27 Figure 8 Ad hoc query expression .31 Figure 9 Query projection clause.35 Figure 10 Query sorting clause39 Figure 11 StoredQuery 41 Figure 12 GetCapabilities request .43 Figure 13 GetCapabilities response 44 Figure 14 DescribeFeatureType request.54
47、 Figure 15 GetPropertyValue request.57 Figure 16 GetPropertyValue response 60 Figure 17 GetFeature request .63 Figure 18 GetFeature response.65 Figure 19 LockFeature request70 Figure 20 State diagram for a WFS lock73 Figure 21 LockFeature response.74 Figure 22 GetFeatureWithLock request.75 Figure 23
48、 ListStoredQueries request.81 Figure 24 ListStoredQueriesResponse82 Figure 25 DescribeStoredQueries request 83 Figure 26 DescribeStoredQueriesResponse.84 Figure 27 CreateStoredQuery request 85 Figure 28 CreateStoredQuery response86 Figure 29 DropStoredQuery request .86 BS EN ISO 19142:2010ISO 19142:
49、2010(E) x ISO 2010 All rights reservedFigure 30 Transaction request 89 Figure 31 Transaction response . 96 Figure F.1 Web Feature Service interfaces overview. 237 Tables Table 1 Conformance Classes 2 Table 2 Operation request encoding. 12 Table 3 WFS exception codes 16 Table 4 KVP encoding of the base request type. 18 Table 5 KVP encoding of standard presentation parameters . 19 Table 6 KVP encoding of standard resolve parameters . 23 Table 7 Additional common keyword
copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1