EN ISO 19143-2012 en Geographic information - Filter encoding《地理信息 滤波器编码》.pdf

上传人:syndromehi216 文档编号:726398 上传时间:2019-01-09 格式:PDF 页数:92 大小:1.84MB
下载 相关 举报
EN ISO 19143-2012 en Geographic information - Filter encoding《地理信息 滤波器编码》.pdf_第1页
第1页 / 共92页
EN ISO 19143-2012 en Geographic information - Filter encoding《地理信息 滤波器编码》.pdf_第2页
第2页 / 共92页
EN ISO 19143-2012 en Geographic information - Filter encoding《地理信息 滤波器编码》.pdf_第3页
第3页 / 共92页
EN ISO 19143-2012 en Geographic information - Filter encoding《地理信息 滤波器编码》.pdf_第4页
第4页 / 共92页
EN ISO 19143-2012 en Geographic information - Filter encoding《地理信息 滤波器编码》.pdf_第5页
第5页 / 共92页
点击查看更多>>
资源描述

1、raising standards worldwideNO COPYING WITHOUT BSI PERMISSION EXCEPT AS PERMITTED BY COPYRIGHT LAWBSI Standards PublicationBS EN ISO 19143:2012Geographic information Filter encodingBS EN ISO 19143:2012 BRITISH STANDARDNational forewordThis British Standard is the UK implementation of ISO 19143:2012.I

2、t is identical to ISO 19143:2010. It supersedes BS ISO 19143:2010, which is withdrawn. 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 publ

3、ication does not purport to include all the necessaryprovisions of a contract. Users are responsible for its correctapplication. The British Standards Institution 2012. Published by BSI StandardsLimited 2012ISBN 978 0 580 75772 3ICS 35.240.70Compliance with a British Standard cannot confer immunity

4、from legal obligations.This British Standard was published under the authority of theStandards Policy and Strategy Committee on 31 October 2010.Amendments/corrigenda issued since publicationDate Text affectedEN 3 J 2012 0 une This corrigendum renumbers BS ISO 19143:2010as BS EN ISO 19143:2012EUROPEA

5、N STANDARD NORME EUROPENNE EUROPISCHE NORM EN ISO 19143 April 2012 ICS 35.240.70 English Version Geographic information - Filter encoding (ISO 19143:2010) Information gographique - Codage de filtres (ISO 19143:2010) Geoinformation - Filter Encoding (ISO 19143:2010) This European Standard was approve

6、d by CEN on 9 March 2012. 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 and bibliographical references concerning such national stan

7、dards 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 the responsibility of a CEN member into its own language and n

8、otified 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, Germany, Greece, Hungary, Iceland, Ireland, Italy, Latvia, Lithu

9、ania, Luxembourg, Malta, Netherlands, Norway, Poland, Portugal, Romania, Slovakia, Slovenia, Spain, Sweden, Switzerland, Turkey and United Kingdom. EUROPEAN COMMITTEE FOR STANDARDIZATION COMIT EUROPEN DE NORMALISATION EUROPISCHES KOMITEE FR NORMUNG Management Centre: Avenue Marnix 17, B-1000 Brussel

10、s 2012 CEN All rights of exploitation in any form and by any means reserved worldwide for CEN national Members. Ref. No. EN ISO 19143:2012: EForeword The text of ISO 19143:2010 has been prepared by Technical Committee ISO/TC 211 “Geographic information/Geomatics” of the International Organization fo

11、r Standardization (ISO) and has been taken over as EN ISO 19143:2012 by 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 text or by endorseme

12、nt, at the latest by October 2012, and conflicting national standards shall be withdrawn at the latest by October 2012. 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 for identifyi

13、ng 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, France, Germany,

14、 Greece, Hungary, Iceland, Ireland, Italy, Latvia, Lithuania, Luxembourg, Malta, Netherlands, Norway, Poland, Portugal, Romania, Slovakia, Slovenia, Spain, Sweden, Switzerland, Turkey and the United Kingdom. Endorsement notice The text of ISO 19143:2010 has been approved by CEN as a EN ISO 19143:201

15、2 without any modification. BS EN ISO 19143:2012 EN ISO 19143:2012 (E)2 ISO 2010 All rights reserved iiiContents Page Foreword . iv Introduction. .v 1 Scope. 1 2 Conformance . .2 3 Normative references. 3 4 Terms and definitions . .3 5 Conventions. .6 5.1 Abbreviated terms . .6 5.2 UML notation. 7 5

16、.3 Use of examples . 8 5.4 Namespaces. .8 5.5 KVP-encoded parameter lists 8 5.6 XML Schema fragments. 9 6 Query expressions . 9 6.1 General . .9 6.2 Abstract query expressions . .9 6.3 Ad hoc query expression10 7 Filter. 13 7.1 General considerations. .13 7.2 Encoding . 14 7.3 Expressions . .14 7.4

17、Value references. 15 7.5 Literals. 17 7.6 Functions. 18 7.7 Comparison operators. 19 7.8 Spatial operators . .22 7.9 Temporal operators. .26 7.10 Logical operators . 28 7.11 Object identifiers . .30 7.12 Extensions . .31 7.13 Filter capabilities . .33 7.14 Encoding . 35 8 Sorting . 42 8.1 General co

18、nsiderations. .42 8.2 Encoding . 42 8.3 Exceptions . .43 Annex A (normative) Conformance testing. 44 Annex B (informative) Filter schema definitions . .48 Annex C (informative) Examples . .60 Annex D (informative) EBNF for XPath subset . 80 Annex E (informative) Abstract model. 81 BS EN ISO 19143:20

19、12 EN ISO 19143:2012 (E) ISO 2012iv Foreword ISO (the International Organization for Standardization) is a worldwide federation of national standards bodies (ISO member bodies). The work of preparing International Standards is normally carried out through ISO technical committees. Each member body i

20、nterested in a subject for which a technical committee has been established has the right to be represented on that committee. International organizations, governmental and non-governmental, in liaison with ISO, also take part in the work. ISO collaborates closely with the International Electrotechn

21、ical Commission (IEC) on all matters of electrotechnical standardization. International Standards are drafted in accordance with the rules given in the ISO/IEC Directives, Part 2. The main task of technical committees is to prepare International Standards. Draft International Standards adopted by th

22、e technical committees are circulated to the member bodies for voting. Publication as an International Standard requires approval by at least 75 % of the member bodies casting a vote. Attention is drawn to the possibility that some of the elements of this document may be the subject of patent rights

23、. ISO shall not be held responsible for identifying any or all such patent rights. ISO 19143 was prepared by Technical Committee ISO/TC 211, Geographic information/Geomatics, in collaboration with the Open Geospatial Consortium Inc. (OGC). BS EN ISO 19143:2012 EN ISO 19143:2012 (E) ISO 2012vIntroduc

24、tion Filter encoding was originated within the OGC. A fundamental operation performed on a set of data or resources is that of querying in order to obtain a subset of the data which contains certain desired information that satisfies some query criteria and which is also, perhaps, sorted in some spe

25、cified manner. The term “projection clause” is used to describe an encoding for specifying which subset of resource properties are presented in the response to a query. The term “filter or selection clause” is used to describe an encoding of predicates which are typically used in query operations to

26、 specify how data instances in a source dataset should be filtered to produce a result set. Each data instance in the source set is evaluated using the filter expression. The overall filter expression always evaluates to true or false. If the expression evaluates to true, the data instance satisfies

27、 the expression and is marked as being in the result set. If the overall filter expression evaluates to false, the data instance is not in the result set. Thus, the net effect of evaluating a filter expression is a set of data or resource identifiers which satisfy the predicates in the expression. T

28、he term “sorting clause” is used to describe an encoding for specifying how the data in a response is ordered prior to being presented. Such encodings are considered system neutral because using the numerous XML tools available today, XML encoded projection, selection and sorting clauses can be easi

29、ly validated, parsed and then transformed into whatever target query language is required to retrieve or modify resources stored in some persistent object store. For example an XML encoded query composed of a projection, selection and sorting clauses can be transformed into a SQL “SELECT FROM WHERE

30、ORDER BY ” statement to fetch data stored in a SQL-based relational database. Similarly, the same XML encoded query expression can just as easily be transformed into an XQuery expression in order to retrieve data from XML document. The XML and KVP encodings of projection, selection and sorting claus

31、es described in this International Standard are common components which can be used together or as individually by a number of web services. Any service that requires the ability to query objects from a web-accessible repository can make use of the XML and KVP encodings of a query expression describ

32、ed in this International Standard. For example the GetFeature operation, defined in ISO 19142, uses the elements derived from definitions in this International Standard to encode query expressions. BS EN ISO 19143:2012 EN ISO 19143:2012 (E) ISO 2012INTERNATIONAL STANDARD 1Geographic information Filt

33、er encoding 1 Scope This International Standard describes an XML and KVP encoding of a system neutral syntax for expressing projections, selection and sorting clauses collectively called a query expression. These components are modular and intended to be used together or individually by other standa

34、rds which reference this International Standard. EXAMPLE 1 ISO 19142 makes use of some or all of these components. This International Standard defines an abstract component, named AbstractQueryExpression, from which other specifications can subclass concrete query elements to implement query operati

35、ons. This International Standard also defines an additional abstract query component, named AbstractAdhocQueryExpresison, which is derived from AbstractQueryExpression and from which other specifications can subclass concrete query elements which follow the following query pattern: An abstract query

36、 element from which service specifications can subclass a concrete query element that implements a query operation that allows a client to specify a list of resource types, an optional projection clause, an optional selection clause, and an optional sorting clause to query a subset of resources that

37、 satisfy the selection clause. This pattern is referred to as an ad hoc query pattern since the server is not aware of the query until it is submitted for processing. This is in contrast to a stored query expression, which is stored and can be invoked by name or identifier. This International Standa

38、rd also describes an XML and KVP encoding of a system-neutral representation of a select clause. The XML representation is easily validated, parsed and transformed into a server-specific language required to retrieve or modify object instances stored in some persistent object store. EXAMPLE 2 An XML

39、 encoded filter can be transformed into a WHERE clause for a SQL SELECT statement to fetch data stored in a SQL-based relational database. Similarly, and XML encoded filter expression can be transformed into an XPath or XPointer expression for fetching data from XML documents. This International Sta

40、ndard defines the XML encoding for the following predicates. a) A standard set of logical predicates: and, or and not. b) A standard set of comparison predicates: equal to, not equal to, less than, less than or equal to, greater than, greater than or equal to, like, is null and between. c) A standar

41、d set of spatial predicates: equal, disjoint, touches, within, overlaps, crosses, intersects, contains, within a specified distance, beyond a specified distance and BBOX. d) A standard set of temporal predicates: after, before, begins, begun by, contains, during, ends, equals, meets, met by, overlap

42、s and overlapped by. e) A predicate to test whether the identifier of an object matches the specified value. ISO 2012BS EN ISO 19143:2012 EN ISO 19143:2012 (E)2 This International Standard defines the XML encoding of metadata that allows a service to declare which conformance classes, predicates, op

43、erators, operands and functions it supports. This metadata is referred to as Filter Capabilities. 2 Conformance Few usage scenarios require the full implementation of this International Standard to work. Therefore, service providers may want to specify requirements for only the subset needed to fulf

44、il their service. Or system developers may want to document which subset of this International Standard it is that that they have implemented and conform to. These named conformance classes help in specifying such subsets. This International Standard defines conformance classes based on the operatio

45、ns and behaviour that a filter encoding service claims to implement. Table 1 indicates which behaviour shall be implemented for each of the conformance classes. The described behaviour shall be implemented for the corresponding conformance class, and the name of the paragraph of the actual detailed

46、abstract test suite in Annex A. Table 1 FE conformance classes Conformance class name Operation or behaviour Subclause of the abstract test suite Query Service that references this International Standard materializes a concrete query element that is substitutable for fes:AbstractQueryElement. A.1 Ad

47、 hoc Query Service that references this International Standard materializes a concrete query element that is substitutable for fes:AbstractAdhocQueryElement and materializes a concrete selection clause element that is substitutable for fes:AbstractSelectionClause and materializes a concrete projecti

48、on clause element that is substitutable for fes:AbstractProjectionClause and materializes a concrete sorting clause element that is substitutable for fes:AbstractSortingClause. A.2 Functions Implements functions that are in addition to the operators defined in this International Standard. A.3 Resour

49、ce Identification Implements the ResourceId operator with the rid parameter to allow predicates to be written that allow a specific resource to be queried. A.4 Minimum Standard Filter Implements the comparison operators: PropertyIsEqualTo, PropertyIsNotEqualTo, PropertyIsLessThan, PropertyIsGreaterThan, PropertyIsLessThanOrEqualTo, PropertyIsGreaterThanOrEqualTo. Implements the logical operators. Does not implement any additional functions. A.5 Standard Filter Implements all the comparison and logical operators and may implement one or more additional

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 标准规范 > 国际标准 > 其他

copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1