SlideShare ist ein Scribd-Unternehmen logo
1 von 35
Inspire Data Model Browser

Alberto Belussi, Mauro Negri,
Giuseppe Pelagatti
Politecnico di Milano

giuseppe.pelagatti@polimi.it

October 24, 2013
Index
1. General Architecture, derivation from GeoUML tools and state
of the art
2. Inspire Data Model (IDM) and Browser (IDMB):
– IDM rules
– use of IDMB by non-UML expert
– use of IDMB by UML experts for Schema Maintenence
3. Inspire DB and SQL Mapping Generator
– motivation
– comparison with similar approaches/tools
Discussion – how to go on
© 2013 - Pelagatti Giuseppe

2
1) General Architecture
schema in
EAP format

INSPIRE
SCHEMA
LOADER

INSPIRE DATA MODEL
BROWSER (IDMB)
(Inspire Data Specifications)

WFS
Configuration

SQL mapping generator
SQL
Schema

WFS

Source
Databases

SQL
scripts

INSPIRE
DATABASE
(e.g. PostGis)

© 2013 - Pelagatti Giuseppe

GML
datasets

VALIDATOR

3
Derived from GeoUML Tools
6 different
Implementation
Models on
different
technologies:
• SQL,
• Shapefiles,
• GML

Source
Dataset

GeoUML Catalogue
(Data Specification)
Mapping Generator

Physical
Structure

XML Data
Specification (scs format)

GeoUML
Physical
Model Validator

Diagnostic
Information

Reader

© 2013 - Pelagatti Giuseppe

4
Editor and
Constraints

© 2013 - Pelagatti Giuseppe

5
loading
SC.scs
(XML file)
SC, SF,
Mapping
Domains

Data product
(shapefile e DBF)

DB reportistica)
Report Generator

Openjump

(es.IReport)
Database Client

© 2013 - Pelagatti Giuseppe

6
© 2013 - Pelagatti Giuseppe

7
GZ_STR.Posizione (TC) esiste TP_STR.Tracciato

© 2013 - Pelagatti Giuseppe

8
Missing el_str

© 2013 - Pelagatti Giuseppe

9
GeoUML Tools Experience
• Catalogue has been adopted to model the Italian National Core
data specification (legally mandatory for italian public
administrations since 2012): 150 classes and 90 spatial constraints
• Each administration can use the Catalogue (Editor) to extend the
National Core for its specific requirements, provided that the
mandatory content is preserved
• Each administration can choose its own Implementation Model
• Validator has been applied in several productions, some of which
are rather large, e.g.:
– Provincia di Sondrio: 78 municipalities, 3195 km2, 100 classes
and 50 constraints)
– Regione Basilicata: 10000 km2 (full National Core)
© 2013 - Pelagatti Giuseppe

10
GeoUML Tools Experience - 2
• Provincia Autonoma di Trento has financed an
extension to the Validator in order to use it in its
Information System: the Validator can now be invoked
through an API
• Regione Lombardia is using the tools for its Regional
SDI (essentially for transferring local updates to the
central database):
– the interchange format has been defined using the
Catalogue and the ShapeFlat Implementation
Model
– the use of the Validator for checking the quality of
updates is being evaluated
© 2013 - Pelagatti Giuseppe

11
GeoUML Tools Experience - 3
Distribution and downloads:
– Currently only the Catalogue Viewer is distributed to
everybody; the Editor and Validator are distributed
only to public administration
– From the next release (november 2013) these
restrictions will be eliminated
– About 280 (different) downloads of the Viewer (50%
by privates)

© 2013 - Pelagatti Giuseppe

12
2) Inspire Data Model – Main Rules
• Defined in Inspire Generic Conceptual Model and
Referenced Standards
• Rules = Restrictions to generic UML class diagrams
a. Feature Classes cannot be the type of an attribute
b. Datatypes, Codelists and Enumerations cannot be the
Target of a Role
c. Datatype containment cannot be cyclic (including
inheritance)
d. Inheritance Hierarchies are homogeneous in stereotype

© 2013 - Pelagatti Giuseppe

13
Additional Restrictions of the
current Release
Applied in current IDMB to reduce development cost and time
(can be removed)
e. Union stereotypes currently not supported
f. Datatypes, Codelists and Enumerations do not have Multiple
Inheritance
g. If an attribute is of type DT and DT is a datatype having
subdatatypes DT1, DT2, … then DT, DT1, DT2, … cannot
have attributes of type datatype DTX which has subdatatypes
DTX1, DTX2 …
h. limitations on cardinality domain
© 2013 - Pelagatti Giuseppe

14
What data are loaded in IDMB?
• Extracted from Inspire2010-04-26_r937.EAP
• Without:
– Foundation Schemas
– class INSPIRE THEME XX::SpatialObjectWithAName
• some additional <basic types>:
– Spatial types (GM_...) used by Annex 1
– ….
• + Selected ISO Types
– from ISO 00639 Language Codes: <codelist> LanguageCode
– from ISO 19103 Schema Language: Bit, Digit, Sign, StandardUnits,
UnitsList
– from ISO 19115

© 2013 - Pelagatti Giuseppe

15
Few Problems discovered in Loading
• 4 Classes used as Attribute Types (violation of rule (a)):
– Percentage for attributes:
• percentageUnderDesignation of class DesignationType,
• percentageUnderHabitat of class PresentHabitatType,
• percentageOfSiteCoveredByProtectedEntity of class
ProtectedEntityType
– NetworkArea for attribute: officialsiteArea of class ProtectedSite
– LinkSequence for attribute: aggregatedLink of class LRSElement
– Link for attribute: link of class LRSElement
• Cardinality without Role (DirectedLink)
• Roles which are not represented in the EA diagrams (example:
"SpeciesAggregationUnit" in package "Species distribution (Annex III)" has
role "isAggregatedOver" to featuretype "Protected Site” )

© 2013 - Pelagatti Giuseppe

16
IDMB for non-UML experts
• To some extent an answer to the requirement stated in
Florence by Anders Ryden in «Analysis of Inspire DS –
A stepwise approach»
• DEMO (in parallel with EA diagrams):
–
–
–
–

Road,
NetworkProperty,
ProtectedSite (full) – designationvalue,
…

© 2013 - Pelagatti Giuseppe

17
IDMB for design and maintenence of
an Inspire Data Schema
• Control of the IDM rules (EA does not)
• Contribution to understanding of an UML schema developed
in EA:
– different navigation
– Statistics are possible (e.g. how many feature types,
percentage of abstract classes, average depth of
inheritance hierarchies, …)
• Requires the development of the IDM Loader (currently ad
hoc operations) and the elimination of the restrictions of the
current Release
© 2013 - Pelagatti Giuseppe

18
IDMB and INSPIRE MIF

Statistics and
Analysis by
different
navigation

Updates

schema in
EAP format

Errors
(violations of
IDM rules)

INSPIRE
SCHEMA
LOADER

INSPIRE DATA MODEL
BROWSER (IDMB)
(Inspire Data Specifications)

© 2013 - Pelagatti Giuseppe

19
3) Inspire DB, Mapping and WFS
Goals of Inspire DB
– Supporting the implementation of WFS for spatial data
having complex structure (this is the case of INSPIRE
datasets)
– Guaranteeing the satisfaction of integrity constraints by
database content thus ensuring high quality of provided
data
– Possibly improving the performance of spatial queries
and Xlink navigation (WFS 2.0)
– Possibly providing the ability of managing incoming
data through WFS-T service
– being an SQL Reference Implementation
© 2013 - Pelagatti Giuseppe

20
Features of Inspire Database
• Primary key and unique constraints derived from Data Specification are
added to the SQL schema
• Foreign key constraints are also specified in order to deal with referential
integrity of roles and other links among tables. Constraints involving different
tables are handled.
• Cardinality constraints are added in order to check required attributes and
roles.
• Views can possibly be added to obtain the extent of superclasses in hierarchies
• Geometric domains are specialized and constrained in order to guarantee that
the represented geometries have the correct type (POINT, LINESTRING,
POLYGON, …) and the correct coordinate dimension
• Spatial indices are defined on every geometric attribute
• No redundancy is introduced for the representation of a role together with its
corresponding inverse role.
© 2013 - Pelagatti Giuseppe

21
SQL schema generation rules
Main general rules:
• Each class has a reference table (master) with a unique identifier
(ClassID) used for providing the GML:id
• Each atomic property of a class with max cardinality equal to one
(mono-property) is represented in the class reference table; the
same behaviour is adopted for each attribute of a datatype
property of a class, provided that it is mono-property.
• Each atomic or datatype property with max cardinality greater
than one or equal ‘*’ (multi-property) produces an additional
table (slave) having a foreign key (ClassREF) with an integrity
constraint towards the master table.

© 2013 - Pelagatti Giuseppe

22
SQL schema generation rules
Main general rules (cont.):
• Each role with max cardinality greater than one or equal
‘*’ (multi-role) without inverse role or having an inverse
multi-role produces an additional table (slave) having two
foreign keys (ClassREF_0, ClassREF_1) with integrity
constraints towards the master tables.
• Additional views are added to handle the reference to the
features/objects/codes belonging to a hierarchy of feature
classes/datatypes/code lists.

© 2013 - Pelagatti Giuseppe

23
Mapping example on GeoUML
Catalogue

© 2013 - Pelagatti Giuseppe

24
Mapping example on GeoUML
Catalogue

© 2013 - Pelagatti Giuseppe

25
Comparison with database generated
from XSD
(Deegree approach)
• Primary key and unique constraints cannot be always derived from XSD
syntax
• Foreign keys cannot be specified in XSD syntax, thus are not defined in SQL
schema derived from XSD
• Cardinality constraints and domain constraints can be derived from XSD
syntax, but are not always specified in SQL schema.
• Geometric types cannot always be derived from XSD syntax.
• Spatial indices are a possible choice when a geometric attribute is defined,
however schema generators do not always produce them
• Redundancy in role/inverse role implementation cannot be avoided starting
from XSD syntax, since inverse roles are not specified.

© 2013 - Pelagatti Giuseppe

26
Example: a DB generated by deegree
Primary key
completely
useless
no Foreign key
constraint

no Foreign key constraint
and redundancy

no Foreign key constraint and
redundancy
© 2013 - Pelagatti Giuseppe

27
Comparison with GO Loader

PostGIS

© 2013 - Pelagatti Giuseppe

28
Comparison with GO Loader

© 2013 - Pelagatti Giuseppe

29
The Inspire DB as a target for
mapping from existing
production database
The Data producer has to define and implement the SQL
scripts which transfer the data from their Source
Database to the Inspire Database. This could be easier
than directly producing the input to a WFS.

Source
Database

SQL
scripts

© 2013 - Pelagatti Giuseppe

INSPIRE
DATABASE

30
4) How should we go on?
Depends on the answer to the following 3 questions:
1. Do you think that IDMB can be useful for facilitating
the understanding of Inspire DS by non UMLexperts?
2. Do you think that IDMB + Inspire Schema Loader can
be useful for Inspire Schema Maintenence?
3. Do you think that the Mapping Generator and Inspire
Database can be useful for the Inspire Data Producers?
A positive answer to each one of these questions can have
consequences for the prosecution of this project.

© 2013 - Pelagatti Giuseppe

31
IDMB for facilitating the
understanding of Inspire DS by nonUML experts
• Actions (already decided by SpatialDBGroup)
– complete the features of IDMB
– distribute it free

• Problems and Opportunities
– how to provide some kind of certification (formal or not)
– how to disseminate
– use in training?

© 2013 - Pelagatti Giuseppe

32
IDMB + Inspire Schema Loader for
Inspire Schema Maintenence
• Actions
– refine requirements for maintenence (e.g. useful
statistics…)
– produce an usable Inspire Schema Loader

• Problems
– financial support

© 2013 - Pelagatti Giuseppe

33
Mapping Generator and Inspire
Database for the Inspire Data
Producers
• Actions:
– find interested parties (stakeholders)
– define detailed rules for critical aspects
– complete the production of the Schema Generator

• Inspire Data Producers could be also interested in:
– Applying the Validator on the IDM

© 2013 - Pelagatti Giuseppe

34
IDM and Italian National Core:
a Mapping project
• We are studying the possibility/usefulness to support the
mapping between a NC database and the Inspire
database by connecting the GeoUML catalogue and the
IDMB
• If this approach can be useful we will ask financial
support from CISIS (or other interested italian agencies)
for this project

© 2013 - Pelagatti Giuseppe

35

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (8)

Sql and its functions
Sql and its functionsSql and its functions
Sql and its functions
 
UML and Case study
UML and Case study UML and Case study
UML and Case study
 
Case stydy cs701
Case stydy cs701 Case stydy cs701
Case stydy cs701
 
Object Oriented Analysis and Design
Object Oriented Analysis and DesignObject Oriented Analysis and Design
Object Oriented Analysis and Design
 
Seng 123 8-ooad
Seng 123 8-ooadSeng 123 8-ooad
Seng 123 8-ooad
 
Unit 4 designing classes
Unit 4  designing classesUnit 4  designing classes
Unit 4 designing classes
 
L09 The Behavioral Problem
L09 The Behavioral ProblemL09 The Behavioral Problem
L09 The Behavioral Problem
 
Day3
Day3Day3
Day3
 

Andere mochten auch

Para Semana Santa
Para Semana SantaPara Semana Santa
Para Semana Santabelendi
 
Fichas de "Semana Santa" PRIMARIA.
Fichas de "Semana Santa" PRIMARIA.Fichas de "Semana Santa" PRIMARIA.
Fichas de "Semana Santa" PRIMARIA.Marly Rodriguez
 
7 summer solstice2012-a cognitive heuristic model of epidemics
7 summer solstice2012-a cognitive heuristic model of epidemics7 summer solstice2012-a cognitive heuristic model of epidemics
7 summer solstice2012-a cognitive heuristic model of epidemicsAle Cignetti
 
фарадей
фарадейфарадей
фарадейUlanenko
 
Media Evaluation Question 3
Media Evaluation Question 3Media Evaluation Question 3
Media Evaluation Question 3laurentolhurst
 
Costume Ideas
Costume IdeasCostume Ideas
Costume Ideassmdoyle
 
Welcome to organization theory and design
Welcome to organization theory and designWelcome to organization theory and design
Welcome to organization theory and designPrime University
 
Intel SUSE Texperts Webinar
Intel SUSE Texperts WebinarIntel SUSE Texperts Webinar
Intel SUSE Texperts WebinarDirk Oppenkowski
 
Hari konvokesyen222
Hari konvokesyen222Hari konvokesyen222
Hari konvokesyen222syahreena
 
Кто заставляет мир вращаться
Кто заставляет мир вращаться Кто заставляет мир вращаться
Кто заставляет мир вращаться Людмила Авдеева
 
Human capital development
Human capital developmentHuman capital development
Human capital developmentCarlos Duarte
 
Affordable Homes India
Affordable Homes IndiaAffordable Homes India
Affordable Homes Indiashagungoel87
 
Geoportal.lt - inspired by INSPIRE
Geoportal.lt - inspired by INSPIREGeoportal.lt - inspired by INSPIRE
Geoportal.lt - inspired by INSPIREsmespire
 
Revista Business - Talento multigeneracional
Revista Business - Talento multigeneracionalRevista Business - Talento multigeneracional
Revista Business - Talento multigeneracionalHEAD HUNTERS PERÚ
 
Block 4 task 4.6 part 3 (1) ttss
Block 4  task 4.6 part 3 (1) ttssBlock 4  task 4.6 part 3 (1) ttss
Block 4 task 4.6 part 3 (1) ttssTony Perez
 

Andere mochten auch (20)

Para Semana Santa
Para Semana SantaPara Semana Santa
Para Semana Santa
 
Fichas de "Semana Santa" PRIMARIA.
Fichas de "Semana Santa" PRIMARIA.Fichas de "Semana Santa" PRIMARIA.
Fichas de "Semana Santa" PRIMARIA.
 
7 summer solstice2012-a cognitive heuristic model of epidemics
7 summer solstice2012-a cognitive heuristic model of epidemics7 summer solstice2012-a cognitive heuristic model of epidemics
7 summer solstice2012-a cognitive heuristic model of epidemics
 
фарадей
фарадейфарадей
фарадей
 
Media Evaluation Question 3
Media Evaluation Question 3Media Evaluation Question 3
Media Evaluation Question 3
 
Costume Ideas
Costume IdeasCostume Ideas
Costume Ideas
 
Presentation1
Presentation1Presentation1
Presentation1
 
Welcome to organization theory and design
Welcome to organization theory and designWelcome to organization theory and design
Welcome to organization theory and design
 
Spek komputer
Spek komputerSpek komputer
Spek komputer
 
Intel SUSE Texperts Webinar
Intel SUSE Texperts WebinarIntel SUSE Texperts Webinar
Intel SUSE Texperts Webinar
 
Hari konvokesyen222
Hari konvokesyen222Hari konvokesyen222
Hari konvokesyen222
 
Кто заставляет мир вращаться
Кто заставляет мир вращаться Кто заставляет мир вращаться
Кто заставляет мир вращаться
 
Bet-the-Farm User Experience
Bet-the-Farm User ExperienceBet-the-Farm User Experience
Bet-the-Farm User Experience
 
Human capital development
Human capital developmentHuman capital development
Human capital development
 
Trabajo conflicto armado en colombia
Trabajo conflicto armado en colombiaTrabajo conflicto armado en colombia
Trabajo conflicto armado en colombia
 
Affordable Homes India
Affordable Homes IndiaAffordable Homes India
Affordable Homes India
 
Geoportal.lt - inspired by INSPIRE
Geoportal.lt - inspired by INSPIREGeoportal.lt - inspired by INSPIRE
Geoportal.lt - inspired by INSPIRE
 
Revista Business - Talento multigeneracional
Revista Business - Talento multigeneracionalRevista Business - Talento multigeneracional
Revista Business - Talento multigeneracional
 
Block 4 task 4.6 part 3 (1) ttss
Block 4  task 4.6 part 3 (1) ttssBlock 4  task 4.6 part 3 (1) ttss
Block 4 task 4.6 part 3 (1) ttss
 
Whats the point of learning this?
Whats the point of learning this?Whats the point of learning this?
Whats the point of learning this?
 

Ähnlich wie Presentazione jrc 24 ottobre

Top schools in gudgaon
Top schools in gudgaonTop schools in gudgaon
Top schools in gudgaonEdhole.com
 
FIWARE Training: Introduction to Smart Data Models
FIWARE Training: Introduction to Smart Data ModelsFIWARE Training: Introduction to Smart Data Models
FIWARE Training: Introduction to Smart Data ModelsFIWARE
 
spatial data infrastructure : data modelling and web services for data access
spatial data infrastructure : data modelling and web services for data accessspatial data infrastructure : data modelling and web services for data access
spatial data infrastructure : data modelling and web services for data accessDesconnets Jean-Christophe
 
IncQuery_presentation_Incose_EMEA_WSEC.pptx
IncQuery_presentation_Incose_EMEA_WSEC.pptxIncQuery_presentation_Incose_EMEA_WSEC.pptx
IncQuery_presentation_Incose_EMEA_WSEC.pptxIncQuery Labs
 
Database system
Database systemDatabase system
Database systemikjsamuel
 
Database system
Database systemDatabase system
Database systemikjsamuel
 
Database system
Database systemDatabase system
Database systemikjsamuel
 
Database system-DBMS
Database system-DBMSDatabase system-DBMS
Database system-DBMSikjsamuel
 
ISO 15926 Reference Data Engineering Methodology
ISO 15926 Reference Data Engineering MethodologyISO 15926 Reference Data Engineering Methodology
ISO 15926 Reference Data Engineering MethodologyAnatoly Levenchuk
 
Dev Sql Beyond Relational
Dev Sql Beyond RelationalDev Sql Beyond Relational
Dev Sql Beyond Relationalrsnarayanan
 
Unit iii(part a- design process model)
Unit   iii(part a- design process model)Unit   iii(part a- design process model)
Unit iii(part a- design process model)BALAJI A
 
Next-Generation Completeness and Consistency Management in the Digital Threa...
Next-Generation Completeness and Consistency Management in the Digital Threa...Next-Generation Completeness and Consistency Management in the Digital Threa...
Next-Generation Completeness and Consistency Management in the Digital Threa...Ákos Horváth
 
20191126 modulair IFC
20191126 modulair IFC20191126 modulair IFC
20191126 modulair IFCLéon Berlo
 

Ähnlich wie Presentazione jrc 24 ottobre (20)

Top schools in gudgaon
Top schools in gudgaonTop schools in gudgaon
Top schools in gudgaon
 
FIWARE Training: Introduction to Smart Data Models
FIWARE Training: Introduction to Smart Data ModelsFIWARE Training: Introduction to Smart Data Models
FIWARE Training: Introduction to Smart Data Models
 
unit 1.pdf
unit 1.pdfunit 1.pdf
unit 1.pdf
 
toolkit
toolkittoolkit
toolkit
 
spatial data infrastructure : data modelling and web services for data access
spatial data infrastructure : data modelling and web services for data accessspatial data infrastructure : data modelling and web services for data access
spatial data infrastructure : data modelling and web services for data access
 
IncQuery_presentation_Incose_EMEA_WSEC.pptx
IncQuery_presentation_Incose_EMEA_WSEC.pptxIncQuery_presentation_Incose_EMEA_WSEC.pptx
IncQuery_presentation_Incose_EMEA_WSEC.pptx
 
Database system
Database systemDatabase system
Database system
 
Database system
Database systemDatabase system
Database system
 
Data models
Data modelsData models
Data models
 
Database system
Database systemDatabase system
Database system
 
Database system-DBMS
Database system-DBMSDatabase system-DBMS
Database system-DBMS
 
ISO 15926 Reference Data Engineering Methodology
ISO 15926 Reference Data Engineering MethodologyISO 15926 Reference Data Engineering Methodology
ISO 15926 Reference Data Engineering Methodology
 
02 - DatabaseConcepts.pdf
02 - DatabaseConcepts.pdf02 - DatabaseConcepts.pdf
02 - DatabaseConcepts.pdf
 
Dev Sql Beyond Relational
Dev Sql Beyond RelationalDev Sql Beyond Relational
Dev Sql Beyond Relational
 
Architec design introduction
Architec design introductionArchitec design introduction
Architec design introduction
 
Unit ii
Unit ii  Unit ii
Unit ii
 
Unit iii(part a- design process model)
Unit   iii(part a- design process model)Unit   iii(part a- design process model)
Unit iii(part a- design process model)
 
ReqanalysisModel_OL.pdf
ReqanalysisModel_OL.pdfReqanalysisModel_OL.pdf
ReqanalysisModel_OL.pdf
 
Next-Generation Completeness and Consistency Management in the Digital Threa...
Next-Generation Completeness and Consistency Management in the Digital Threa...Next-Generation Completeness and Consistency Management in the Digital Threa...
Next-Generation Completeness and Consistency Management in the Digital Threa...
 
20191126 modulair IFC
20191126 modulair IFC20191126 modulair IFC
20191126 modulair IFC
 

Mehr von smespire

Hackathon - Mapping da National Core a INSPIRE (Hydrography)
Hackathon - Mapping da National Core a INSPIRE (Hydrography)Hackathon - Mapping da National Core a INSPIRE (Hydrography)
Hackathon - Mapping da National Core a INSPIRE (Hydrography)smespire
 
Hackathon esempio di mapping addresses
Hackathon esempio di mapping addressesHackathon esempio di mapping addresses
Hackathon esempio di mapping addressessmespire
 
Hale esempio di mapping di dati istat
Hale esempio di mapping di dati istatHale esempio di mapping di dati istat
Hale esempio di mapping di dati istatsmespire
 
Webinar 2013 12-10-presentazione_jm
Webinar 2013 12-10-presentazione_jmWebinar 2013 12-10-presentazione_jm
Webinar 2013 12-10-presentazione_jmsmespire
 
Webinar 2013 11-21-campanile_esri_italia
Webinar 2013 11-21-campanile_esri_italiaWebinar 2013 11-21-campanile_esri_italia
Webinar 2013 11-21-campanile_esri_italiasmespire
 
Webinar 2013 11-21-sebillo
Webinar 2013 11-21-sebilloWebinar 2013 11-21-sebillo
Webinar 2013 11-21-sebillosmespire
 
Webinar 2013 11-21- FrancoVico
Webinar 2013 11-21- FrancoVicoWebinar 2013 11-21- FrancoVico
Webinar 2013 11-21- FrancoVicosmespire
 
Webinar 20131121 fabio_vinci_esempio_di_mapping_di_dati_istat
Webinar 20131121 fabio_vinci_esempio_di_mapping_di_dati_istatWebinar 20131121 fabio_vinci_esempio_di_mapping_di_dati_istat
Webinar 20131121 fabio_vinci_esempio_di_mapping_di_dati_istatsmespire
 
Webinar 20131023 cisis_rotundo
Webinar 20131023 cisis_rotundoWebinar 20131023 cisis_rotundo
Webinar 20131023 cisis_rotundosmespire
 
Cipolloni webinar231013
Cipolloni webinar231013Cipolloni webinar231013
Cipolloni webinar231013smespire
 
Webinar23ott13 lamma
Webinar23ott13 lammaWebinar23ott13 lamma
Webinar23ott13 lammasmespire
 
Webinar 2013 10-23-premessa
Webinar 2013 10-23-premessaWebinar 2013 10-23-premessa
Webinar 2013 10-23-premessasmespire
 
Leveraging SMEs’ Strenght for INSPIRE
Leveraging SMEs’ Strenght for INSPIRELeveraging SMEs’ Strenght for INSPIRE
Leveraging SMEs’ Strenght for INSPIREsmespire
 
An SME's perspective
An SME's perspectiveAn SME's perspective
An SME's perspectivesmespire
 
Looking at INSPIRE from an Open Source obsessed SME
Looking at INSPIRE from an Open Source obsessed SMELooking at INSPIRE from an Open Source obsessed SME
Looking at INSPIRE from an Open Source obsessed SMEsmespire
 
TEAM: Together Everyone Achieve More
TEAM: Together Everyone Achieve MoreTEAM: Together Everyone Achieve More
TEAM: Together Everyone Achieve Moresmespire
 
Generic Open Source Governance for Governments By the Dutch Provinces
Generic Open Source Governance for Governments By the Dutch ProvincesGeneric Open Source Governance for Governments By the Dutch Provinces
Generic Open Source Governance for Governments By the Dutch Provincessmespire
 
Free webservices for tourism portals
Free webservices for tourism portalsFree webservices for tourism portals
Free webservices for tourism portalssmespire
 
Development of a software tool to automatically produce INSPIRE-compliant data
Development of a software tool to automatically produce INSPIRE-compliant dataDevelopment of a software tool to automatically produce INSPIRE-compliant data
Development of a software tool to automatically produce INSPIRE-compliant datasmespire
 
AED-SICAD AG
AED-SICAD AGAED-SICAD AG
AED-SICAD AGsmespire
 

Mehr von smespire (20)

Hackathon - Mapping da National Core a INSPIRE (Hydrography)
Hackathon - Mapping da National Core a INSPIRE (Hydrography)Hackathon - Mapping da National Core a INSPIRE (Hydrography)
Hackathon - Mapping da National Core a INSPIRE (Hydrography)
 
Hackathon esempio di mapping addresses
Hackathon esempio di mapping addressesHackathon esempio di mapping addresses
Hackathon esempio di mapping addresses
 
Hale esempio di mapping di dati istat
Hale esempio di mapping di dati istatHale esempio di mapping di dati istat
Hale esempio di mapping di dati istat
 
Webinar 2013 12-10-presentazione_jm
Webinar 2013 12-10-presentazione_jmWebinar 2013 12-10-presentazione_jm
Webinar 2013 12-10-presentazione_jm
 
Webinar 2013 11-21-campanile_esri_italia
Webinar 2013 11-21-campanile_esri_italiaWebinar 2013 11-21-campanile_esri_italia
Webinar 2013 11-21-campanile_esri_italia
 
Webinar 2013 11-21-sebillo
Webinar 2013 11-21-sebilloWebinar 2013 11-21-sebillo
Webinar 2013 11-21-sebillo
 
Webinar 2013 11-21- FrancoVico
Webinar 2013 11-21- FrancoVicoWebinar 2013 11-21- FrancoVico
Webinar 2013 11-21- FrancoVico
 
Webinar 20131121 fabio_vinci_esempio_di_mapping_di_dati_istat
Webinar 20131121 fabio_vinci_esempio_di_mapping_di_dati_istatWebinar 20131121 fabio_vinci_esempio_di_mapping_di_dati_istat
Webinar 20131121 fabio_vinci_esempio_di_mapping_di_dati_istat
 
Webinar 20131023 cisis_rotundo
Webinar 20131023 cisis_rotundoWebinar 20131023 cisis_rotundo
Webinar 20131023 cisis_rotundo
 
Cipolloni webinar231013
Cipolloni webinar231013Cipolloni webinar231013
Cipolloni webinar231013
 
Webinar23ott13 lamma
Webinar23ott13 lammaWebinar23ott13 lamma
Webinar23ott13 lamma
 
Webinar 2013 10-23-premessa
Webinar 2013 10-23-premessaWebinar 2013 10-23-premessa
Webinar 2013 10-23-premessa
 
Leveraging SMEs’ Strenght for INSPIRE
Leveraging SMEs’ Strenght for INSPIRELeveraging SMEs’ Strenght for INSPIRE
Leveraging SMEs’ Strenght for INSPIRE
 
An SME's perspective
An SME's perspectiveAn SME's perspective
An SME's perspective
 
Looking at INSPIRE from an Open Source obsessed SME
Looking at INSPIRE from an Open Source obsessed SMELooking at INSPIRE from an Open Source obsessed SME
Looking at INSPIRE from an Open Source obsessed SME
 
TEAM: Together Everyone Achieve More
TEAM: Together Everyone Achieve MoreTEAM: Together Everyone Achieve More
TEAM: Together Everyone Achieve More
 
Generic Open Source Governance for Governments By the Dutch Provinces
Generic Open Source Governance for Governments By the Dutch ProvincesGeneric Open Source Governance for Governments By the Dutch Provinces
Generic Open Source Governance for Governments By the Dutch Provinces
 
Free webservices for tourism portals
Free webservices for tourism portalsFree webservices for tourism portals
Free webservices for tourism portals
 
Development of a software tool to automatically produce INSPIRE-compliant data
Development of a software tool to automatically produce INSPIRE-compliant dataDevelopment of a software tool to automatically produce INSPIRE-compliant data
Development of a software tool to automatically produce INSPIRE-compliant data
 
AED-SICAD AG
AED-SICAD AGAED-SICAD AG
AED-SICAD AG
 

Kürzlich hochgeladen

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 

Kürzlich hochgeladen (20)

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 

Presentazione jrc 24 ottobre

  • 1. Inspire Data Model Browser Alberto Belussi, Mauro Negri, Giuseppe Pelagatti Politecnico di Milano giuseppe.pelagatti@polimi.it October 24, 2013
  • 2. Index 1. General Architecture, derivation from GeoUML tools and state of the art 2. Inspire Data Model (IDM) and Browser (IDMB): – IDM rules – use of IDMB by non-UML expert – use of IDMB by UML experts for Schema Maintenence 3. Inspire DB and SQL Mapping Generator – motivation – comparison with similar approaches/tools Discussion – how to go on © 2013 - Pelagatti Giuseppe 2
  • 3. 1) General Architecture schema in EAP format INSPIRE SCHEMA LOADER INSPIRE DATA MODEL BROWSER (IDMB) (Inspire Data Specifications) WFS Configuration SQL mapping generator SQL Schema WFS Source Databases SQL scripts INSPIRE DATABASE (e.g. PostGis) © 2013 - Pelagatti Giuseppe GML datasets VALIDATOR 3
  • 4. Derived from GeoUML Tools 6 different Implementation Models on different technologies: • SQL, • Shapefiles, • GML Source Dataset GeoUML Catalogue (Data Specification) Mapping Generator Physical Structure XML Data Specification (scs format) GeoUML Physical Model Validator Diagnostic Information Reader © 2013 - Pelagatti Giuseppe 4
  • 5. Editor and Constraints © 2013 - Pelagatti Giuseppe 5
  • 6. loading SC.scs (XML file) SC, SF, Mapping Domains Data product (shapefile e DBF) DB reportistica) Report Generator Openjump (es.IReport) Database Client © 2013 - Pelagatti Giuseppe 6
  • 7. © 2013 - Pelagatti Giuseppe 7
  • 8. GZ_STR.Posizione (TC) esiste TP_STR.Tracciato © 2013 - Pelagatti Giuseppe 8
  • 9. Missing el_str © 2013 - Pelagatti Giuseppe 9
  • 10. GeoUML Tools Experience • Catalogue has been adopted to model the Italian National Core data specification (legally mandatory for italian public administrations since 2012): 150 classes and 90 spatial constraints • Each administration can use the Catalogue (Editor) to extend the National Core for its specific requirements, provided that the mandatory content is preserved • Each administration can choose its own Implementation Model • Validator has been applied in several productions, some of which are rather large, e.g.: – Provincia di Sondrio: 78 municipalities, 3195 km2, 100 classes and 50 constraints) – Regione Basilicata: 10000 km2 (full National Core) © 2013 - Pelagatti Giuseppe 10
  • 11. GeoUML Tools Experience - 2 • Provincia Autonoma di Trento has financed an extension to the Validator in order to use it in its Information System: the Validator can now be invoked through an API • Regione Lombardia is using the tools for its Regional SDI (essentially for transferring local updates to the central database): – the interchange format has been defined using the Catalogue and the ShapeFlat Implementation Model – the use of the Validator for checking the quality of updates is being evaluated © 2013 - Pelagatti Giuseppe 11
  • 12. GeoUML Tools Experience - 3 Distribution and downloads: – Currently only the Catalogue Viewer is distributed to everybody; the Editor and Validator are distributed only to public administration – From the next release (november 2013) these restrictions will be eliminated – About 280 (different) downloads of the Viewer (50% by privates) © 2013 - Pelagatti Giuseppe 12
  • 13. 2) Inspire Data Model – Main Rules • Defined in Inspire Generic Conceptual Model and Referenced Standards • Rules = Restrictions to generic UML class diagrams a. Feature Classes cannot be the type of an attribute b. Datatypes, Codelists and Enumerations cannot be the Target of a Role c. Datatype containment cannot be cyclic (including inheritance) d. Inheritance Hierarchies are homogeneous in stereotype © 2013 - Pelagatti Giuseppe 13
  • 14. Additional Restrictions of the current Release Applied in current IDMB to reduce development cost and time (can be removed) e. Union stereotypes currently not supported f. Datatypes, Codelists and Enumerations do not have Multiple Inheritance g. If an attribute is of type DT and DT is a datatype having subdatatypes DT1, DT2, … then DT, DT1, DT2, … cannot have attributes of type datatype DTX which has subdatatypes DTX1, DTX2 … h. limitations on cardinality domain © 2013 - Pelagatti Giuseppe 14
  • 15. What data are loaded in IDMB? • Extracted from Inspire2010-04-26_r937.EAP • Without: – Foundation Schemas – class INSPIRE THEME XX::SpatialObjectWithAName • some additional <basic types>: – Spatial types (GM_...) used by Annex 1 – …. • + Selected ISO Types – from ISO 00639 Language Codes: <codelist> LanguageCode – from ISO 19103 Schema Language: Bit, Digit, Sign, StandardUnits, UnitsList – from ISO 19115 © 2013 - Pelagatti Giuseppe 15
  • 16. Few Problems discovered in Loading • 4 Classes used as Attribute Types (violation of rule (a)): – Percentage for attributes: • percentageUnderDesignation of class DesignationType, • percentageUnderHabitat of class PresentHabitatType, • percentageOfSiteCoveredByProtectedEntity of class ProtectedEntityType – NetworkArea for attribute: officialsiteArea of class ProtectedSite – LinkSequence for attribute: aggregatedLink of class LRSElement – Link for attribute: link of class LRSElement • Cardinality without Role (DirectedLink) • Roles which are not represented in the EA diagrams (example: "SpeciesAggregationUnit" in package "Species distribution (Annex III)" has role "isAggregatedOver" to featuretype "Protected Site” ) © 2013 - Pelagatti Giuseppe 16
  • 17. IDMB for non-UML experts • To some extent an answer to the requirement stated in Florence by Anders Ryden in «Analysis of Inspire DS – A stepwise approach» • DEMO (in parallel with EA diagrams): – – – – Road, NetworkProperty, ProtectedSite (full) – designationvalue, … © 2013 - Pelagatti Giuseppe 17
  • 18. IDMB for design and maintenence of an Inspire Data Schema • Control of the IDM rules (EA does not) • Contribution to understanding of an UML schema developed in EA: – different navigation – Statistics are possible (e.g. how many feature types, percentage of abstract classes, average depth of inheritance hierarchies, …) • Requires the development of the IDM Loader (currently ad hoc operations) and the elimination of the restrictions of the current Release © 2013 - Pelagatti Giuseppe 18
  • 19. IDMB and INSPIRE MIF Statistics and Analysis by different navigation Updates schema in EAP format Errors (violations of IDM rules) INSPIRE SCHEMA LOADER INSPIRE DATA MODEL BROWSER (IDMB) (Inspire Data Specifications) © 2013 - Pelagatti Giuseppe 19
  • 20. 3) Inspire DB, Mapping and WFS Goals of Inspire DB – Supporting the implementation of WFS for spatial data having complex structure (this is the case of INSPIRE datasets) – Guaranteeing the satisfaction of integrity constraints by database content thus ensuring high quality of provided data – Possibly improving the performance of spatial queries and Xlink navigation (WFS 2.0) – Possibly providing the ability of managing incoming data through WFS-T service – being an SQL Reference Implementation © 2013 - Pelagatti Giuseppe 20
  • 21. Features of Inspire Database • Primary key and unique constraints derived from Data Specification are added to the SQL schema • Foreign key constraints are also specified in order to deal with referential integrity of roles and other links among tables. Constraints involving different tables are handled. • Cardinality constraints are added in order to check required attributes and roles. • Views can possibly be added to obtain the extent of superclasses in hierarchies • Geometric domains are specialized and constrained in order to guarantee that the represented geometries have the correct type (POINT, LINESTRING, POLYGON, …) and the correct coordinate dimension • Spatial indices are defined on every geometric attribute • No redundancy is introduced for the representation of a role together with its corresponding inverse role. © 2013 - Pelagatti Giuseppe 21
  • 22. SQL schema generation rules Main general rules: • Each class has a reference table (master) with a unique identifier (ClassID) used for providing the GML:id • Each atomic property of a class with max cardinality equal to one (mono-property) is represented in the class reference table; the same behaviour is adopted for each attribute of a datatype property of a class, provided that it is mono-property. • Each atomic or datatype property with max cardinality greater than one or equal ‘*’ (multi-property) produces an additional table (slave) having a foreign key (ClassREF) with an integrity constraint towards the master table. © 2013 - Pelagatti Giuseppe 22
  • 23. SQL schema generation rules Main general rules (cont.): • Each role with max cardinality greater than one or equal ‘*’ (multi-role) without inverse role or having an inverse multi-role produces an additional table (slave) having two foreign keys (ClassREF_0, ClassREF_1) with integrity constraints towards the master tables. • Additional views are added to handle the reference to the features/objects/codes belonging to a hierarchy of feature classes/datatypes/code lists. © 2013 - Pelagatti Giuseppe 23
  • 24. Mapping example on GeoUML Catalogue © 2013 - Pelagatti Giuseppe 24
  • 25. Mapping example on GeoUML Catalogue © 2013 - Pelagatti Giuseppe 25
  • 26. Comparison with database generated from XSD (Deegree approach) • Primary key and unique constraints cannot be always derived from XSD syntax • Foreign keys cannot be specified in XSD syntax, thus are not defined in SQL schema derived from XSD • Cardinality constraints and domain constraints can be derived from XSD syntax, but are not always specified in SQL schema. • Geometric types cannot always be derived from XSD syntax. • Spatial indices are a possible choice when a geometric attribute is defined, however schema generators do not always produce them • Redundancy in role/inverse role implementation cannot be avoided starting from XSD syntax, since inverse roles are not specified. © 2013 - Pelagatti Giuseppe 26
  • 27. Example: a DB generated by deegree Primary key completely useless no Foreign key constraint no Foreign key constraint and redundancy no Foreign key constraint and redundancy © 2013 - Pelagatti Giuseppe 27
  • 28. Comparison with GO Loader PostGIS © 2013 - Pelagatti Giuseppe 28
  • 29. Comparison with GO Loader © 2013 - Pelagatti Giuseppe 29
  • 30. The Inspire DB as a target for mapping from existing production database The Data producer has to define and implement the SQL scripts which transfer the data from their Source Database to the Inspire Database. This could be easier than directly producing the input to a WFS. Source Database SQL scripts © 2013 - Pelagatti Giuseppe INSPIRE DATABASE 30
  • 31. 4) How should we go on? Depends on the answer to the following 3 questions: 1. Do you think that IDMB can be useful for facilitating the understanding of Inspire DS by non UMLexperts? 2. Do you think that IDMB + Inspire Schema Loader can be useful for Inspire Schema Maintenence? 3. Do you think that the Mapping Generator and Inspire Database can be useful for the Inspire Data Producers? A positive answer to each one of these questions can have consequences for the prosecution of this project. © 2013 - Pelagatti Giuseppe 31
  • 32. IDMB for facilitating the understanding of Inspire DS by nonUML experts • Actions (already decided by SpatialDBGroup) – complete the features of IDMB – distribute it free • Problems and Opportunities – how to provide some kind of certification (formal or not) – how to disseminate – use in training? © 2013 - Pelagatti Giuseppe 32
  • 33. IDMB + Inspire Schema Loader for Inspire Schema Maintenence • Actions – refine requirements for maintenence (e.g. useful statistics…) – produce an usable Inspire Schema Loader • Problems – financial support © 2013 - Pelagatti Giuseppe 33
  • 34. Mapping Generator and Inspire Database for the Inspire Data Producers • Actions: – find interested parties (stakeholders) – define detailed rules for critical aspects – complete the production of the Schema Generator • Inspire Data Producers could be also interested in: – Applying the Validator on the IDM © 2013 - Pelagatti Giuseppe 34
  • 35. IDM and Italian National Core: a Mapping project • We are studying the possibility/usefulness to support the mapping between a NC database and the Inspire database by connecting the GeoUML catalogue and the IDMB • If this approach can be useful we will ask financial support from CISIS (or other interested italian agencies) for this project © 2013 - Pelagatti Giuseppe 35