Presentation is loading. Please wait.

Presentation is loading. Please wait.

ESDI Workshop on Conceptual Schema Languages and Tools

Similar presentations


Presentation on theme: "ESDI Workshop on Conceptual Schema Languages and Tools"— Presentation transcript:

1 ESDI Workshop on Conceptual Schema Languages and Tools
Evaluation of the small subset of EuroRoadS according to ISO Rules for application Schema Morten Borrebæk and Geir Myrind (NMA Norway) Steinar Høseggen (Geomatikk AS and project leader and editor of ISO Rules for Application Schema)

2 ISO 19109 Rules for Application Schemas Scope (1)
This International Standard defines rules for creating and documenting application schemas, including principles for the definition of features. The scope of this International Standard includes the following: conceptual modelling of features and their properties from a universe of discourse; definition of application schemas; use of the conceptual schema language for application schemas; transition from the concepts in the conceptual model to the data types in the application schema; integration of standardized schemas from other ISO geographic information standards with the application schema.

3 ISO 19109 Rules for Application Schemas Scope (2)
The following are outside the scope: choice of one particular conceptual schema language for application schemas; definition of any particular application schema; representation of feature types and their properties in a feature catalogue; representation of metadata; rules for mapping one application schema to another; implementation of the application schema in a computer environment; computer system and application software design; programming.

4 From ’reality’ to geographic data (1)
Reality: phenomena Universe of Discourse subset : perceived in context of geographic application classified into feature types data capture defining 0:n feature instances

5 From ’reality’ to geographic data (2)
Reality: phenomena Universe of Discourse Universe of Discourse subset : perceived in context of Model based on feature types and their properties Conceptual model Feature Catalogue geographic application classified into Conceptual modell expressed by a conceptual schema language Application Schema feature types ISO 19109 data capture defining 0:n Data structured in accordance to the application schema feature instances Data

6 Purpose of General Feature Model (GFM)
The GFM is a model of the concepts required to classify a view of the real world. It is expressed in a CSL, that is in UML class diagrams, but it could be in any CSL. UML has its own model of concepts (metamodel). As both the GFM and the UML metamodel deal with classification, the concepts are very similar. There is one big difference. The concepts in the GFM establish a basis for the classification of features whereas the UML-metamodel provides a basis for classification of any kind.

7 GFM Kernel The GFM is a model of the concepts required to classify a view of the real world

8 ISO 19109 Rules Additional rules for:
using application schemas to build a new application schema application schema in UML adding information to a standard schema use of metadata schema for reporting quality information for instances of data for reporting additional quality information for the use of temporal schema for the use of spatial schema for the use of cataloguing schema for spatial referencing using geographic identifiers

9 Example on a rule 8.3 Rules for application schema in UML
8.3.1 Main rules The main rules for creating application schemas in UML are as follows: Rules: 1) GF_FeatureType: An instance of GF_FeatureType shall be implemented as a CLASS except for Rule 2, case 1 (see GF_AssociationType below). 2) ….. 3) …..

10 ISO 19109 Conformance 1. Scope 2. Conformance .... …
7. Principles for defining features 8. Rules for application schema Annex A Abstract test suite Any application schema claiming conformance to this International Standard shall pass all of the requirements described in the abstract test suites in Annex A. The abstract test suits refers to the rules stated in clause 7 and 8.

11 EuroRoadS subset - abstract
ISO Annex E describes mapping rules from a UML application schema to a GML application schema. These rules presuppose that the UML application schema is conformant to ISO Rules for Application Schema. The EuroRoadS model that is applied in the test is a small subset of the complete model specified in deliverable “D6.3 Specification of Road Network Information Model”. The model applies the concepts of classes (also abstract) , supertypes/subtypes, associations (composition), codelists and enumerations. This constitutes a set of well-known and applied concepts of UML.

12 Error when reading the .mdl file
07:28:02| Loading unit from file C:\CENTC287\ESDI_workshop_CSL\RationalRose\EuroRoadS-submodel.mdl 07:28:04| Error: Petal syntax error at line 2816 near 'category'

13 EuroRoad Subset model:

14 Modelling of attributes
According to the specification of Road Network: to be able to support some of the investigated existing solutions, EuroRoadS supports a model where attributes can be handled separated from the road network features themselves using various network referencing mechanisms. this is a way of adding flexibility to the model since subclasses of ER_RoadAttribute can be added without affecting the existing model. Any piece of information that can be used to characterize an element in the road network is modelled as a class derived from ER_RoadAttribute and therefore attachable to elements in the road network.

15 Modelling of attributes
Clause Main rules, bullet point 4 describes: an instance of GF_AttributeType shall be implemented as an ATTRIBUTE (which means an UML attribute), unless it is an attribute of an attribute [see Rule e)].

16 Modelling of attributes
Clause Main rules, bullet point 5 (e) describes the following: attributeOfAttribute: An instance of GF_AttributeType that acts in the role characterizedBy in an attributeOfAttribute association shall be instantiated as a class. That class shall be used either as the data type of the GF_AttributeType, or in an association with the class that contains the GF_AttributeType. Attributes that act in the role characterizes shall be instantiated as attributes of the class that represents the attribute that acts in the role characterizedBy. step 1: Introduce a new CLASS to represent the attribute that is characterized by other attributes.Use the attribute name as the CLASS name. step 2: If appropriate, insert one ATTRIBUTE in this CLASS to represent the value of the attribute represented by the CLASS. Use the same name as the original attribute name. step 3: Insert additional ATTRIBUTE(s) into this CLASS to represent the attributes that characterize the original ATTRIBUTE. step 4: Use this CLASS as the datatype for the original attribute in the CLASS that contains it, or delete the original attribute from the CLASS that contained it and add an ASSOCIATION from that CLASS to the new CLASS.

17 Human / computer perception
According to the model, all three subtypes of ER_RoadnetElement inherits all the subtypes of ER_RoadAttribute, regardless of the name of the attribute, but is that true?

18 Geometry / topology The ER_RoadnetLink has a geometry attribute GM_Curve, and the ER_RoadNode has the geometry attribute GM_Point. But there is no connection between them. The node does not have to be linked to the road network.

19 Geometry / topology in EuroRoadS
ER_Edge The class ER_Edge derives from the ISO class TP_Edge and adds a reference to the owning ER_RoadnetLink (see below). This makes it possible to define the necessary rules for how topological elements may be connected regarding to type. The edge is a bidirectional and one dimensional topological entity in the network that connects nodes (ER_Node). The edge has a positive and negative direction. According to ISO the positive direction starts in the referenced node with a positive orientation and ends in the referenced node with a negative orientation.

20 Spatial attributes List of valid spatial objects for spatial attributes in an application schema:

21

22


Download ppt "ESDI Workshop on Conceptual Schema Languages and Tools"

Similar presentations


Ads by Google