Conceptual modelling for the management of environmental · PDF file1 Territories,...

142
1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref - CIRAD - ENGREF Conceptual modelling for the Conceptual modelling for the management of environmental data management of environmental data Thérèse LIBOUREL ROUGE [email protected] Professor Montpellier Laboratory of Computer Science, Robotics and Microelectronics CNRS – University of Montpellier 2 METIER Graduate Training Course no. 2 METIER Graduate Training Course no. 2 Montpellier Montpellier - - February 2007 February 2007 Information Management in Environmental Sciences Information Management in Environmental Sciences

Transcript of Conceptual modelling for the management of environmental · PDF file1 Territories,...

Page 1: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

1Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref - CIRAD - ENGREF

Conceptual modelling for the Conceptual modelling for the management of environmental datamanagement of environmental data

Thérèse LIBOUREL [email protected]

ProfessorMontpellier Laboratory of Computer Science, Robotics and Microelectronics

CNRS – University of Montpellier 2

METIER Graduate Training Course no. 2 METIER Graduate Training Course no. 2 –– Montpellier Montpellier -- February 2007February 2007

Information Management in Environmental SciencesInformation Management in Environmental Sciences

Page 2: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

2 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

OverviewOverview

• Introduction

• Object concepts and UML formalism

• Functional model

• Structural model

• Dynamic model

• EIS specificities

• Conclusion and perspectives

Page 3: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

3 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

OverviewOverview

• Introduction

• Object concepts and UML formalism

• Functional model

• Structural model

• Dynamic model

• EIS specificities

• Conclusion and perspectives

Page 4: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

4 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

IntroductionIntroduction

Environmental information systems

Environment

Legislation, policy

Social

Page 5: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

5 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

IntroductionIntroduction

Physical organization of data

Data storage structures

Accelerating structures (index)

Dependent on the data model

Dependent on the DBMSPhysical

model

Dependent on the data model

Independent of the DBMS

Logical

model

Independent of the data model

Independent of the DBMS

Conceptual

model

The real

Page 6: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

6 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

The approach and the modelling are essential

…. for future extensions…. for exchange

A model is a simplification/abstraction of the reality

Constructing models allows us to better understand the systems we are developing …

IntroductionIntroduction

Page 7: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

7 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

IntroductionIntroduction

Why methods?

A necessity: reduce the gaps

The real The computer-based world

• Evolutionary

• Ambiguity

• Codified languages

• Unique semantics

Page 8: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

8 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

The methods = structuring guides

• Decomposition of work

• Organization into stages

• Founding concepts

• Semi-formal representations

Ensure a reproducible approach to obtain reliable results

IntroductionIntroduction

Page 9: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

9 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

An analysis and design method proposes an approach that distinguishes the

development stages of a software’s life cyclebases itself on a representation formalism that

facilitates communication, organization and verification

The modelling languageproduces documents (models) that facilitate feedback

on the design and evolution of applications

To summarize …

IntroductionIntroduction

Page 10: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

10 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

The trend towards EIS

• Systemic methods vs. object methods

• E/R vs. OO data modelling

• From closed formalisms to extensible formalisms (ex. UML)

• From aspatial and atemporal formalisms to formalism with spatialand temporal extension

IntroductionIntroduction

Page 11: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

11 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

• CONGOO [Pantazis and Donnay, 1996]• Geo-ER [Hadzilacos and Tryfona, 1997]• Geo-OM [Tryfona et al., 1997]• GeoOOA with its modelling software [Kösters et al.,

1997]• MADS with its modelling software [Parent et al., 1997]• Modul-R with its modelling software and its automatic

code generator [Bédard and Paquette, 1989; Pageau and Bédard, 1992; Caron et al., 1993; Bédard et al., 1996] …

PERCEPTORY • OMEGA and AIGLE [El Bath, 1997] • POLLEN [Gayte et al., 1997]

IntroductionIntroduction

Page 12: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

12 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

People Project

Product

Process

Tools

Artefact, result

participants

automatization

*

*

*

Keywords

The 4 P’s

Object-oriented approach for projects

IntroductionIntroduction

Page 13: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

13 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

UML: a formal description language

Accepted by the OMG – 1997A unique common language:

A meta-model A less ambiguous language A simple graphical notation,

Comprehensible by non-computer-specialists Allows communication between actors

Has become THE reference for object modelling

IntroductionIntroduction

Page 14: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

14 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

OverviewOverview

• Introduction

• Object concepts and UML formalism

• Functional model

• Structural model

• Dynamic model

• EIS specificities

• Conclusion and perspectives

Page 15: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

15 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

The perception of models The graphical views (diagrams)

Class diagramsObject diagrams

Sequence diagramsCollaboration diagrams

State-transition diagramsActivity diagrams

Use case diagramsComponent diagramsDeployment diagrams

Object concepts and ULM formalismObject concepts and ULM formalism

Page 16: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

16 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

System functions fromthe user’s point of view.

Physicalcomponentsof an application.

Representationof behaviour interms of states.

Static structure of classes and relationships between these classes.

Schemas for installationof components on the hardware mechanisms.

Representation ofoperational behaviourin terms of actions.

Representation of objects,mutual links and potentialinteractions.

Objects and basic relationshipsbetween these objects.

Object concepts and ULM formalismObject concepts and ULM formalism

Page 17: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

17 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Construction structure

Model orientation by use cases

Use cases

Logic Implementation

Processes Deployment

classes/dynamics components

use case + scenarios

scenarios on the componentsconcurrencedistributiontolerance to breakdowns

Components ‘projected’on the hardware

Object concepts and ULM formalismObject concepts and ULM formalism

Page 18: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

18 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

• Descriptive models from the users’ points of view

• Functional scenarios

The manner of using the system

The ‘USE CASEs’

Functional model Functional model

Page 19: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

19 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Two concepts

Actor

Use case

Actor (Producer)

Actor (Decider)

<<communicate>>

<<communicate >>

Displayindicators

Managedata

Functional model Functional model

Page 20: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

20 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Actor (role 1)

Actor (role 2)

‘use’‘extend’

Use cases can be linked by relationships– ‘use’ usage (decomposition)

– ‘extend’ refinements (exceptions processing)

Functional model Functional model

Page 21: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

21 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Diagram of the ‘static context’

system

Actor (role 2)

Actor (role 1)

‘actor’ role

association

0..1

0..1

0..*

Functional model Functional model

Page 22: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

22 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

In UML, the structural or static model is described using two types of diagrams

Class diagramsdescription of all or part of a system in an abstract way, in terms of classes, structure and associations.

Object diagramsdescription of configuration examples of all or part of the system, in terms of objects, values and links.

Structural model Structural model

Page 23: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

23 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Objects in the real world Computer-based objects

Hidden internalstate

Visiblebehaviour

The objects

Structural model Structural model

Page 24: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

24 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Behaviour influences stateState reflects past behaviours

Object

State evolves over time

Behaviour actions and reactions

Identity essence

Structural model Structural model

Page 25: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

25 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Sophie

Alain

System

DB

Luc

: Professor

: Discipline

Two objects orinstances

Structural model Structural model

Page 26: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

26 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Discipline

LabelnbhCoursenbhPracticals

Describe ()Inscribe (e: Student)

Operations and methods

Methods

Implementations

name of the

class

attributes

operations

Structural model Structural model

Page 27: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

27 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Class

Attributes (properties)

Discipline

LabelnbhCoursenbhPracticals

: Discipline

Label =ACOnbhCourse=12nbhPracticals=15

Instance

Attribute values (State)

‘is-instance-of ‘

Structural model Structural model

Page 28: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

28 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Association/Link(analogy Class/Instance)

Discipline Teacher

label name

Is-taught

Association

: Discipline

label=ACO:Teacher

name = Louis

Is-taught

Link

Structural model Structural model

Page 29: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

29 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Association in general is binary (degree = 2) but...

Member copyborrow

ReadingMechanism

read

Association name

Binary association

Ternary association

Structural model Structural model

Page 30: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

30 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Multiplicity and an association’s roles

Company Individual

Nameaddress

nameBirth dateSS no.address

employs

works-for

employer employee

head

worker

staff

* 1..*

1..*

0..1

Structural model Structural model

Page 31: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

31 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Enterprise Individual

nameaddress

namedate of birthaddress

quantity

Possesses-shares

capital shareholder

Association classAssociation class

PossessionLine of

portfolio

* 1..*

Structural model Structural model

Page 32: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

32 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Other ‘abstractions’

• Specific associations (composition/aggregation)

• Specialization/generalization

Structural model Structural model

Page 33: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

33 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Specific association All/part

Title bar B’ground Scroll barBorder

IndicatorTitle Close button Arrow

Window

0..2

2

CompositionStructural model Structural model

Page 34: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

34 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Aggregation

Semantic Collection/Item

Tree

State

Forest1

1..n

Region

Country

1

1..n

1

1..n

Structural model Structural model

Page 35: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

35 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Composition/Aggregation

Constraints

- Exclusivity/Sharing

- Dependence/Independence

Propagation/Distribution

Structural model Structural model

Page 36: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

36 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Generalization/Specialization

Mechanism for intellectual inference of characteristicsEither we refine (specialization)Or we abstract (generalization)

SemanticSet-theoretic point of viewLogical point of view

Structural model Structural model

Page 37: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

37 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Individual

name address

Teacher

grade address

teach

{disjoint}

Student

ID no. address

Generalization/Specialization

Structural model Structural model

Page 38: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

38 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Pump Heat exchanger

Tank

Centrifugal pump

Submersiblepump

Pressure tank

Equipment

...

Type of equipment

...

Type of pump

...

Type of tank

Generalization/SpecializationStructural model Structural model

Page 39: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

39 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Terrestrial vehicle Aquatic vehicle

Car Amphibious vehicle Ship

Vehicle

Multiple generalization/Specialization

Structural model Structural model

Page 40: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

40 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Composition/Aggregation or Generalization/Specialization?

• Aggregation � link between instances�an aggregation tree is composed of objects

that are part of a composite object

• Generalization � link between classes

Structural model Structural model

Page 41: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

41 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

The constraints

• The constraints are predicates, that can apply to several items of the static model, which have to be verified at all times.

• The constraints allow details to be taken into account at a very fine granularity in a class diagram. They can express conditions or restrictions.

• In UML, the constraints are expressed in textual form, between brackets and, preferably, in OCL (Object Constraint Language).

• Constraints are inherited.

Structural model Structural model

Page 42: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

42 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

The constraints

Route

Edge

*

1..*

Individual Committee

presides *1

memberOf**

{subset}

{ordered} Constraint on

association extremity

Constraint between two associations

Structural model Structural model

Page 43: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

43 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

active: Real {value ≥ 0}passive: Real

The constraints

Constraint on class

Individual

head

subordinate

<commands

Company

{ active = passive }

{ Individual.employer =Individual.head.employer }

employer

* 1..* 0..10..1

Constraint on attribute

Constraints on 2 associations

Structural model Structural model

Page 44: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

44 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

• Collaboration diagrams

• Sequence diagrams

• State-transition diagrams

• Activity diagrams (not covered)

Describes interactions between objectsand changes that take place over time

Dynamic model Dynamic model

Page 45: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

45 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Communication

Region

State

message

Country

Collaboration diagram

Dynamic model Dynamic model

Page 46: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

46 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Poitou:Region

France:Country

4: m4

Bretagne:Region

LR:Region

Gard: State

Hérault:StateAude:State

Country

Region

State

….

1:Population()

1.2:Population()

1.3:Population()

1.1:Population()

1.3.1:Population() 1.3.2:Population()

1.3.3:Population()

Dynamic model Dynamic model

Page 47: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

47 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Sequence diagram

B CA

M1

M2

M3

M4

M6

M5

TIME

Dynamic model Dynamic model

Page 48: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

48 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Life line

‘create’

Creation by ‘create’ message

Activation of object thatexecutes an operation op

Destruction by another object

:C1

‘destroy’

op

Dynamic model Dynamic model

Page 49: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

49 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

France Poitou Bretagne LR

t im

e

A H G

Popul()

Popul()

Popul() Popul()

Popul()

Popul()

Popul()

Dynamic model Dynamic model

Page 50: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

50 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Event and State

• State of an object

– values of its attributes and of its links

– over time an object can change state

• Event

– stimulus from an object towards another object

Dynamic model Dynamic model

Page 51: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

51 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Initial

Final

Simple

Complex

Creditor

State name

entry/op1exit/ op2

on evt1/ op3on evt2/ op4do/ activity

At the beginning

At the end

During the event

All the time

Internal activities

Notation of states

Dynamic model Dynamic model

Page 52: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

52 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Notation of arcs

label

label• event(parameters)• [condition]• /action

Dynamic model Dynamic model

Page 53: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

53 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

State diagramsStates of a bank account

Open Close

CreateRequest()

DebtorWe withdraw/premiumsWe deposit/increase balance

Close()

CreditorWe withdraw/debit balanceWe deposit/increase balance

[Balance >=0]

[Balance < 0]

open

Dynamic model Dynamic model

Page 54: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

54 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

OverviewOverview

• Introduction

• Object concepts and UML formalism

• Functional model

• Structural model

• Dynamic model

• EIS specificities

• Conclusion and perspectives

Page 55: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

55 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

EIS specificities

Spatiality

Temporality

Which representations?...

Page 56: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

56 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Taking the geometry into account

Roadname: stringspeed: integer

Create()Display()ChangeSpeed(v)

Line

Point

2..*

0..*

0..1

1

x: realy: real

Highway

EIS specifities EIS specifities

Page 57: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

57 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Representations of space

Euclidean geometry

point (dim 0) line (dim 1) area (dim 2) volume (dim 3)

Segment Point

XY

Has-as-extremities>

0..1 2..2

Is-on: boolean

EIS specifities EIS specifities

Page 58: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

58 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Polyline Point

XY

0..1 2..n

Is-on: boolean

closed

Segment

1..n

0..1

0..1

2..2

{order}

Euclidean geometry

point (dim 0) line (dim 1) area (dim 2) volume (dim 3)

EIS specifities EIS specifities

Page 59: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

59 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Polygon Point

XY

0..1 3..n

Belongs: bool.

Segment

3..n

0..1

2..2

2..2

{order}

Euclidean geometry

point (dim 0) line (dim 1) area (dim 2) volume (dim 3)

EIS specifities EIS specifities

Page 60: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

60 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Polygon Point

XY

0..11..1

Belongs: bool.

Segment

3..n

1..2

0..n

1..1

orientation

0..n

start

end

Euclidean geometry

point (dim 0) line (dim 1) area (dim 2) volume (dim 3)

EIS specifities EIS specifities

Page 61: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

61 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Node Edge

2..2 1..n

Is-linked-to

0..n

delimits

0..n

Representations of space

Graphs

Node, Edge

EIS specifities EIS specifities

Page 62: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

62 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Representations of space

Topology…

EIS specifities EIS specifities

Page 63: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

63 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Representations of space

Topology…

EIS specifities EIS specifities

Page 64: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

64 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Representation of time …

Instant Interval

1 0..n

0..n1

end

start

operators

duration

EIS specifities EIS specifities

Page 65: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

65 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

And the dynamics …

Objects’ life line

Movement

displacement

growth

deformation

Life

creation

stability

destruction

fission fusion

EIS specifities EIS specifities

Page 66: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

66 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Objects’ life line

:Country

:Country

evolution

fission

‘create’

:Country

t im

e

EIS specifities EIS specifities

Page 67: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

67 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

OverviewOverview

• Introduction

• Object concepts and UML formalism

• Functional model

• Structural model

• Dynamic model

• EIS specificities

• Conclusion and perspectives

Page 68: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

68 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Conclusion

Approach having ‘proven’ itself

Example: Aggregative perceptions of the landscape

Landscape Parcel

Type of land use

….

1..*

Landscape unit

surface

Consists of

1..*

combining

[Forest, heath, cultivated area,…]

[Lardon & al., 2000]

Page 69: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

69 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Conclusion

OpenGIS standard

Page 70: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

70 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Perspectives

• Taking the ‘cognitive’ into account

ST pictograms

PVL (Perceptory)

0D 1D 2D …

Mads

Page 71: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

71 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Perspectives

Complex projects

• towards the GIS’s

(geodatabase)

• towards object-oriented DBMS extensions

thematic and spatial integration

Instrumentation: AGL

Page 72: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

1Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref - CIRAD - ENGREF

Conceptual modelling for the Conceptual modelling for the management of environmental datamanagement of environmental data

Thérèse LIBOUREL [email protected]

ProfessorMontpellier Laboratory of Computer Science, Robotics and Microelectronics

CNRS – University of Montpellier 2

METIER Graduate Training Course no. 2 METIER Graduate Training Course no. 2 –– Montpellier Montpellier -- February 2007February 2007

Information Management in Environmental SciencesInformation Management in Environmental Sciences

Page 73: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

2 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

OverviewOverview

• Introduction

• Object concepts and UML formalism

• Functional model

• Structural model

• Dynamic model

• EIS specificities

• Conclusion and perspectives

Page 74: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

3 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

OverviewOverview

• Introduction

• Object concepts and UML formalism

• Functional model

• Structural model

• Dynamic model

• EIS specificities

• Conclusion and perspectives

Page 75: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

4 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

IntroductionIntroduction

Environmental information systems

Environment

Legislation, policy

Social

Page 76: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

5 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

IntroductionIntroduction

Physical organization of data

Data storage structures

Accelerating structures (index)

Dependent on the data model

Dependent on the DBMSPhysical

model

Dependent on the data model

Independent of the DBMS

Logical

model

Independent of the data model

Independent of the DBMS

Conceptual

model

The real

Page 77: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

6 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

The approach and the modelling are essential

…. for future extensions…. for exchange

A model is a simplification/abstraction of the reality

Constructing models allows us to better understand the systems we are developing …

IntroductionIntroduction

Page 78: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

7 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

IntroductionIntroduction

Why methods?

A necessity: reduce the gaps

The real The computer-based world

• Evolutionary

• Ambiguity

• Codified languages

• Unique semantics

Page 79: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

8 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

The methods = structuring guides

• Decomposition of work

• Organization into stages

• Founding concepts

• Semi-formal representations

Ensure a reproducible approach to obtain reliable results

IntroductionIntroduction

Page 80: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

9 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

An analysis and design method proposes an approach that distinguishes the

development stages of a software’s life cyclebases itself on a representation formalism that

facilitates communication, organization and verification

The modelling languageproduces documents (models) that facilitate feedback

on the design and evolution of applications

To summarize …

IntroductionIntroduction

Page 81: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

10 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

The trend towards EIS

• Systemic methods vs. object methods

• E/R vs. OO data modelling

• From closed formalisms to extensible formalisms (ex. UML)

• From aspatial and atemporal formalisms to formalism with spatialand temporal extension

IntroductionIntroduction

Page 82: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

11 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

• CONGOO [Pantazis and Donnay, 1996]• Geo-ER [Hadzilacos and Tryfona, 1997]• Geo-OM [Tryfona et al., 1997]• GeoOOA with its modelling software [Kösters et al.,

1997]• MADS with its modelling software [Parent et al., 1997]• Modul-R with its modelling software and its automatic

code generator [Bédard and Paquette, 1989; Pageau and Bédard, 1992; Caron et al., 1993; Bédard et al., 1996] …

PERCEPTORY • OMEGA and AIGLE [El Bath, 1997] • POLLEN [Gayte et al., 1997]

IntroductionIntroduction

Page 83: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

12 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

People Project

Product

Process

Tools

Artefact, result

participants

automatization

*

*

*

Keywords

The 4 P’s

Object-oriented approach for projects

IntroductionIntroduction

Page 84: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

13 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

UML: a formal description language

Accepted by the OMG – 1997A unique common language:

A meta-model A less ambiguous language A simple graphical notation,

Comprehensible by non-computer-specialists Allows communication between actors

Has become THE reference for object modelling

IntroductionIntroduction

Page 85: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

14 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

OverviewOverview

• Introduction

• Object concepts and UML formalism

• Functional model

• Structural model

• Dynamic model

• EIS specificities

• Conclusion and perspectives

Page 86: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

15 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

The perception of models The graphical views (diagrams)

Class diagramsObject diagrams

Sequence diagramsCollaboration diagrams

State-transition diagramsActivity diagrams

Use case diagramsComponent diagramsDeployment diagrams

Object concepts and ULM formalismObject concepts and ULM formalism

Page 87: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

16 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

System functions fromthe user’s point of view.

Physicalcomponentsof an application.

Representationof behaviour interms of states.

Static structure of classes and relationships between these classes.

Schemas for installationof components on the hardware mechanisms.

Representation ofoperational behaviourin terms of actions.

Representation of objects,mutual links and potentialinteractions.

Objects and basic relationshipsbetween these objects.

Object concepts and ULM formalismObject concepts and ULM formalism

Page 88: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

17 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Construction structure

Model orientation by use cases

Use cases

Logic Implementation

Processes Deployment

classes/dynamics components

use case + scenarios

scenarios on the componentsconcurrencedistributiontolerance to breakdowns

Components ‘projected’on the hardware

Object concepts and ULM formalismObject concepts and ULM formalism

Page 89: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

18 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

• Descriptive models from the users’ points of view

• Functional scenarios

The manner of using the system

The ‘USE CASEs’

Functional model Functional model

Page 90: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

19 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Two concepts

Actor

Use case

Actor (Producer)

Actor (Decider)

<<communicate>>

<<communicate >>

Displayindicators

Managedata

Functional model Functional model

Page 91: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

20 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Actor (role 1)

Actor (role 2)

‘use’‘extend’

Use cases can be linked by relationships– ‘use’ usage (decomposition)

– ‘extend’ refinements (exceptions processing)

Functional model Functional model

Page 92: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

21 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Diagram of the ‘static context’

system

Actor (role 2)

Actor (role 1)

‘actor’ role

association

0..1

0..1

0..*

Functional model Functional model

Page 93: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

22 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

In UML, the structural or static model is described using two types of diagrams

Class diagramsdescription of all or part of a system in an abstract way, in terms of classes, structure and associations.

Object diagramsdescription of configuration examples of all or part of the system, in terms of objects, values and links.

Structural model Structural model

Page 94: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

23 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Objects in the real world Computer-based objects

Hidden internalstate

Visiblebehaviour

The objects

Structural model Structural model

Page 95: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

24 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Behaviour influences stateState reflects past behaviours

Object

State evolves over time

Behaviour actions and reactions

Identity essence

Structural model Structural model

Page 96: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

25 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Sophie

Alain

System

DB

Luc

: Professor

: Discipline

Two objects orinstances

Structural model Structural model

Page 97: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

26 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Discipline

LabelnbhCoursenbhPracticals

Describe ()Inscribe (e: Student)

Operations and methods

Methods

Implementations

name of the

class

attributes

operations

Structural model Structural model

Page 98: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

27 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Class

Attributes (properties)

Discipline

LabelnbhCoursenbhPracticals

: Discipline

Label =ACOnbhCourse=12nbhPracticals=15

Instance

Attribute values (State)

‘is-instance-of ‘

Structural model Structural model

Page 99: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

28 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Association/Link(analogy Class/Instance)

Discipline Teacher

label name

Is-taught

Association

: Discipline

label=ACO:Teacher

name = Louis

Is-taught

Link

Structural model Structural model

Page 100: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

29 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Association in general is binary (degree = 2) but...

Member copyborrow

ReadingMechanism

read

Association name

Binary association

Ternary association

Structural model Structural model

Page 101: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

30 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Multiplicity and an association’s roles

Company Individual

Nameaddress

nameBirth dateSS no.address

employs

works-for

employer employee

head

worker

staff

* 1..*

1..*

0..1

Structural model Structural model

Page 102: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

31 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Enterprise Individual

nameaddress

namedate of birthaddress

quantity

Possesses-shares

capital shareholder

Association classAssociation class

PossessionLine of

portfolio

* 1..*

Structural model Structural model

Page 103: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

32 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Other ‘abstractions’

• Specific associations (composition/aggregation)

• Specialization/generalization

Structural model Structural model

Page 104: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

33 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Specific association All/part

Title bar B’ground Scroll barBorder

IndicatorTitle Close button Arrow

Window

0..2

2

CompositionStructural model Structural model

Page 105: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

34 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Aggregation

Semantic Collection/Item

Tree

State

Forest1

1..n

Region

Country

1

1..n

1

1..n

Structural model Structural model

Page 106: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

35 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Composition/Aggregation

Constraints

- Exclusivity/Sharing

- Dependence/Independence

Propagation/Distribution

Structural model Structural model

Page 107: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

36 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Generalization/Specialization

Mechanism for intellectual inference of characteristicsEither we refine (specialization)Or we abstract (generalization)

SemanticSet-theoretic point of viewLogical point of view

Structural model Structural model

Page 108: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

37 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Individual

name address

Teacher

grade address

teach

{disjoint}

Student

ID no. address

Generalization/Specialization

Structural model Structural model

Page 109: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

38 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Pump Heat exchanger

Tank

Centrifugal pump

Submersiblepump

Pressure tank

Equipment

...

Type of equipment

...

Type of pump

...

Type of tank

Generalization/SpecializationStructural model Structural model

Page 110: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

39 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Terrestrial vehicle Aquatic vehicle

Car Amphibious vehicle Ship

Vehicle

Multiple generalization/Specialization

Structural model Structural model

Page 111: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

40 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Composition/Aggregation or Generalization/Specialization?

• Aggregation � link between instances�an aggregation tree is composed of objects

that are part of a composite object

• Generalization � link between classes

Structural model Structural model

Page 112: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

41 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

The constraints

• The constraints are predicates, that can apply to several items of the static model, which have to be verified at all times.

• The constraints allow details to be taken into account at a very fine granularity in a class diagram. They can express conditions or restrictions.

• In UML, the constraints are expressed in textual form, between brackets and, preferably, in OCL (Object Constraint Language).

• Constraints are inherited.

Structural model Structural model

Page 113: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

42 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

The constraints

Route

Edge

*

1..*

Individual Committee

presides *1

memberOf**

{subset}

{ordered} Constraint on

association extremity

Constraint between two associations

Structural model Structural model

Page 114: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

43 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

active: Real {value ≥ 0}passive: Real

The constraints

Constraint on class

Individual

head

subordinate

<commands

Company

{ active = passive }

{ Individual.employer =Individual.head.employer }

employer

* 1..* 0..10..1

Constraint on attribute

Constraints on 2 associations

Structural model Structural model

Page 115: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

44 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

• Collaboration diagrams

• Sequence diagrams

• State-transition diagrams

• Activity diagrams (not covered)

Describes interactions between objectsand changes that take place over time

Dynamic model Dynamic model

Page 116: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

45 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Communication

Region

State

message

Country

Collaboration diagram

Dynamic model Dynamic model

Page 117: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

46 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Poitou:Region

France:Country

4: m4

Bretagne:Region

LR:Region

Gard: State

Hérault:StateAude:State

Country

Region

State

….

1:Population()

1.2:Population()

1.3:Population()

1.1:Population()

1.3.1:Population() 1.3.2:Population()

1.3.3:Population()

Dynamic model Dynamic model

Page 118: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

47 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Sequence diagram

B CA

M1

M2

M3

M4

M6

M5

TIME

Dynamic model Dynamic model

Page 119: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

48 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Life line

‘create’

Creation by ‘create’ message

Activation of object thatexecutes an operation op

Destruction by another object

:C1

‘destroy’

op

Dynamic model Dynamic model

Page 120: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

49 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

France Poitou Bretagne LR

t im

e

A H G

Popul()

Popul()

Popul() Popul()

Popul()

Popul()

Popul()

Dynamic model Dynamic model

Page 121: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

50 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Event and State

• State of an object

– values of its attributes and of its links

– over time an object can change state

• Event

– stimulus from an object towards another object

Dynamic model Dynamic model

Page 122: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

51 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Initial

Final

Simple

Complex

Creditor

State name

entry/op1exit/ op2

on evt1/ op3on evt2/ op4do/ activity

At the beginning

At the end

During the event

All the time

Internal activities

Notation of states

Dynamic model Dynamic model

Page 123: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

52 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Notation of arcs

label

label• event(parameters)• [condition]• /action

Dynamic model Dynamic model

Page 124: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

53 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

State diagramsStates of a bank account

Open Close

CreateRequest()

DebtorWe withdraw/premiumsWe deposit/increase balance

Close()

CreditorWe withdraw/debit balanceWe deposit/increase balance

[Balance >=0]

[Balance < 0]

open

Dynamic model Dynamic model

Page 125: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

54 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

OverviewOverview

• Introduction

• Object concepts and UML formalism

• Functional model

• Structural model

• Dynamic model

• EIS specificities

• Conclusion and perspectives

Page 126: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

55 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

EIS specificities

Spatiality

Temporality

Which representations?...

Page 127: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

56 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Taking the geometry into account

Roadname: stringspeed: integer

Create()Display()ChangeSpeed(v)

Line

Point

2..*

0..*

0..1

1

x: realy: real

Highway

EIS specifities EIS specifities

Page 128: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

57 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Representations of space

Euclidean geometry

point (dim 0) line (dim 1) area (dim 2) volume (dim 3)

Segment Point

XY

Has-as-extremities>

0..1 2..2

Is-on: boolean

EIS specifities EIS specifities

Page 129: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

58 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Polyline Point

XY

0..1 2..n

Is-on: boolean

closed

Segment

1..n

0..1

0..1

2..2

{order}

Euclidean geometry

point (dim 0) line (dim 1) area (dim 2) volume (dim 3)

EIS specifities EIS specifities

Page 130: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

59 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Polygon Point

XY

0..1 3..n

Belongs: bool.

Segment

3..n

0..1

2..2

2..2

{order}

Euclidean geometry

point (dim 0) line (dim 1) area (dim 2) volume (dim 3)

EIS specifities EIS specifities

Page 131: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

60 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Polygon Point

XY

0..11..1

Belongs: bool.

Segment

3..n

1..2

0..n

1..1

orientation

0..n

start

end

Euclidean geometry

point (dim 0) line (dim 1) area (dim 2) volume (dim 3)

EIS specifities EIS specifities

Page 132: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

61 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Node Edge

2..2 1..n

Is-linked-to

0..n

delimits

0..n

Representations of space

Graphs

Node, Edge

EIS specifities EIS specifities

Page 133: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

62 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Representations of space

Topology…

EIS specifities EIS specifities

Page 134: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

63 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Representations of space

Topology…

EIS specifities EIS specifities

Page 135: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

64 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Representation of time …

Instant Interval

1 0..n

0..n1

end

start

operators

duration

EIS specifities EIS specifities

Page 136: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

65 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

And the dynamics …

Objects’ life line

Movement

displacement

growth

deformation

Life

creation

stability

destruction

fission fusion

EIS specifities EIS specifities

Page 137: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

66 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Objects’ life line

:Country

:Country

evolution

fission

‘create’

:Country

t im

e

EIS specifities EIS specifities

Page 138: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

67 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

OverviewOverview

• Introduction

• Object concepts and UML formalism

• Functional model

• Structural model

• Dynamic model

• EIS specificities

• Conclusion and perspectives

Page 139: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

68 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Conclusion

Approach having ‘proven’ itself

Example: Aggregative perceptions of the landscape

Landscape Parcel

Type of land use

….

1..*

Landscape unit

surface

Consists of

1..*

combining

[Forest, heath, cultivated area,…]

[Lardon & al., 2000]

Page 140: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

69 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Conclusion

OpenGIS standard

Page 141: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

70 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Perspectives

• Taking the ‘cognitive’ into account

ST pictograms

PVL (Perceptory)

0D 1D 2D …

Mads

Page 142: Conceptual modelling for the management of environmental · PDF file1 Territories, Environment, Remote Sensing & Spatial Information Joint Research Unit Cemagref -CIRAD -ENGREF Conceptual

71 / 71

Conceptual modelling Conceptual modelling for for the the management of management of environmental environmental datadata

Perspectives

Complex projects

• towards the GIS’s

(geodatabase)

• towards object-oriented DBMS extensions

thematic and spatial integration

Instrumentation: AGL