Open Geospatial Consortium Submission Date: 2017-03-24 Approval Date: 2017-06-02 Publication Date: 2017-08-16 External identifier of this OGC® document: http://www.opengis.net/doc/standard/infragml/part2/1.0 Internal reference number of this OGC® document:
16-102r2
Version: 1.0 Category: OGC® Encoding Standard Editor: Paul Scarponcini
OGC InfraGML 1.0: Part 2 – LandInfra Facilities and Projects – Encoding Standard Copyright notice Copyright © 2017 Open Geospatial Consortium To obtain additional rights of use, visit http://www.opengeospatial.org/legal/.
Warning This document is an OGC Member approved international standard. This document is available on a royalty free, non-discriminatory basis. Recipients of this document are invited to submit, with their comments, notification of any relevant patent rights of which they are aware and to provide supporting documentation.
Document type: Document subtype: Document stage: Document language:
OGC® Standard Approved English
1 Copyright © 2017 Open Geospatial Consortium
License Agreement Permission is hereby granted by the Open Geospatial Consortium, ("Licensor"), free of charge and subject to the terms set forth below, to any person obtaining a copy of this Intellectual Property and any associated documentation, to deal in the Intellectual Property without restriction (except as set forth below), including without limitation the rights to implement, use, copy, modify, merge, publish, distribute, and/or sublicense copies of the Intellectual Property, and to permit persons to whom the Intellectual Property is furnished to do so, provided that all copyright notices on the intellectual property are retained intact and that each person to whom the Intellectual Property is furnished agrees to the terms of this Agreement. If you modify the Intellectual Property, all copies of the modified Intellectual Property must include, in addition to the above copyright notice, a notice that the Intellectual Property includes modifications that have not been approved or adopted by LICENSOR. THIS LICENSE IS A COPYRIGHT LICENSE ONLY, AND DOES NOT CONVEY ANY RIGHTS UNDER ANY PATENTS THAT MAY BE IN FORCE ANYWHERE IN THE WORLD. THE INTELLECTUAL PROPERTY IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE DO NOT WARRANT THAT THE FUNCTIONS CONTAINED IN THE INTELLECTUAL PROPERTY WILL MEET YOUR REQUIREMENTS OR THAT THE OPERATION OF THE INTELLECTUAL PROPERTY WILL BE UNINTERRUPTED OR ERROR FREE. ANY USE OF THE INTELLECTUAL PROPERTY SHALL BE MADE ENTIRELY AT THE USER’S OWN RISK. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR ANY CONTRIBUTOR OF INTELLECTUAL PROPERTY RIGHTS TO THE INTELLECTUAL PROPERTY BE LIABLE FOR ANY CLAIM, OR ANY DIRECT, SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM ANY ALLEGED INFRINGEMENT OR ANY LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR UNDER ANY OTHER LEGAL THEORY, ARISING OUT OF OR IN CONNECTION WITH THE IMPLEMENTATION, USE, COMMERCIALIZATION OR PERFORMANCE OF THIS INTELLECTUAL PROPERTY. This license is effective until terminated. You may terminate it at any time by destroying the Intellectual Property together with all copies in any form. The license will also terminate if you fail to comply with any term or condition of this Agreement. Except as provided in the following sentence, no such termination of this license shall require the termination of any third party end-user sublicense to the Intellectual Property which is in force as of the date of notice of such termination. In addition, should the Intellectual Property, or the operation of the Intellectual Property, infringe, or in LICENSOR’s sole opinion be likely to infringe, any patent, copyright, trademark or other right of a third party, you agree that LICENSOR, in its sole discretion, may terminate this license without any compensation or liability to you, your licensees or any other party. You agree upon termination of any kind to destroy or cause to be destroyed the Intellectual Property together with all copies in any form, whether held by you or by any third party. Except as contained in this notice, the name of LICENSOR or of any other holder of a copyright in all or part of the Intellectual Property shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Intellectual Property without prior written authorization of LICENSOR or such copyright holder. LICENSOR is and shall at all times be the sole entity that may authorize you or any third party to use certification marks, trademarks or other special designations to indicate compliance with any LICENSOR standards or specifications. This Agreement is governed by the laws of the Commonwealth of Massachusetts. The application to this Agreement of the United Nations Convention on Contracts for the International Sale of Goods is hereby expressly excluded. In the event any provision of this Agreement shall be deemed unenforceable, void or invalid, such provision shall be modified so as to make it valid and enforceable, and as so modified the entire Agreement shall remain in full force and effect. No decision, action or inaction by LICENSOR shall be construed to be a waiver of any rights or remedies available to it.
2 Copyright © 2017 Open Geospatial Consortium
Contents 1.
Scope ........................................................................................................................... 8
2.
Conformance ............................................................................................................... 8
3.
References ................................................................................................................... 9
4.
Terms and Definitions................................................................................................. 9
5.
Conventions ................................................................................................................ 9 5.1
Abbreviations ....................................................................................................... 9
5.2
UML Package and Class Diagrams .................................................................... 10
5.3
Requirements...................................................................................................... 10
6.
InfraGML Parts ......................................................................................................... 11
7.
Requirements Classes for this Part ........................................................................... 13 7.1
7.1.1
Requirement Classes Defined in This Part ................................................. 14
7.1.2
Dependent Requirement Classes Defined in Other Parts ........................... 15
7.1.3
Other Standards upon which the Requirement Classes of this Part Depend 15
7.2
Requirements Class: Facility.............................................................................. 15
7.2.1
Implementation decisions regarding OGC 15-111r1 UML ........................ 15
7.2.2
Specific Requirements for this Requirements Class ................................... 17
7.3
8.
Structural Overview of Requirements Classes ................................................... 13
Requirements Class: Project............................................................................... 18
7.3.1
Implementation decisions regarding OGC 15-111r1 UML ........................ 18
7.3.2
Specific Requirements for this Requirements Class ................................... 19
Media Types for any data encoding(s)...................................................................... 19
Annex A.
Conformance Class Abstract Test Suite (Normative) ................................. 20
A.1
Conformance class: Facility ............................................................................... 20
A.2
Conformance class: Project ................................................................................ 20 3 Copyright © 2017 Open Geospatial Consortium
Annex B.
Sample XML (Informative) ........................................................................ 21
B. 1 Complete Facility and Project XML .................................................................. 21 Annex C.
Revision history .......................................................................................... 24
Annex D.
Bibliography ............................................................................................... 25
4 Copyright © 2017 Open Geospatial Consortium
Figures Figure 1. InfraGML Part Dependencies........................................................................... 12 Figure 2. LandInfra Requirements Classes grouped into InfraGML Parts ...................... 13 Figure 3. Requirements Classes for this Part and their Dependencies ............................ 14 Figure 4. InfraGML Facility Logical Model UML .......................................................... 17
5 Copyright © 2017 Open Geospatial Consortium
i.
Abstract This OGC InfraGML Encoding Standard presents the implementation-dependent, GML encoding of concepts supporting land and civil engineering infrastructure facilities specified in the OGC Land and Infrastructure Conceptual Model Standard (LandInfra), OGC 15-111r1. Conceptual model subject areas include land features, facilities, projects, alignment, road, railway, survey (including equipment, observations, and survey results), land division, and condominiums. InfraGML is published as a multi-part standard. This Part 2 addresses the Facility and Project Requirements Classes from LandInfra.
ii.
Keywords The following are keywords to be used by search engines and document catalogues. OGC document, LandInfra, InfraGML, infrastructure, civil, facility, project
iii.
Preface In order to achieve consensus on the concepts supporting land and civil engineering infrastructure facilities, a UML Conceptual Model, LandInfra, was approved as an OGC standard in August, 2016. This model provides a unifying basis for encodings including but not limited to InfraGML, including similar work in buildingSMART International. It can also provide a framework for discussing how other software standards relate to LandInfra. As an OGC standard, LandInfra follows the OGC modular specification standard, OGC 08-131r3. Because of the breadth of LandInfra, its subject areas are divided into separate Requirements Classes. This InfraGML encoding similarly is divided into Requirements Classes which are then grouped into Parts. A Part may address multiple LandInfra Requirements Classes but each Requirements Class is addressed in a single part. Because Requirements Classes may depend on other Requirements Classes (see LandInfra Figure 1, “Requirements Classes as UML Packages with their dependencies”), the reader of this InfraGML Part may need to conform to Requirements Classes in other Parts as well. Note that this InfraGML encoding standard is a target of LandInfra and therefore this standard conforms to the Requirements Classes in LandInfra. On the other hand, an application claiming conformance to this InfraGML encoding standard must conform to the Requirements Classes contained in this InfraGML standard. There are several reasons for separating InfraGML into Parts. Because they are likely to have separate authors, the rate at which each Part is completed may vary. It would not be advisable to wait until all Parts complete before any can be released as separate OGC standards. Multiple Parts will also allow each subject to have its own standards life cycle. One Part can be updated independent of other Parts, subject to dependency constraints. And of course, it should be easier for the application software developer to only deal with Parts relevant to their application. 6 Copyright © 2017 Open Geospatial Consortium
Attention is drawn to the possibility that some of the elements of this document may be the subject of patent rights. The Open Geospatial Consortium shall not be held responsible for identifying any or all such patent rights. Recipients of this document are requested to submit, with their comments, notification of any relevant patent claims or other intellectual property rights of which they may be aware that might be infringed by any implementation of the standard set forth in this document, and to provide supporting documentation.
iv.
Submitting organizations The following organizations submitted this Document to the Open Geospatial Consortium (OGC): Bentley Systems, Inc. Leica Geosystems Swedish Transport Administration Trimble Inc. Autodesk
v.
Submitters All questions regarding this submission should be directed to the editor or the submitters: Name
Affiliation
Paul Scarponcini, SWG chair
Bentley Systems, Inc.
Hans-Christoph Gruler, SWG co-chair
Leica Geosystems
Peter Axelsson
Swedish Transport Administration
Lars Wikström
Swedish Transport Administration
Leif Granholm
Trimble Inc.
Johnny Jensen
Trimble Inc.
Thomas Liebich
buildingSMART International
Orest Halustchak
Autodesk
7 Copyright © 2017 Open Geospatial Consortium
1. Scope InfraGML is a GML encoding standard of the LandInfra Conceptual Model standard, OGC 15-111r1. InfraGML is provided as a set of individual though inter-dependent Parts, each of which is a GML standard. The overall scope of this InfraGML Encoding Standard is infrastructure facilities and the land on which they are constructed. Also included is the surveying necessary for the setting out and as-built recording of these facilities and land interests. Primarily having a civil engineering point of view, InfraGML is relevant across all life cycle phases of a facility. Subject areas include land features, facilities, projects, alignment, road, railway, survey (including equipment, observations, and survey results), land division, and condominiums. The scope of this Part 2 of InfraGML addresses the following subject area(s): facility and project. Two Requirements Classes, InfraGML Facility and InfraGML Project are included. Both are optional in that an application can conform to InfraGML without supporting either, for example by only supporting the Survey Requirements Classes in Part 6. However, to claim support for Facility, an application must also support the InfraGML Core Requirements Class. To claim support for Project, an application must also support the InfraGML Facility and Core Requirements Classes.
2. Conformance The InfraGML encoding standard defines requirements, grouped into Requirements Classes, for applications which read and write information about infrastructure facilities and the land on which they are constructed, including the surveying necessary for the setting out and as-built recording of these facilities and land interests. The OGC modular specification (OGC 08-131r3) defines “standardization target” as the entity to which requirements of a standard apply. It further notes that the standardization target is the entity which may receive a certificate of conformance for a requirements class. The standardization target type for this standard is therefore: •
software applications which read/write data instances, i.e. XML documents that encode land, infrastructure facility, and survey data for exchange
Conformance with this standard shall be checked using all the relevant tests specified in Annex A (normative) of this document. The framework, concepts, and methodology for testing, and the criteria to be achieved to claim conformance are specified in the OGC Compliance Testing Policies and Procedures and the OGC Compliance Testing web site1.
1 www.opengeospatial.org/cite
8 Copyright © 2017 Open Geospatial Consortium
In order to conform to this OGC encoding standard, a standardization target shall choose to implement the core conformance class and any of the other conformance classes with their dependencies. Conformance classes are based on Requirements Classes which are specified in this and possibly other Parts of the InfraGML standard. All requirements classes and conformance classes described in this document are owned by the standard(s) identified. Note that Conformance Classes for this Part of InfraGML may require conformance with Conformance Classes from other Parts of InfraGML.
3. References The following normative documents contain provisions that, through reference in this text, constitute provisions of this Part of InfraGML. For dated references, subsequent amendments to, or revisions of, any of these publications do not apply. For undated references, the latest edition of the normative document referred to applies. OGC: OGC 07-036, OpenGIS® Geography Markup Language (GML) Encoding Standard, v3.2.1, 2007 OGC: OGC 10-129r1, OGC® Geography Markup Language (GML) — Extended schemas and encoding rules, v3.3, 2012 OGC: OGC 15-111r1, OGC Land and Infrastructure Conceptual Model Standard (LandInfra), v1.0, 2016. OGC: OGC 16-100, OGC InfraGML 1.0: Part 0 – LandInfra Core – Encoding Standard, v1.0, 2017
4. Terms and Definitions This document uses the terms defined in Sub-clause 5.3 of [OGC 06-121r8], which is based on the ISO/IEC Directives, Part 2, Rules for the structure and drafting of International Standards. In particular, the word “shall” (not “must”) is the verb form used to indicate a requirement to be strictly followed to conform to this standard. The LandInfra standard contains a long list of terms and definitions relevant to the scope of InfraGML. As these will not be repeated here, the reader is directed to Clause 4 of LandInfra.
5. Conventions 5.1 Abbreviations In this document the following abbreviations and acronyms are used or introduced: 9 Copyright © 2017 Open Geospatial Consortium
GML
Geography Markup Language
ISO
International Organization for Standardization
OGC
Open Geospatial Consortium
UML
Unified Modeling Language
XML
eXtensible Markup Language
5.2 UML Package and Class Diagrams The LandInfra standard contains UML diagrams for the concepts supported by InfraGML. As these will not be repeated here, the reader is directed to Clause 7 of LandInfra. UML will only appear in InfraGML in the rare cases where LandInfra is extended by InfraGML. 5.3 Requirements When referred to in a Requirement or Requirements Class, the boxes contained in the LandInfra UML figures may all be called “Classes” even if they are data types, enumerations, code lists, unions etc. In most cases, these will be encoded as XML elements in InfraGML. When an InfraGML Requirement states that “A conforming application shall support the [Requirements Class] XML elements listed in Table <n> in accordance with the GML XSD in this standard.”, the XSD was developed to support the UML for the corresponding LandInfra Requirements Class as follows: a) all classes shown as blue boxes for the corresponding LandInfra Requirements Class UML diagrams; b) all attributes, attribute cardinalities, and attribute data types of these classes (usually shown in subsequent diagrams); c) all associations, navigation, roles, and role cardinalities connected to the blue classes; d) all classes shown as beige boxes (another Requirements Class) in the diagrams connected to the blue box classes by association or used as attribute data types; and e) all classes shown as pink boxes (another Standard) in the figure connected to the blue box classes by association or used as attribute data types. Note that, in rare cases, the OGC 15-111r1 UML may be altered. In such cases, the alterations are declared in the first subclause of each Requirements Class, entitled “Implementation decisions regarding OGC 15-111r1 UML”. Logical Model UML diagrams may be included if the implementation constraints of GML (or XML) dictate that the Conceptual Model cannot be implemented directly as shown in OGC 15-111r1. 10 Copyright © 2017 Open Geospatial Consortium
In most cases, the InfraGML XML derived from the LandInfra UML follows the rules in OGC 07-036, GML, Annex E, UML-to-GML application schema encoding rules. The only normative version of the GML XSD (XML schema definition) for all Parts of the InfraGML Encoding Standard is available from the official OGC XML schema repository at http://schemas.opengis.net. Any occurrences of all or part of this XSD contained within this document are to be considered to be informative only. The URI base for the LandInfra Conceptual Model standard is http://www.opengis.net/spec/landinfra/1.0. All URIs of Requirements Classes, Requirements, and Conformance Classes contained in that standard are relative to this base. The URI base for this InfraGML encoding standard is http://www.opengis.net/spec/infragml/part2/1.0. All URIs of Requirements Classes, Requirements, and Conformance Classes contained in this standard are relative to this base.
6. InfraGML Parts The InfraGML encoding standard has been divided into Parts. These Parts enable the grouping of LandInfra subject areas (Requirements Classes) into individual OGC encoding standards. All of these InfraGML encoding standards have a similar name: “OGC 16-10n, OGC® InfraGML 1.0: Part n - <part name> - Encoding Standard”, where Part numbers and names are as follows: n 0 1 2 3 4 5 6 7
<part name> LandInfra Core LandInfra LandFeatures LandInfra Facilities and Projects LandInfra Alignments LandInfra Roads LandInfra Railways LandInfra Survey LandInfra LandDivision
Some InfraGML Parts depend upon other parts:
11 Copyright © 2017 Open Geospatial Consortium
0. Core
1. LandFeatures
4. Roads
2. Facilities and Projects
3. Alignments
6. Survey
7. LandDivision
5. Railways Figure 1. InfraGML Part Dependencies
The boxes above represent InfraGML Parts. Arrows show Part dependencies. The Part dependencies derive from the dependencies of the InfraGML Requirements Classes contained in these Parts. The reader should rely more on the InfraGML Requirements Class dependencies and only use the Part dependencies as a guide for knowing which InfraGML Part standards to consider. InfraGML Parts include the following LandInfra 1.0 Requirements Classes (UML Packages):
12 Copyright © 2017 Open Geospatial Consortium
0
LandInfra
1
2
LandFeature
3
Facility
6
Alignment
Survey
7
LandDivision 7
Condominium 4
2
Road 4
6
Project
6
Equipment SurveyResults Observations 5
RoadCrossSection
6
6
Railway
Sampling
Figure 2. LandInfra Requirements Classes grouped into InfraGML Parts
The boxes above and their names represent LandInfra Requirements Classes. The numbers are InfraGML Part numbers. Dependency arrows shown above are dependencies between LandInfra Requirements Classes.
7. Requirements Classes for this Part 7.1 Structural Overview of Requirements Classes The Requirements Classes for this Part of the InfraGML encoding standard (shown in blue in Figure 3 below) are defined in this Clause 7. Requirements Classes from other Parts upon which this Part’s Requirements Classes are dependent (shown in beige in Figure 3 below) are listed here but defined in the documentation of their respective Parts. External OGC and ISO standards on which Requirements Classes in this Standard depend (shown in pink in Figure 3 below) are also listed. Below is a brief summary of the function of each of these Requirements Classes.
13 Copyright © 2017 Open Geospatial Consortium
pkg Part 2 GML3.2
GML3.3
Core
Facility
Project
Figure 3. Requirements Classes for this Part and their Dependencies
7.1.1 Requirement Classes Defined in This Part Facility Facilities include collections of buildings and civil engineering works and their associated siteworks. The Facilities Requirements Class includes the breakdown of facilities into discipline specific facility parts and introduces the notion of elements which make up these parts. The Facilities Requirements Class only provides general support for facilities themselves, allowing subsequent Requirements Classes to focus on specific types of the parts that make up facilities, such as road and railway. This Requirements Class is optional in order to allow for the condition where all of the InfraGML dataset information is not facility related, such as one containing only survey or land division information. Project A project is an activity related to the improvement of a facility, including design and/or construction. This class may be for the creation, modification, or elimination of the entire facility or a part of the facility. The Project Requirements Class includes information about projects and their decomposition into project parts. In order to allow 14 Copyright © 2017 Open Geospatial Consortium
for the condition where none of the InfraGML dataset information is project related, this Requirements Class is optional. 7.1.2 Dependent Requirement Classes Defined in Other Parts The Requirements Classes defined in this Part are dependent on the following Requirements Classes from other Parts. Part 0. LandInfra Core LandInfra Core is the core Requirements Class and is the only mandatory Requirements Class. This class contains information about the Land and Infrastructure dataset that can contain information about facilities, land features, land division, documents, survey marks, surveys, sets, and feature associations. LandInfra Core also contains the definition of types common across other Requirements Classes, such as the Status CodeList. 7.1.3 Other Standards upon which the Requirement Classes of this Part Depend For external OGC and ISO standards on which Requirements Classes in this Standard depend, a brief summary of the function of each of these Standards is described below. GML 3.2 OGC 07-036, OpenGIS® Geography Markup Language (GML) Encoding Standard, v3.2 provides most of the geometry types (e.g., Point, LineString, Polygon) used for spatial representations in this Standard. Defines Coordinate Reference Systems. Supports the General Feature Model upon which this Standard is based. GML 3.3 OGC 10-129r1, OGC® Geography Markup Language (GML) — Extended schemas and encoding rules, v3.3 defines the linear referencing concepts (e.g., linear element, distance along, Linear Referencing Methods) used for linearly referenced locations in this Standard. 7.2 Requirements Class: Facility Requirements Class /req/facility
Target type Name Dependency Requirement Requirement
Conforming application Facility /req/core (from InfraGML Part 0) /req/facility/elements /req/facility/subtypes
7.2.1 Implementation decisions regarding OGC 15-111r1 UML The following implementation decisions have been made regarding the OGC 15-111r1 Facility Requirements Class UML: 15 Copyright © 2017 Open Geospatial Consortium
1. Element causes problematic multiple inheritance for both PhysicalElement and PositioningElement. Element is therefore not implemented. The aggregation association from FacilityPart to Element therefore becomes an aggregation association from FacilityPart to PhysicalElement. PhysicalElement is made Abstract. The Element.ElementID becomes a more specific ID for the PhysicalElement subtypes (e.g., RoadElement.elementID). 2. In Part 3 Alignment, Alignment is changed from being a subtype of PositioningElement to being a subtype of Feature to allow it to act as a linear element. PositioningElement is no longer needed and is therefore not implemented in InfraGML as it has no purpose or properties. 3. Because the Facility Requirements Class is not dependent upon the Project Requirements Class, the association between Facility::FacilityPart and Project::ProjectPart cannot be implemented in the Facility Requirements Class GML. It is implemented in the Project Requirements Class GML since the Project Requirements Class is dependent upon the Facility Requirements Class. The Logical Model UML is therefore:
16 Copyright © 2017 Open Geospatial Consortium
class FacilityReqClass Bridge LandInfra:: LandInfraDataset «FeatureType» Building 0..*
+feature AnyFeature Drainage
«FeatureType» LandInfra::Feature
Environmental
«FeatureType» Facility
0..*
«FeatureType» Railway::Railway
+part
«FeatureType» Road::Road
«FeatureType» FacilityPart
Site 1..* +facilityPart
Tunnel +relationship
0..*
FacilityPartRelationship +element
Wastewater 0..*
«FeatureType» PhysicalElement
+part 0..*
«CodeList» FacilityPartType
WaterDistribution
+partOf 0..1 OtherFacility
OGC-ASTopic1FeatureGeometry: :Geometry
«CodeList» LandInfra::Status
LandInfra::ID
Figure 4. InfraGML Facility Logical Model UML
7.2.2 Specific Requirements for this Requirements Class
17 Copyright © 2017 Open Geospatial Consortium
Requirement
/req/facility/elements
A conforming application shall support the Facility XML elements listed in Table 1 in accordance with the GML XSD specified in http://schemas.opengis.net/infragml/part2/1.0/facility.xsd. An application conforming to this standard shall support the Facility XML elements listed below in Table 1 in accordance with the GML XSD specified in http://schemas.opengis.net/infragml/part2/1.0/facility.xsd. Facility XML element names are shown with a XML namespace prefix of “lif”. Corresponding LandInfra UML classes are shown with their LandInfra Requirements Class prefix of “Facility”. InfraGML XML element
LandInfra UML Class
lif:Building
Facility::Building
lif:Facility
Facility::Facility
lif:FacilityPart
Facility::FacilityPart
lif:FacilityPartRelationship
Facility::FacilityPartRelationship
lif:PhysicalElement
Facility::PhysicalElement
Table 1. InfraGML Facility XML elements with corresponding LandInfra UML classes
An application conforming to this standard shall specify which of the LandInfra FacilityPart subtypes it supports. Requirement
/req/facility/subtypes
A conforming application shall specify which of the LandInfra FacilityPart subtypes it supports. 7.3 Requirements Class: Project Requirements Class /req/project
Target type Name Dependency Requirement
Conforming application Project /req/facility /req/project/elements
7.3.1 Implementation decisions regarding OGC 15-111r1 UML The following implementation decisions have been made regarding the OGC 15-111r1 LandInfra Requirements Class UML:
18 Copyright © 2017 Open Geospatial Consortium
1. For consistency with the aggregation association between Facility::Facility and Facility::FacilityPart, the composition association between Project::Project and Project::ProjectPart has been implemented as an aggregation association. 7.3.2 Specific Requirements for this Requirements Class Requirement
/req/project/elements
A conforming application shall support the Project XML elements listed in Table 2 in accordance with the GML XSD specified in http://schemas.opengis.net/infragml/part2/1.0/project.xsd. An application conforming to this standard shall support the Project XML elements listed below in Table 2 in accordance with the GML XSD specified in http://schemas.opengis.net/infragml/part2/1.0/project.xsd. Project XML element names are shown with a XML namespace prefix of “lip”. Corresponding LandInfra UML classes are shown with their LandInfra Requirements Class prefix of “Project”. InfraGML XML element
LandInfra UML Class
lip:Project
Project::Project
lip:ProjectPart
Project::ProjectPart
Table 2. InfraGML Project XML elements with corresponding LandInfra UML classes
8. Media Types for any data encoding(s) Data for all Parts of the InfraGML encoding standard is encoded in GML-conformant XML documents. The standard MIME-type and sub-type for GML data should be used to indicate the encoding in internet exchange, as specified in MIME Media Types for GML, namely ‘application/gml+xml’.
19 Copyright © 2017 Open Geospatial Consortium
Annex A. A.1
Conformance Class Abstract Test Suite (Normative)
Conformance class: Facility
/conf/facility
Requirements Dependency Test
/req/facility /conf/core (from InfraGML Part 0) /conf/facility/elements Requirement /req/facility/elements
Test purpose Verify that the conforming application supports the Facility XML elements listed in Table 1 in accordance with the GML XSD specified in http://schemas.opengis.net/infragml/part2/1.0/facility.xsd. Test method Inspect the GML output to verify the above requirement. Test type Capability Test
/conf/facility/subtypes Requirement /req/facility/subtypes
Test purpose Verify that the conforming application specifies which of the LandInfra FacilityPart subtypes it supports. Test method Inspect the application to verify the above requirement is satisfied. Test type Capability A.2
Conformance class: Project
/conf/project
Requirements Dependency Test
/req/project /conf/facility /conf/project/elements Requirement /req/project/elements
Test purpose Verify that the conforming application supports the Project XML elements listed in Table 2 in accordance with the GML XSD specified in http://schemas.opengis.net/infragml/part2/1.0/project.xsd. Test method Inspect the GML output to verify the above requirement. Test type Capability
20 Copyright © 2017 Open Geospatial Consortium
Annex B.
Sample XML (Informative)
The following XML instance document attempts to demonstrate the use of most all of the elements supported by the specified Requirements Class(es), including all optional properties. All values are exemplary only and not intended to represent actual real world instance values. Not all xlink references are resolvable within this document. B. 1
Complete Facility and Project XML
Example from Part2Facility0410.xsd and Part2Project0410.xsd <?xml version="1.0" encoding="UTF-8"?> <LandInfraDataset xmlns="http://www.opengis.net/infragml/core/1.0" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:li="http://www.opengis.net/infragml/core/1.0" xmlns:lif="http://www.opengis.net/infragml/facility/1.0" xmlns:lip="http://www.opengis.net/infragml/project/1.0" xmlns:gmllr="http://www.opengis.net/gml/3.3/lr" gml:id="ds2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/infragml/project/1.0 Part2Project0410.xsd"> <datasetID> <ID> <identifier>DS2</identifier> <scope>OGC LandInfraSWG</scope> </ID> </datasetID> <name>Sample Part2 Dataset</name> <description>LandInfra dataset to test all possible content for Part2 Facilities and Projects</description> <dateTime>2016-12-02T10:00:00</dateTime> <datasetVersion>1.0</datasetVersion> <application>manual</application> <author>Paul Scarponcini, Bentley Systems, Inc.</author> <infraVersion>1.0</infraVersion> <language>English</language> <defaultCRS xlink:href="crs1"/> <feature> <lif:Facility gml:id="f1"> <lif:facilityID> <lif:ID> <identifier>101</identifier> </lif:ID> </lif:facilityID> <lif:type>campus</lif:type> <lif:status xlink:href="http://example.com/status#preliminaryDesigned" xlink:title="Preliminary Designed"/> <lif:footprint xlink:href="poly1" xlink:title="Polygon"> </lif:footprint> <lif:part xlink:href="fp1"></lif:part> <lif:part xlink:href="b1"></lif:part> </lif:Facility> </feature>
21 Copyright © 2017 Open Geospatial Consortium
<feature> <lif:FacilityPart gml:id="fp1"> <lif:facilityPartID> <lif:ID> <identifier>bridge1</identifier> </lif:ID> </lif:facilityPartID> <lif:type xlink:href="http://example.com/facilityPartType#bridge" xlink:title="Bridge"/> <lif:status xlink:href="http://example.com/status#preliminaryDesigned" xlink:title="Preliminary Designed"/> <lif:alternative>Design A</lif:alternative> <lif:relationship> <lif:FacilityPartRelationship gml:id="fpr1"> <lif:relationship>supports</lif:relationship> <lif:description>bridge 1 carries road 1 across the Ob River</lif:description> <lif:facilityPart xlink:href="r1"></lif:facilityPart> </lif:FacilityPartRelationship> </lif:relationship> </lif:FacilityPart> </feature> <feature> <lip:Project gml:id="p1"> <lip:projectID> <lip:ID> <identifier>5A</identifier> </lip:ID> </lip:projectID> <lip:projectStatus xlink:href="http://example.com/projectStatus#inPreliminaryDesign" xlink:title="In Preliminary Design"/> <lip:statusDate>2016-10-01</lip:statusDate> <lip:projectPart xlink:href="pp1"> </lip:projectPart> </lip:Project> </feature> <feature> <lip:ProjectPart gml:id="pp1"> <lip:projectPartID> <lip:ID> <identifier>5A Bridge 1</identifier> </lip:ID> </lip:projectPartID> <lip:alternative>DesignA</lip:alternative> <lip:status xlink:href="http://example.com/projectStatus#inPreliminaryDesign" xlink:title="In Preliminary Design"/> <lip:statusDate>2016-12-10</lip:statusDate> <lip:facilityPart xlink:href="fp1"></lip:facilityPart> </lip:ProjectPart> </feature> <feature> <lif:Building gml:id="b1"> <lif:facilityPartID> <lif:ID> <identifier>Building102</identifier> </lif:ID> </lif:facilityPartID>
22 Copyright © 2017 Open Geospatial Consortium
<lif:type xlink:href="http://example.com/facilityPartType#building" xlink:title="Building"/> <lif:status xlink:href="http://example.com/status#inPlanning" xlink:title="In Planning"/> </lif:Building> </feature> <linearElement> <LinearElement gml:id="le1"> <gmllr:feature> <Feature gml:id="elr1"> <gml:description>Engineering Line of Reference linear element</gml:description> <gml:name>ELR1</gml:name> </Feature> </gmllr:feature> <gmllr:defaultLRM xlink:href="lrm1"> </gmllr:defaultLRM> <gmllr:measure uom="m">1000</gmllr:measure> </LinearElement> </linearElement> <feature> <lif:PhysicalElement gml:id="phye1"> <gml:name>span1</gml:name> <linearlyReferencedLocation> <LinearlyReferencedLocation> <linearAtLocation> <LinearAtLocation> <atPosition> <gmllr:PositionExpression gml:id="pe1"> <gmllr:linearElement xlink:href="le1"></gmllr:linearElement> <gmllr:lrm xlink:href="lrm1"></gmllr:lrm> <gmllr:distanceExpression> <gmllr:DistanceExpression gml:id="de1"> <gmllr:distanceAlong>350</gmllr:distanceAlong> </gmllr:DistanceExpression> </gmllr:distanceExpression> </gmllr:PositionExpression> </atPosition> </LinearAtLocation> </linearAtLocation> </LinearlyReferencedLocation> </linearlyReferencedLocation> <lif:part xlink:href="phye2"></lif:part> </lif:PhysicalElement> </feature> <feature> <lif:PhysicalElement gml:id="phye2"> <gml:name>deck1</gml:name> <lif:partOf xlink:href="phye1"></lif:partOf> </lif:PhysicalElement> </feature> </LandInfraDataset>
23 Copyright © 2017 Open Geospatial Consortium
Annex C.
Date
Release
Revision history
Author
Paragraph modified
Description
20170307 102r1
Scarponcini Figure 2
Dependency changes in Part 6
20170410 102r2
Annex B Paul Scarponcini
Fixed GML striping
24 Copyright © 2017 Open Geospatial Consortium
Annex D.
Bibliography
[1] OGC: OGC 08-131r3 The Specification Model — A Standard for Modular specifications, Open Geospatial Consortium, 2009
25 Copyright © 2017 Open Geospatial Consortium