Skip to content

Latest commit

 

History

History
69 lines (40 loc) · 2.69 KB

TransformationRules.md

File metadata and controls

69 lines (40 loc) · 2.69 KB

Model Transformations

Introduction

The intent of this document is to describe multiple model transformation methods. These methods reduce complexity in encoded INSPIRE data, e.g. by reducing levels of aggregation, indirect referencing, using simple geometries and flattening structures such as arrays. As with alternate encodings, they have different objectives and scopes. A rule may be used with any number of encodings, including the default encoding, if applicable.

An Alternate encoding may refer to any number of such model transformation rules in its conformance classes. For this purpose, each model transformation rules receives a unique identifier. For an Alternate encoding to be the sole encoding, there may not be any information loss for the particular data set in question.

Requirements for Model Transformations

We describe each Model Transformation by using these properties:

  • Name
  • Unique Identifier
  • Description
  • Original vs. Transformed UML Model, where applicable
  • Original instance in default encoding
  • Transformed instance in default encoding, where applicable
  • Model Transformation Rule
  • Instance Transformation Rule
  • Solved Data Usability issues
  • Open/new Data Usability issues
  • INSPIRE compliance conditions and reversability
  • Examples of use (Links to issues in the 2017.2 repository)
  • Additional notes and enhancements

Catalogue of simplifying Model Transformations

This section contains a selection of examples for model transformations we have identified so far.

The catalogue also contains several substitution rules, where existing types such as GeographicName are replaced with less complex types. These types are added to the theme namespaces under draft schemas (https://inspire.ec.europa.eu/draft-schemas/).

MT001: Flattening of nested structures

General Flattening of nested structures

MT002: Extract Primitive Arrays

Extract Primitive Array

MT003: Association/Aggregation to Composition with Hard Typing

Association/Aggregation to Composition with Hard Typing

MT004: Association/Aggregation to Composition with Soft Typing

Association/Aggregation to Composition with Soft Typing

MT006: Property Composition to Association

Property Composition to Association

MT005: Simple Geographic Name

Simple Geographic Name

MT007: Simple Citation

Simple Citation

MT008: Simple Codelist Reference

Simple Codelist Reference

MT009: Simple Period

Simple Period