AIXM 5.1 - UML to XSD - PowerPoint PPT Presentation

1 / 30
About This Presentation
Title:

AIXM 5.1 - UML to XSD

Description:

Overview of AIXM files. Mapping rules for Datatypes. Mapping ... Note: this includes the concept of Final Approach and Take-Off Area (FATO) for helicopters. ... – PowerPoint PPT presentation

Number of Views:118
Avg rating:3.0/5.0
Slides: 31
Provided by: sep64
Category:
Tags: aixm | uml | xsd | helicopters

less

Transcript and Presenter's Notes

Title: AIXM 5.1 - UML to XSD


1
AIXM 5.1 - UML to XSD
  • AIXM XML Developers' Seminar

2
Content
  • Overview of AIXM files
  • Mapping rules for Datatypes
  • Mapping rules for Features
  • Presentation AIXM scripts
  • Creation of an extension

3
Overview of AIXM files
  • The file AIXM_AbstractGML_ObjectTypes.xsd
  • References ISO19139 Metadata Schema
  • Defines the base AIXM Feature Constructs
  • AbstractAIXMFeatureType / AbstractAIXMFeature
  • AbstractAIXMTimesliceType / AbstractAIXMTimeslice
  • The file AIXM_DataTypes.xsd contains the mapping
    of the AIXM datatypes
  • The file AIXM_Features.xsd contains the mapping
    of the AIXM features

4
Overview of AIXM files
AIXM 5.1 Mapping Rules
  • AIXM 5.1 Mapping rules explains how to translate
    the AIXM 5.1 UML model into an XML grammar based
    on a subset of the Geography Markup Language (GML
    3.2)
  • Mapping rules are defined for
  • AIXM Datatypes
  • AIXM Features

5
AIXM 5.1 - UML to XSD Mapping Rules - Datatypes
6
AIXM 5.1 Mapping Rules - Datatypes
  • Mapping ltltenumerationgtgt

ltsimpleType name"CodeAirportHeliportType"gt
ltuniongt ltsimpleTypegt
ltrestriction base"xsdstring"gt
ltenumeration value"AD"gt
ltannotationgt
ltdocumentation/gt
lt/annotationgt lt/enumerationgt
ltenumeration value"AH/gt
ltenumeration value"HP/gt
ltenumeration value"LS/gt
lt/restrictiongt lt/simpleTypegt
ltsimpleTypegt ltrestriction
base"string"gt ltpattern
value"OTHER\w2,58"/gt
lt/restrictiongt lt/simpleTypegt
lt/uniongt lt/simpleTypegt
7
AIXM 5.1 Mapping Rules - Datatypes
  • Mapping ltltcodelistgtgt

ltsimpleType name"CodeAerialRefuelingPrefixType_ba
se"gt ltannotationgt ltdocumentation/gt
lt/annotationgt ltrestriction
base"xsdstring"gt ltenumeration
value"AR"gt ltannotationgt
ltdocumentation/gt lt/annotationgt
lt/enumerationgt lt/restrictiongt lt/simpleTypegt lt
simpleType name"CodeAerialRefuelingPrefixType"gt
ltunion memberTypes"aixmCodeAerialRefuelingPre
fixType_base xsdstring"/gt lt/simpleTypegt
8
AIXM 5.1 Mapping Rules - Datatypes
  • Mapping ltltdatatypegtgt

ltsimpleType name"ValDistanceTypeBase"gt
ltannotationgt ltdocumentation/gt
lt/annotationgt ltrestriction base"xsddecimal"gt
ltminInclusive value"0"/gt
lt/restrictiongt lt/simpleTypegt ltcomplexType
name"ValDistanceType"gt ltsimpleContentgt
ltannotationgt ltdocumentation/gt
lt/annotationgt ltextension
base"aixmValDistanceTypeBase"gt
ltattribute name"uom" type"aixmUomDistanceType"
use"required"/gt lt/extensiongt
lt/simpleContentgt lt/complexTypegt
9
AIXM 5.1 - UML to XSD Mapping Rules - Features
10
AIXM 5.1 Mapping Rules - Features
  • AIXM is based on GML
  • AIXM Features are GML features
  • AIXM follows the GML object-property concept.

ltAirportHeliportgt lt!-- feature --gt
ltElevatedPointgt lt!-- object --gt
ltAirportHeliportgt lt!-- feature --gt
lthasReferencePointgt lt!-- property --gt
ltElevatedPointgt lt!-- object --gt
11
AIXM 5.1 Mapping Rules - Features
  • For each AIXM Feature in the UML, the following
    XML schema entities are created
  • FeaturePropertyType
  • Feature
  • FeatureType
  • FeatureTimeSlicePropertyType
  • FeatureTimeSlice
  • FeatureTimeSliceType
  • FeaturePropertyGroup
  • AIXM objects are encoded as GML objects. The
    mapping rule for Objects are the same as the
    rules for Features except that
  • Object do not exist outside of a feature
  • TimeSlice types and elements are not created

12
AIXM 5.1 Mapping Rules - Features
ltgroup name"RunwayPropertyGroup"gt
ltsequencegt ltelement name"designator"
nillable"true" minOccurs"0"gt
ltcomplexTypegt
ltsimpleContentgt ltextension
base"aixmTextDesignatorType"gt
ltattribute name"nilReason"
type"gmlNilReasonEnumeration"/gt
lt/extensiongt
lt/simpleContentgt lt/complexTypegt
lt/elementgt ltelement name"type"
nillable"true" minOccurs"0"gt
lt/sequencegt lt/groupgt
  • UML properties are mapped into
    FeaturePropertyGroup

13
AIXM 5.1 Mapping Rules - Features
ltgroup name"RunwayPropertyGroup"gt
ltsequencegt ltelement name"designator"
nillable"true" minOccurs"0"gt
ltelement name"surfaceProperties"
nillable"true" minOccurs"0"gt
ltcomplexTypegt ltcomplexContentgt
ltextension base"aixmSurfaceCharacteristicsPrope
rtyType"gt ltattribute name"nilReason"
type"gmlNilReasonEnumeration"/gt lt/extensiongt
lt/complexContentgt
lt/complexTypegt lt/elementgt

14
AIXM 5.1 Mapping Rules - Features
  • UML properties are mapped into
    FeaturePropertyGroup

ltgroup name"RunwayPropertyGroup"gt
ltsequencegt ltelement name"designator"
nillable"true" minOccurs"0"gt
ltelement name"type" nillable"true"
minOccurs"0"gt ltelement
name"associatedAirportHeliport"
type"aixmAirportHeliportPropertyType"
nillable"true" minOccurs"0"gt
lt/sequencegt lt/groupgt
15
AIXM 5.1 Mapping Rules - Features
  • The RunwayTimeSliceType encapsulates all the
    Runway properties that change over time

ltcomplexType name"RunwayTimeSliceType"gt
ltcomplexContentgt ltextension
base"aixmAbstractAIXMTimeSliceType"gt
ltsequencegt ltgroup
ref"aixmRunwayPropertyGroup"/gt
ltelement name"extension" minOccurs"0"
maxOccurs"unbounded"gt
ltcomplexTypegt
ltsequencegt
ltelement ref"aixmAbstractRunwayExtension"/gt
lt/sequencegt
ltattributeGroup ref"gmlOwnershipAt
tributeGroup"/gt
lt/complexTypegt lt/elementgt
lt/sequencegt lt/extensiongt
lt/complexContentgt lt/complexTypegt
16
AIXM 5.1 Mapping Rules - Features
ltelement name"RunwayTimeSlice"
type"aixmRunwayTimeSliceType"
substitutionGroup"gmlAbstractTimeSlice"/gt
  • RunwayTimeSlice element is of type
    RunwayTimeSliceType.

17
AIXM 5.1 Mapping Rules - Features
ltcomplexType name"RunwayTimeSlicePropertyType"gt
ltsequencegt ltelement ref"aixmRunwayTim
eSlice"/gt lt/sequencegt ltattributeGroup
ref"gmlOwnershipAttributeGroup"/gt lt/complexTypegt
  • A GML property type containing a FeatureTimeSlice
    objects is created.

18
AIXM 5.1 Mapping Rules - Features
ltcomplexType name"RunwayType"gt
ltcomplexContentgt ltextension
base"aixmAbstractAIXMFeatureType"gt
ltsequencegt ltelement
name"timeSlice" type"aixmRunwayTimeSlicePropert
yType" maxOccurs"unbounded"/gt
lt/sequencegt lt/extensiongt
lt/complexContentgt lt/complexTypegt
  • The Runway feature type is created extending the
    AbstractAIXMFeatureType with the RunwayTimeSlice
    object created before.

19
AIXM 5.1 Mapping Rules - Features
ltelement name"Runway" type"aixmRunwayType"
substitutionGroup"aixmAbstractAIXMFeature"gt
ltannotationgt ltdocumentationgtA defined
rectangular area on a land aerodrome/heliport
prepared for the landing and take-off of
aircraft. Note this includes the concept of
Final Approach and Take-Off Area (FATO) for
helicopters. lt/documentationgt
lt/annotationgt lt/elementgt
  • The Runway feature is then defined by the
    RunwayType.

20
AIXM 5.1 Mapping Rules - Features
ltcomplexType name"RunwayPropertyType"gt
ltattributeGroup ref"gmlOwnershipAttributeGroup"/
gt ltattributeGroup ref"gmlAssociationAttribut
eGroup"/gt lt/complexTypegt
  • Used for relationship to feature Runway
  • Provides the xlinkhref attribute

21
AIXM 5.1 - UML to XSD AIXM Scripts
22
AIXM 5.1 - UML to XSD Walkthrough AIXM 5.1 XSD
Schemas
23
AIXM 5.1 - UML to XSD Creation of an extension
24
UML Extension
  • A feature or object may be extended by creating a
    class with the same name as the core AIXM feature
    and giving it a stereotype ltltextensiongtgt.
  • New classes (features and objects), that do not
    extend existing AIXM Core classes, can be also
    created.

25
UML Extension
  • Extensions shall NOT be included in the core AIXM
    packages

26
AIXM 5.1 Mapping Rules - Extensions
  • AIXM_Features.xsd is defined in such a way that
    multiple extensions can be included in the core
    FeatureTimesliceType
  • Features with the stereotype of ltltextensiongtgt
    generates three related elements for that class.
  • FeatureExtensionPropertyGroup
  • FeatureExtensionType
  • FeatureExtension

ltcomplexType name"AirspaceTimeSliceType"gt
ltcomplexContentgt ltextension
base"aixmAbstractAIXMTimeSliceType"gt
ltsequencegt ltgroup
ref"aixmAirspacePropertyGroup"/gt
ltelement name"extension" minOccurs"0"
maxOccurs"unbounded"gt
ltcomplexTypegt
ltsequencegt
ltelement ref"aixmAbstractAirspaceExtension"/gt
.
27
AIXM 5.1 Mapping Rules - Extensions
ltgroup name"AirspaceExtensionPropertyGroup"gt
ltsequencegt ltelement name"flexibleUse"
nillable"true" minOccurs"0"gt .
ltelement name"level1" nillable"true"
minOccurs"0"gt .
lt/sequencegt lt/groupgt
28
AIXM 5.1 Mapping Rules - Extensions
ltcomplexType name"AirspaceExtensionType"gt
ltcomplexContentgt ltextension
base"aixmAbstractExtensionType"gt
ltsequencegt ltgroup
ref"easmAirspaceExtensionPropertyGroup"/gt
lt/sequencegt lt/extensiongt
lt/complexContentgt lt/complexTypegt
  • A relationship is created with an abstract XML
    element that acts as the root for all extensions.

29
AIXM 5.1 Mapping Rules - Extensions
ltelement name"AirspaceExtension"
type"easmAirspaceExtensionType
substitutionGroup"aixmAbstractAirspaceExtension"
/gt
30
Focus on AIXM Basic Message
  • Basic Message
  • is an AIXM 5.1 extension
  • contains just a collection of AIXM features
Write a Comment
User Comments (0)
About PowerShow.com