1 CSL Workshop, October 13-14, 2005 From Model to Data Transformation – One approach Mapping TeleAtlas Data to EuroRoadS Anders Friis-Christensen, JRC.

Slides:



Advertisements
Similar presentations
DataXtend 8.4 and Beyond Tomáš Kučera Principal Solution Architect November 11, 2009.
Advertisements

1 CSL Workshop, October 13-14, 2005 ESDI Workshop on Conceptual Schema Language and Tools - Aim, Scope, and Issues to be Addressed Anders Friis-Christensen,
Modelling the spatial data of Hellenic Cadastre and generating the geodatabase schema Aris Sismanidis ARISTOTLE UNIVERSITY OF THESSALONIKI FACULTY OF ENGINEERING.
IBM Software Group © 2005 IBM Corporation University of Nantes Eclipse dayMarch 2005 The Eclipse Modeling Framework and the IBM Model Transformation Framework.
Framework for Model Creation and Generation of Representations DDI Lifecycle Moving Forward.
MTEI Methods & Tools for Enterprise Integration
® Eurostep.ESUKPC v0.1©Copyright Eurostep Limited An Introduction to ISO STEP Part 25 David Price.
Basic Concepts The Unified Modeling Language (UML) SYSC System Analysis and Design.
Overview of Mini-Edit and other Tools Access DB Oracle DB You Need to Send Entries From Your Std To the Registry You Need to Get Back Updated Entries From.
ALKIS-ATKIS modelling using ISO standards Workshop “Standards in action” – Lisbon – Clemens Portele interactive instruments GmbH Trierer.
Faculty of Informatics and Information Technologies Slovak University of Technology Peter Kajsa and Ľubomír Majtás Design.
National Survey and Cadastre – Denmark Conceptual Modeling of Geographic Databases - Emphasis on Relationships among Geographic Databases Anders Friis-Christensen.
Implementation of ISO Encoding Joint Nordic Implementation project Morten Borrebæk Norwegian Mapping Authority,
Why XML ? Problems with HTML HTML design - HTML is intended for presentation of information as Web pages. - HTML contains a fixed set of markup tags. This.
GEODATABASE Lower Adirondack GIS Users Group Meeting March 2, 2005 Lower Adirondack GIS Users Group Meeting March 2, 2005.
Introduction to XML. XML - Connectivity is Key Need for customized page layout – e.g. filter to display only recent data Downloadable product comparisons.
XML BIS4430 – unit 10. XML Origins Extensible Markup Language (XML) 1998 Inspired by Standard Generalized Markup Language (SGML) and HTML. SGML defines.
David Blasby The Open Planning Project New York. Goals Explain what a WFS and WMS are, and when to use them Be able to create simple spatial web applications.
Introduction to MDA (Model Driven Architecture) CYT.
European Spatial Data Infrastructure Conceptual Schema Language workshop Summary INSPIRE – EuroSDR – CEN/TC 287 WG SDI 13 and 14 Oct 2005, JRC, Ispra,
What is MOF? The Meta Object Facility (MOF) specification provides a set of CORBA interfaces that can be used to define and manipulate a set of interoperable.
EuroRoadS for JRC Workshop Lars Wikström, Triona Editor of EuroRoadS deliverables D6.3, D6.6, D6.7.
XML A web enabled data description language 4/22/2001 By Mark Lawson & Edward Ryan L’Herault.
INSPIRE-compliant and easy-to-use GeoModel Editor Jan Schulze Althoff Dr. Christine Giger Prof. Dr. Lorenz Hurni.
IBM Software Group ® Overview of SA and RSA Integration John Jessup June 1, 2012 Slides from Kevin Cornell December 2008 Have been reused in this presentation.
Ernest Micklei, PhilemonWorks.com UMLX: a pragmatic solution to documenting design Ernest Micklei
XASTRO-2 Overview Presentation CCSDS SAWG Athens Meeting 12 th April 2005.
Mapping the IntesaGIS model to the EuroRoads model Alberto Belussi Università di Verona Giuseppe Pelagatti, Mauro Negri Politecnico di Milano ESDI Workshop.
Accessing Data Using XML CHAPTER NINE Matakuliah: T0063 – Pemrograman Visual Tahun: 2009.
Dr. Darius Silingas | No Magic, Inc. Domain-Specific Profiles for Your UML Tool Building DSL Environments with MagicDraw UML.
1/19 Oct 05 Standardization unit DT.TN/ Content Management using the ISO/TC 211 standards ESDI Workshop on CSL and Tools (on.
XML Steve Fisher/RAL. 20 October 2000XML - Steve Fisher/RAL2 Warning Information may not be all completely up to date.
From Model Interoperability to Data Transformation Steve Grise ESRI.
The Unified Modeling Language (UML)
ESDI Workshop on Conceptual Schema Languages and Tools
MDD approach for the Design of Context-Aware Applications.
Web Technologies Lecture 4 XML and XHTML. XML Extensible Markup Language Set of rules for encoding a document in a format readable – By humans, and –
Dictionary based interchanges for iSURF -An Interoperability Service Utility for Collaborative Supply Chain Planning across Multiple Domains David Webber.
Mapping your business Du domaine métier à l'informatique Mapping your business The Model Driven Approach Jeff Konnen FME User Conference September 22nd.
® A Proposed UML Profile For EXPRESS David Price Seattle ISO STEP Meeting October 2004.
When we create.rtf document apart from saving the actual info the tool saves additional info like start of a paragraph, bold, size of the font.. Etc. This.
Transfer of UML models between Rational Rose and Argo using XMI. Experience from Norway. ESDI Workshop on Conceptual Schema Languages and Tools Morten.
All Presentation Material Copyright Eurostep Group AB ® A Meta-model of EXPRESS in UML for MOF and UML to EXPRESS David Price April 2002.
The European Organisation for the Safety of Air Navigation AIXM UML to XSD AIXM XML Developers' Seminar.
BI Practice March-2006 COGNOS 8BI TOOLS COGNOS 8 Framework Manager TATA CONSULTANCY SERVICES SEEPZ, Mumbai.
AIXM 5 UML Modelling Conventions. AIXM is GML AIXM is an XML exchange standard based on a subset of GML. Essentially: –AIXM Features are GML features.
Testing INSPIRE data specifications Anders Östman Imad Abugessaisa Xin He
Serving society Stimulating innovation Supporting legislation Proposal for a new MIWP action on GML-related aspects Michael Lutz MIG-T.
XASTRO-2 Presentation CCSDS SAWG th November 2004.
1. 2 Purpose of This Presentation ◆ To explain how spacecraft can be virtualized by using a standard modeling method; ◆ To introduce the basic concept.
The Finnish ‘DigiRoad’ Dataset in EuroRoadS Schema Lassi Lehto Finnish Geodetic Institute.
System Requirements - Data Geog 469 GIS Workshop.
Semantic Interoperability in GIS N. L. Sarda Suman Somavarapu.
Jackson, Web Technologies: A Computer Science Perspective, © 2007 Prentice-Hall, Inc. All rights reserved Chapter 7 Representing Web Data:
CHAPTER NINE Accessing Data Using XML. McGraw Hill/Irwin ©2002 by The McGraw-Hill Companies, Inc. All rights reserved Introduction The eXtensible.
CDDA data model according INSPIRE Protected sites specification Tools used in the project.
Guidelines to Excel “Matching tables” Morten Borrebæk, Norwegian Mapping Authority Thomas Ellett, Norwegian Mapping Authority Brussels,
® IBM Software Group © 2009 IBM Corporation Viewpoints and Views in SysML Dr Graham Bleakley
Semantic metadata in the Catalogue Frédéric Houbie.
Mechanisms for Requirements Driven Component Selection and Design Automation 최경석.
Introduction In modern age Geographic Information systems (GIS) has emerged as one of the powerful means to efficiently manage and integrate numerous types.
OGP Seabed Survey Data Model (SSDM)
AIXM 5 UML to XSD.
Database Design Concepts and Practices
Lower Adirondack GIS Users Group Meeting March 2, 2005
Constructing MDA-based Application Using Rational XDE for .NET
Automating and Validating Edits
AIXM 5 UML Modelling Conventions
Kendall Demaree AREVA T&D Inc. CIMug – Tools Breakout June 12, 2008
SDMX IT Tools SDMX Registry
Presentation transcript:

1 CSL Workshop, October 13-14, 2005 From Model to Data Transformation – One approach Mapping TeleAtlas Data to EuroRoadS Anders Friis-Christensen, JRC

2 CSL Workshop, October 13-14, 2005 From Model to Data Transformation Outline: Model –EuroRoadS subset XMI/GML –Visio -> XMI -> Rational / EA -> –XMI -> GML schema –TeleAtlas Road data (shape) -> GML (+schema) Model transformation –EuroRoads GML TeleAtlas GML XSL Data Transformation –XSLT –Population of data Verification of data

3 CSL Workshop, October 13-14, 2005 Creating EuroRoadS subset A subset of the network exchange model The network model is a common base for roads Including: –Attributes (modeled as abstract classes) –Geometry (GML data types) No topology No routing info

4 CSL Workshop, October 13-14, 2005

5

6 XMI Generation from Visio Use of Microsoft XMIExport.dll –Invoked by ESRI add-on or by Lars Vikstroms application Produces non-valid XMI supposedly based on UML 1.1 –Several errors: Newline in empty tags, more than 400 errors (only in XML spy 2004, error in parser) Undefined references (associations ends and generalization) –Must be an error in the model, old references not deleted properly by Visio Newline in empty tag not allowed. Changed 198 places. Newline in empty tag not allowed. Changed 192 places. Newline in empty tag not allowed. Changed 4 places. Undefined references: line 5901: <- deleted line 6054: <- deleted line 12659: <- deleted

7 CSL Workshop, October 13-14, 2005 XMI Import (Based on Visio export) Rational Rose –Does not read UML 1.1 XMI –Possible workarounds?? Enterprise Architect –Based on OMG UML 1.1 XMI 1.0 dtd, success on import –However, several errors. E.g.: Generalizations not imported Enumerations not imported Association multiplicity not imported

8 CSL Workshop, October 13-14, 2005 XMI Import (Based on Visio export) ArgoUML 0.18: –Possible to import XMI –Errors: Multiplicities not imported –Export UML 1.3 XMI 1.0 (without multiplicities) Rational Rose: –Import new XMI possible –No import of enumerations Enterprise Architect: –Same as RR As a curiosity: ArgoUML cannot read its own import if it is saved as a project. The XMI parsing fails.

9 CSL Workshop, October 13-14, 2005 XMI – Issues Conclusion: –Microsoft Visio is not interoperable (choose another software for UML, if it is foreseen that exchange of models is required) –Various vendors of XML editors/importers have errors in their parsers which complicates the process of validating XMI –Tools do not support same versions of XMI –Tools interpret XMI in different ways –It is very difficult to validate the content of the XMI, i.e. if the model imported is correct even though the XMI is validated. Report John Herring (communicated by Morten) –EA problem with RR XMI: It does not import data types > (see also the example EA diagram that was send to you It does not see realization ("inheritance" from interfaces and types) in the same way as Rose. It transforms those into a type of dependency

10 CSL Workshop, October 13-14, 2005

11 CSL Workshop, October 13-14, 2005 Prepare Sub-set Model in RR to support GML Creation of GML schemas is done by ShapeChange tool (Interactive Instruments): –Converts XMI 1.0 to GML and 3.1 (3.1.1?) –Other XMI than export from RR?? Experiments from EA (Clemens) ShapeChange put different requirements on the UML model (and hence the resulting XMI)

12 CSL Workshop, October 13-14, 2005 Prepare Sub-set Model in RR to support GML Multiple inheritance: ER_RoadnetElement inherited directly from both ER_RoadFeature and ER_IdentifiableObject

13 CSL Workshop, October 13-14, 2005 Prepare Sub-set Model in RR to support GML Two associations between ER_RoadAttribute and ER_RoadnetElement

14 CSL Workshop, October 13-14, 2005 Prepare Sub-set Model in RR to support GML Added multiplicities to associations and made them bidirectional

15 CSL Workshop, October 13-14, 2005 Prepare Sub-set Model in RR to support GML Added a concrete class with a value of string datatype in order to store data

16 CSL Workshop, October 13-14, 2005 Prepare Sub-set Model in RR to support GML Added a validityFrom and validityTo Instead of TM_Period in order of simplicity and to support GML 2.1.2

17 CSL Workshop, October 13-14, 2005 Other UGAS requirements Additionally following rules needed to be applied the model –Model must be represented in a package stereotyped with > –The XML namespace (a URI) and an abbreviation must be present as tagged values

18 CSL Workshop, October 13-14, 2005 Resulting GML Note: The attribute TM_Period in the original EuroRoadS model has been replaced by validityFrom and validityTo for simplicity reasons <element name="FeatureCollection" type="cslWorkshop:FeatureCollectionType" substitutionGroup="gml:_FeatureCollection"/>

19 CSL Workshop, October 13-14, 2005

20 CSL Workshop, October 13-14, 2005

21 CSL Workshop, October 13-14, 2005 Resulting GML Because of the many classes in the model, the GML is complex I did not work further with GML 3.1 schemas –Complex model –3.1 schemas not valid (according several parsers), experience in producing 3.1.1? –Tools support (3.1 and 3.1.1)? –Any experiences??

22 CSL Workshop, October 13-14, 2005

23 CSL Workshop, October 13-14, 2005 Data transformation Produce GML from TeleAtlas data –FME GML –Create schema option –No support for 3.1 or 3.1.1?? TeleAtlas based on GDF –Should be no problems when mapping attributes –Except that the attributes are named: ID, FEATTYP, FT, F_JNCTID, F_JNCTTYP, T_JNCTID, T_JNCTTYP, PJ, METERS, FRC, NETCLASS, NETBCLASS, NET2CLASS, NAME, NAMELC, SOL, NAMETYP, CHARGE, ROUTENUM, RTETYP, RTEDIR, RTEDIRVD, PROCSTAT, FOW, SLIPRD, FREEWAY, BACKRD, TOLLRD, RDCOND, STUBBLE, PRIVATERD, CONSTATUS, ONEWAY, F_BP, T_BP, F_ELEV, T_ELEV, KPH, MINUTES, POSACCUR, CARRIAGE, LANES

24 CSL Workshop, October 13-14, 2005

25 CSL Workshop, October 13-14, 2005 XSL We only map data to ER_RoadLink FeatureCollection properties (e.g. bbox) are mapped Name (TA) mapped to StringAttribute KPH (TA) mapped to speedLimit lineStringProperty (TA) mapped to GM_Curve Always ER_RoadElement FOW (TA) mapped to FormOfWay using lookup table FRC (TA) mapped to NationalRoadClass using lookup table FID (TA) mapped to ID:permanentID (should actually have been ID (TA) as FID is FME generated)

26 CSL Workshop, October 13-14, 2005 XSL Mapped to FeatureType RoadLink only Main elements: –FeatureCollection: Boundingbox etc –Id of ER_IdentifiableObject: FID (should actually have been ID, FID is FME generated ID) –Value of StringAttribute (subclass of RoadnetElementAttribute): Name –SpeedLimit of ER_SpeedLimit (subclass of RoadLinkAttribute): KPH –GML_Curve: lineStringProperty –Level of ER_RoadLink is always selected to ER_RoadElement –FormOfWay of ER_RoadLink: FOW (lookup table used) –NationalRoadClass of ER_RoadLink: FRC (lookup table used)

27 CSL Workshop, October 13-14, 2005

28 CSL Workshop, October 13-14, 2005

29 CSL Workshop, October 13-14, 2005 Result in Gaia

30 CSL Workshop, October 13-14, 2005

31 CSL Workshop, October 13-14, 2005 Resulting GML Validates to EuroRoadS submodel GML schema Complex attribute types not possible to import via FME or ArcGIS –Requires flat structure After short! trial, no success in publishing via GeoServer WFS

32 CSL Workshop, October 13-14, 2005 Approach(1) Pragmatic solution Feasibility of approach –Does it satisfy requirements: It is automatic. Creating XSL files can be complicated, especially if the semantics of attributes to be transformed vary too much Time-consuming (costly) XSLT is a standardized methodology, GML is supported by the important software producers We shall later see similar approach in a service architecture (Snowflake, Finnish Geodetic Ins. etc..) Would best support: s - Automatically (preferably no manual intervention) - Easy set-up - Minimum cost - Support from vendors/technologies - Support a SOA

33 CSL Workshop, October 13-14, 2005 Approach Requires that the two models that need to be mapped do not differentiate too much: –Attribute types, feature types, etc. –No (immediate) generalization mechanisms i.e., the approach is scale dependent –Aggregation (attributes, features) is complicated Requires in-depth knowledge of both models –From domain to low level spatio-temporal aspects of models How to test that a mapping occurs error free –Validation of data? –Constraints? Other possibilities: –Materialized views and stored procedures for mapping Create DB schema based on ‘complex’ UML or GML schemas?

34 CSL Workshop, October 13-14, 2005