INSPIRE-compliant and easy-to-use GeoModel Editor Jan Schulze Althoff Dr. Christine Giger Prof. Dr....

27
INSPIRE-compliant and easy-to-use GeoModel Editor Jan Schulze Althoff Dr. Christine Giger Prof. Dr. Lorenz Hurni

Transcript of INSPIRE-compliant and easy-to-use GeoModel Editor Jan Schulze Althoff Dr. Christine Giger Prof. Dr....

Page 1: INSPIRE-compliant and easy-to-use GeoModel Editor Jan Schulze Althoff Dr. Christine Giger Prof. Dr. Lorenz Hurni.

INSPIRE-compliant andeasy-to-use GeoModel Editor

Jan Schulze AlthoffDr. Christine Giger

Prof. Dr. Lorenz Hurni

Page 2: INSPIRE-compliant and easy-to-use GeoModel Editor Jan Schulze Althoff Dr. Christine Giger Prof. Dr. Lorenz Hurni.

Overview

• About Modelling• HUMBOLDT GeoModel Editor• INSPIRE GeoModel Editor• Linking Enterprise Architect

INSPIRE Conference Edinburgh, 27.6.-1.7.2011, Dr. C. Giger 2

Page 3: INSPIRE-compliant and easy-to-use GeoModel Editor Jan Schulze Althoff Dr. Christine Giger Prof. Dr. Lorenz Hurni.

About Modelling

• Why do we generate data models using a CSL (conceptual schema language), e.g. UML?1. Support of users/thematic experts:

Specify structure and content of the data independent from a specific implementation

2. Facilitate implementation:CSL elements to be used in all interfaces and subsequent processing software, e.g. for data harmonisation

INSPIRE Conference Edinburgh, 27.6.-1.7.2011, Dr. C. Giger 3

Page 4: INSPIRE-compliant and easy-to-use GeoModel Editor Jan Schulze Althoff Dr. Christine Giger Prof. Dr. Lorenz Hurni.

HUMBOLDT Project: Problems in the Modelling Methodology

INSPIRE Conference Edinburgh, 27.6.-1.7.2011, Dr. C. Giger

INSPIRE /ISO

set of

Modelling

Elements

HUMBOLDT set of

Modelling Elements

Interfaces

support all

the

elements

Theory Reality

Software A

supports

subset ASoftware B

supports

subset B

Software C

supports

subset C

Mandatory for

all interfaces

One possible

solution

4

Page 5: INSPIRE-compliant and easy-to-use GeoModel Editor Jan Schulze Althoff Dr. Christine Giger Prof. Dr. Lorenz Hurni.

Small Snippet of UML Metamodel

INSPIRE Conference Edinburgh, 27.6.-1.7.2011, Dr. C. Giger 5

Page 6: INSPIRE-compliant and easy-to-use GeoModel Editor Jan Schulze Althoff Dr. Christine Giger Prof. Dr. Lorenz Hurni.

Why it‘s so huge!

Current Modelling Environment for INSPIRE:•Includes ALL ISO-19xxx packages

– More than 40 Standards– More than 600 Packages– More than 2000 Classes/Types

INSPIRE Conference Edinburgh, 27.6.-1.7.2011, Dr. C. Giger 6

Page 7: INSPIRE-compliant and easy-to-use GeoModel Editor Jan Schulze Althoff Dr. Christine Giger Prof. Dr. Lorenz Hurni.

The HUMBOLDT Metamodel

• Based on concepts of the INTERLIS conceptual schema language (Swiss Standard CSL: experiences from over 20 years of use for >>100 geodata models)

Page 8: INSPIRE-compliant and easy-to-use GeoModel Editor Jan Schulze Althoff Dr. Christine Giger Prof. Dr. Lorenz Hurni.

HUMBOLDT GeoModel Editor

• Process Optimisation for Spatial Modelling (for the HUMBOLDT Project)– Integration of Spatial Types– Differentiation of Data Types and Feature Types– Precise, yet flexible Type System– Limitation of Language Elements

• Tool Optimisation for Spatial Modelling– Specific Tool for HUMBOLDT Project– Integrated Validation– Open Processing Capabilities

INSPIRE Conference Edinburgh, 27.6.-1.7.2011, Dr. C. Giger 8

Page 9: INSPIRE-compliant and easy-to-use GeoModel Editor Jan Schulze Althoff Dr. Christine Giger Prof. Dr. Lorenz Hurni.

INSPIRE Conference Edinburgh, 27.6.-1.7.2011, Dr. C. Giger 9

Page 10: INSPIRE-compliant and easy-to-use GeoModel Editor Jan Schulze Althoff Dr. Christine Giger Prof. Dr. Lorenz Hurni.

HUMBOLDT GeoModel Editor

• Drawbacks & Problems– Not 100% interoperable to

ISO/TC-211 flavored UML• Different Concepts for Data Types• Slight differences in Geometry Types

INSPIRE Conference Edinburgh, 27.6.-1.7.2011, Dr. C. Giger 10

Page 11: INSPIRE-compliant and easy-to-use GeoModel Editor Jan Schulze Althoff Dr. Christine Giger Prof. Dr. Lorenz Hurni.

Idea: INSPIRE GeoModel Editor

• Use technique of HUMBOLDT GeoModel Editor

• Adjust to INSPIRE needs• Check interoperability

• Look at Annex I data specs:– Which elements were really used?

INSPIRE Conference Edinburgh, 27.6.-1.7.2011, Dr. C. Giger 11

Page 12: INSPIRE-compliant and easy-to-use GeoModel Editor Jan Schulze Althoff Dr. Christine Giger Prof. Dr. Lorenz Hurni.

Metamodel of INSPIRE GeoModel Editor based on used Elements in Annex I data specifications

INSPIRE Conference Edinburgh, 27.6.-1.7.2011, Dr. C. Giger 13

Page 13: INSPIRE-compliant and easy-to-use GeoModel Editor Jan Schulze Althoff Dr. Christine Giger Prof. Dr. Lorenz Hurni.

Elements exposed to users

INSPIRE Conference Edinburgh, 27.6.-1.7.2011, Dr. C. Giger 14

Page 14: INSPIRE-compliant and easy-to-use GeoModel Editor Jan Schulze Althoff Dr. Christine Giger Prof. Dr. Lorenz Hurni.

Stereotypes for Attributes/Associations

INSPIRE Conference Edinburgh, 27.6.-1.7.2011, Dr. C. Giger 15

Page 15: INSPIRE-compliant and easy-to-use GeoModel Editor Jan Schulze Althoff Dr. Christine Giger Prof. Dr. Lorenz Hurni.

Hidden Primitive Type for Imports

INSPIRE Conference Edinburgh, 27.6.-1.7.2011, Dr. C. Giger 16

Page 16: INSPIRE-compliant and easy-to-use GeoModel Editor Jan Schulze Althoff Dr. Christine Giger Prof. Dr. Lorenz Hurni.

Snapshot INSPIRE GeoModelEditor- INSPIRE Addresses Model

Page 17: INSPIRE-compliant and easy-to-use GeoModel Editor Jan Schulze Althoff Dr. Christine Giger Prof. Dr. Lorenz Hurni.

• Detail: Snapshot INSPIRE GeoModel Editor– Palette – Context Sensitive Menu only

allows to add valid elements in the concrete context

• in a package only „DataType“, „FeatureType“, „Enumeration“, „CodeList“ and „ApplicationSchema“

• in fact we should also disallow „ApplicationSchema“ as nesting is hard to implement for subsequent processes

Page 18: INSPIRE-compliant and easy-to-use GeoModel Editor Jan Schulze Althoff Dr. Christine Giger Prof. Dr. Lorenz Hurni.

Detail - Snapshot INSPIRE Editor - Context Menu is also working for associations (inheritance, associations, aggregations, compositions or simple text attachments)

Page 19: INSPIRE-compliant and easy-to-use GeoModel Editor Jan Schulze Althoff Dr. Christine Giger Prof. Dr. Lorenz Hurni.

Detail - Snapshot INSPIRE Editor - The predefined simple types from the ISO models can be accessed easily in dropdown menues)

Page 20: INSPIRE-compliant and easy-to-use GeoModel Editor Jan Schulze Althoff Dr. Christine Giger Prof. Dr. Lorenz Hurni.

Detail - Snapshot INSPIRE Editor - The predefined stereotypes for attributes and associations

Page 21: INSPIRE-compliant and easy-to-use GeoModel Editor Jan Schulze Althoff Dr. Christine Giger Prof. Dr. Lorenz Hurni.

Detail - Snapshot INSPIRE Editor - Reuse existing models by importing them into the model (here the AdministrativeUnits model is loaded)

Page 22: INSPIRE-compliant and easy-to-use GeoModel Editor Jan Schulze Althoff Dr. Christine Giger Prof. Dr. Lorenz Hurni.

Problem: Process Chain

Import Enterprise Architect UML for Processing with Eclipse Tools

1. Models are simply too large to be handled2. No real UML Profile is defined3. Enterprise Architect XMI is not directly

compatible with XMI for Eclipse based tools

INSPIRE Conference Edinburgh, 27.6.-1.7.2011, Dr. C. Giger 27

Page 23: INSPIRE-compliant and easy-to-use GeoModel Editor Jan Schulze Althoff Dr. Christine Giger Prof. Dr. Lorenz Hurni.

The Integration – Step 1From Enterprise Architect to Eclipse

INSPIRE Conference Edinburgh, 27.6.-1.7.2011, Dr. C. Giger 31

Page 24: INSPIRE-compliant and easy-to-use GeoModel Editor Jan Schulze Althoff Dr. Christine Giger Prof. Dr. Lorenz Hurni.

The Integration – Step 2From Eclipse UML to Inspire Editor

• Model-to-Model Transformation using Eclipse– UML::Package -> INSPIRE::Package

• <<ApplicationSchema>> -> INSPIRE::ApplicationSchema

– UML::Class• <<FeatureType>> -> INSPIRE::FeatureType• <<DataType>> -> INSPIRE::DataType• <<Enumeration>> -> INSPIRE::Enumeration• <<CodeList>> -> INSPIRE::CodeList

INSPIRE Conference Edinburgh, 27.6.-1.7.2011, Dr. C. Giger 32

Page 25: INSPIRE-compliant and easy-to-use GeoModel Editor Jan Schulze Althoff Dr. Christine Giger Prof. Dr. Lorenz Hurni.

Other open Issues

•INSPIRE GeoModel Editor– Work on Model Validation– Include the basic Imports– Enhance Graphics

INSPIRE Conference Edinburgh, 27.6.-1.7.2011, Dr. C. Giger 33

Page 26: INSPIRE-compliant and easy-to-use GeoModel Editor Jan Schulze Althoff Dr. Christine Giger Prof. Dr. Lorenz Hurni.

Conclusions• Was the effort of creating an “INSPIRE GeoModel Editor”

worthwhile?Answer: yes, because1. Support of users/thematic experts:

1. Enterprise Architect with full ISO stereotyping: ?2. HUMBOLDT/INSPIRE GeoModel Editor: easier to use!

2. Facilitate implementation:1. HUMBOLDT/INSPIRE GeoModel Editor: YES!

– Interfaces can easily be generated– Subsequent processing can be supported without any information loss

2. Enterprise Architect with full ISO stereotyping:all interfaces to be generated or direct links encounter the same or even more complexity as we did, when trying to link the two editors

➡ Consequence: nobody uses the UML definition!➡ Instead: the GML definition is used!

This is a fundamental information loss!All the original advantages of the (ISO-based AND IT mainstream) model-driven approach are lost

INSPIRE Conference Edinburgh, 27.6.-1.7.2011, Dr. C. Giger 36

Page 27: INSPIRE-compliant and easy-to-use GeoModel Editor Jan Schulze Althoff Dr. Christine Giger Prof. Dr. Lorenz Hurni.

Some last aspects:

• The work on the HUMBOLDT and INSPIRE GeoModel Editors was carried out in the HUMBOLDT project (6th Framework Programme, www.esdi-humboldt.eu)

• HUMBOLDT and INSPIRE GeoModel Editors are specified on the ECLIPSE Framework

• The PDF Version contains more slides/additional details

INSPIRE Conference Edinburgh, 27.6.-1.7.2011, Dr. C. Giger 37