Augmented Reality Markup Language

What Is Augmented Reality Markup Language?

Augmented Reality Markup Language (ARML) is a declarative, XML-based standard for describing virtual objects and their anchors within augmented reality scenes. Published by the Open Geospatial Consortium (OGC) as an international standard, ARML provides a vendor-neutral format that AR platforms can use to specify the appearance, position, and behavior of digital content overlaid on the physical environment. The language draws on established web technologies, including XML for structure and ECMAScript for dynamic interaction, adapting them to the spatial and contextual requirements of AR content delivery.

ARML emerged from efforts within the AR industry to address a fragmentation problem: each platform encoded AR scene descriptions in proprietary formats, making content non-portable across devices and applications. Wikitude's CTO Martin Lechner initiated the ARML 2.0 Standards Working Group within the OGC in 2011, and the first candidate standard was published in 2012. The current version, ARML 2.0 as maintained by the OGC, carries the document identifier OGC 12-132r4.

XML Grammar and Scene Description

The XML layer of ARML defines the structure of an AR scene: which virtual objects are present, what geometry or imagery they display, and how they are anchored to the physical world. Anchors are a central concept in ARML and go beyond simple GPS coordinates. A single anchor definition can reference a geographic location, a visual marker such as a QR code or image target, a trackable three-dimensional object, or a spatial relationship to another virtual object. This extensible anchor model allows ARML to support a wide range of AR tracking technologies without requiring the content author to know which tracking backend the viewer application uses.

Virtual objects in ARML carry appearance descriptions that reference 3D model files or image assets. The geometry node specifies the resource format and transformation properties such as scale, rotation, and translation relative to the anchor. Because ARML separates the logical description of a scene from the rendering implementation, the same ARML file can be consumed by different AR browsers on different devices, each applying its own rendering engine while respecting the author's scene intent.

ECMAScript Bindings and Interaction

ARML 2.0 extends the static XML layer with ECMAScript (JavaScript) bindings that allow AR scenes to respond dynamically to user input and environmental changes. Through these bindings, content authors can register event handlers for user interactions such as tapping a virtual object, attach conditional logic that changes object properties based on distance or orientation, and animate virtual elements in response to data from the host device's sensors.

The scripting layer follows a document object model pattern analogous to browser-based web scripting. Properties of virtual objects, such as color, visibility, and position, are exposed as scriptable attributes. This design decision deliberately reuses web development conventions so that authors familiar with HTML and JavaScript can apply those skills to AR content creation without learning an entirely new programming model. The Library of Congress digital format description for ARML 2.0 documents the relationship between the XML grammar and the ECMAScript API in detail.

OGC Standardization and Adoption

The OGC standardization process subjects ARML to interoperability testing across multiple implementations before granting it full international standard status. The ARML 2.0 Standards Working Group coordinated contributions from AR platform vendors and academic researchers to produce a specification that reflects practical deployment needs. Scholarly analysis of how ARML was built through consensus among stakeholders traces the social and technical processes by which competing vendor interests were reconciled into a shared standard.

Applications

Augmented Reality Markup Language has applications in a range of fields, including:

  • Location-based AR tourism and cultural heritage experiences
  • Industrial maintenance guides overlaid on physical equipment
  • Retail product visualization in mobile AR applications
  • Educational content delivery on AR-capable devices
  • Geospatial data visualization for field survey and mapping
Loading…