Topics
Prev Next

UML Profile for GML

The MDG Technology for GML is built into the Enterprise Architect installer. A key component of the technology is the UML Profile for GML.

Access

Ribbon

Publish > Technologies > GML

Context Menu

Right-click on Package | Extensions | GML

Features

Feature

Detail

See also

Profile Support

You can develop GML constructs quickly and simply, through use of the built-in MDG Technology for GML facilities provided in the form of:

  • A GML diagram type, accessed through the 'New Diagram' dialog
  • GML pages in the Diagram Toolbox that map GML concepts to appropriately stereotyped UML elements
  • GML element and relationship entries in the 'Toolbox Shortcut Menu' and 'Quick Linker'
New Diagram Quick Linker Toolbox Shortcut Diagram Toolbox

GML Toolbox Page

The GML Toolbox pages contain elements and connectors to model geographical features effectively.

GML Toolbox Pages

UML Classes from ISO

(Optional) You can download the UML Classes implemented in ISO/TC 211 as an XMI file, then import the XMI file into Enterprise Architect as a Package containing diagrams and standard UML Classes, which you can reuse in your model.

  • Not all UML Classes implemented in ISO/TC 211 have a corresponding mapping in GML; the Classes that have a mapping (as specified in the GML 3.2.1 specification) are specified in the configurable file GMLClassMapping.xml in the Sparx Systems > EA > Config > GML folder
  • The Namespace information for these Classes is specified in the configurable file GMLNamespaces.xml in the Sparx Systems > EA > Config > GML folder
XMI Import ISO/TC 211

GML Application Schema Generation

Any model you create using the built-in MDG Technology for GML can be exported as a GML Application Schema.

Using the configurable file GMLStereotypes.xml in the Sparx Systems > EA > Config > GML folder, you can specify aliases for the standard GML stereotypes. The GML Application Schema Generator will also consider these aliases during Schema generation.

Generate GML Application Schema

Disable MDG Technology for GML

If you prefer not to use the MDG Technology for GML in Enterprise Architect, you can disable it (and subsequently re-enable it) using the 'MDG Technologies' dialog (Configure > Technology > Manage).

MDG Technologies

Notes

  • The MDG Technology for GML is available in the Professional, Corporate, Business and Software Engineering, System Engineering and Ultimate editions of Enterprise Architect

Learn more