IndoorGML 🏢

IndoorGML Indoor Spatial Data

付款前显示价格
.gml · application/gml+xml

IndoorGML is an OGC standard for describing the inside of buildings: room geometries, adjacency topology, and a navigation graph. Its key idea is dual-space: a building is described simultaneously as a Primal Space (physical cells — rooms, corridors) and a Dual Space (a connectivity graph of nodes and edges for routing). Our exporter builds IndoorGML 1.0 XML from indoor-tagged OSM data: polygons become CellSpace and State nodes, lines become TransitionSpace. To be honest about the main limitation: indoor tagging in OSM is very uneven — detailed data exists only for major airports, a few museums, and actively mapped malls; for most buildings OSM stores only the outdoor footprint. Geometry is exported in 2D (floor heights estimated at 3 m per level), and graph connectivity is simplified. It's an excellent starting point for prototypes, but not a production-grade map.

OpenStreetMap data as of 26 October 2026 · 17 days ago

现在导出 IndoorGML ✨ 登录网站后下载 · 付款前可查看价格

主要特点

✓IndoorGML 1.0 XML based on GML 3.2 with Primal- and Dual-space structure
✓Polygons -> CellSpace (Room/OpenSpace) and a State node in the navigation graph
✓Lines -> TransitionSpace; cell class derived from the OSM layer
✓2D geometry in WGS84, floor heights estimated at 3 m per level, 50,000-feature limit
✓Plain XML — validates with `xmllint`, opens in QGIS and the Reference Encoder
IndoorGML 格式导出示例(市中心,1x0.5 公里)
示例:市中心,约 1x0.5 公里,中等详细度

关于 IndoorGML 格式

IndoorGML is an OGC standard for describing the interior space of buildings. Its distinctive feature is the dual description: the same building is recorded at once as a set of physical cells (rooms, corridors, halls) and as a connectivity graph along which a route is built from the entrance to the door you need.

The format is needed where an ordinary map ends: inside an airport, a railway station, a shopping center, a hospital. Indoor navigation, evacuation route calculation and movement analytics are built on exactly this kind of model.

The export turns OSM indoor mapping into an IndoorGML 1.0 document based on GML 3.2: polygons become CellSpace cells and the matching graph nodes, lines become TransitionSpace transitions, and the class of a cell is determined by its layer. The geometry is two-dimensional in WGS84, floor height is estimated at three meters, and the limit is 50,000 features.

The main limitation lies not in the format but in the data: detailed indoor mapping exists in OpenStreetMap only for a fraction of large venues — some airports, museums, stations and actively mapped shopping centers. Most buildings in the database hold only their outer outline, and the export will come out almost empty. It is worth checking this in advance by looking at the building on the map.

打开 IndoorGML 文件的程序

以下程序可以打开、编辑和处理从 OSM2CDR 导出的 IndoorGML Indoor Spatial Data(.gml)文件:

💻IndoorGML Reference Encoder 💻3D City Database 🌎ArcGIS Indoors 🌎QGIS 💻xmllint

格式规格

谁在使用 IndoorGML 地图

🏗
Indoor-navigation prototypes and proof-of-concept demos for major airports and malls
A quick draft of the room model and the graph for demonstrating navigation inside a building.
💻
Research datasets on building interior structure with a navigation graph
Real data on the interior structure of buildings for research experiments and publications.
📊
A starting point for manual refinement in the Reference Encoder or ArcGIS Indoors
A framework that is then refined in the Reference Encoder or ArcGIS Indoors.
🎨
Studying the IndoorGML dual-space model on real OSM data
A clear example of the standard on a familiar building: cells and graph in one document.

如何导出 IndoorGML

1
选择区域
在 osm2cdr 的交互式地图上绘制矩形或多边形
2
选择 IndoorGML
从 127 种可用导出格式中选择 IndoorGML Indoor Spatial Data
3
导出
点击导出,然后下载制作好的 .gml 文件
4
下载
下载完成的 IndoorGML 文件并在 IndoorGML Reference Encoder 中打开

导出后如何打开

Free

导出 IndoorGML Indoor Spatial Data 地图

从 OpenStreetMap 下载专业的 IndoorGML 地图。任意区域,付款前即可看到价格。

所选格式的地图 构建器中自选区域 — 按地图计价
现在导出 IndoorGML →

常见问题

Why is my export almost empty? ▼
Is this a 3D model of the rooms? ▼
Is the navigation graph routing-ready out of the box? ▼
How does IndoorGML differ from IFC? ▼
How do I know in advance whether a building has indoor data? ▼
What happens with floors? ▼

相关格式

经常一起导出

Related Articles