Generation of Indoor Open Street Maps for Robot Navigation from CAD Files

Jiajie Zhang, Shenrui Wu, Xu Ma, Sören SchwertfegerarXiv 2025 · DOI

Introduction

Autonomous robot navigation traditionally relies on Simultaneous Localization and Mapping (SLAM) to generate environmental representations. However, SLAM-derived maps, such as 2D occupancy grids or 3D point clouds, are inherently "ephemeral." They capture transient features like furniture and temporary obstacles, leading to map obsolescence and localization failure as the environment changes over time. To address this, we propose a paradigm shift: leveraging architectural CAD files as the authoritative "ground truth" for a building's permanent structural elements (walls, columns, and doors). This paper introduces an automated pipeline to transform messy CAD data into stable, semantically rich, and hierarchical OpenStreetMap (OSM) representations.

The Automated Mapping Pipeline

The proposed system converts raw architectural drawings into a structured robotic map through a multi-stage process, as illustrated in the pipeline overview below.

Overview of the automated pipeline, from raw CAD input to multi-floor OSM fusion.

The process begins with Preprocessing and Occupancy Grid Generation, where CAD layers are filtered using keyword matching (e.g., "A-WALL") to isolate structural components. This data is then vectorized and rasterized into a high-resolution binary occupancy grid. Next, Topological Segmentation utilizes a Voronoi-based AreaGraph approach to partition free space into distinct polygonal rooms and corridors.

To ensure the resulting map is computationally efficient for mobile robots, we apply Geometric and Logical Refinement. This includes the Douglas-Peucker algorithm for polygon simplification and an iterative spike-removal process. In testing, these refinements reduced the number of map nodes by over 91%, significantly lowering the processing overhead for path-finding algorithms.

Topometric Representation and Semantic Association

A critical feature of the pipeline is the serialization of the refined graph into the standard OpenStreetMap (OSM) XML format. By utilizing WGS84 geo-referencing, the indoor maps are aligned with global GPS coordinates, facilitating seamless transitions between indoor and outdoor navigation.

Topological graph overlaying segmented rooms, illustrating the connectivity used for robot path planning.

The system employs a novel Semantic Text-to-Room Association algorithm. This score-based module extracts text labels (e.g., "Office 101") from the CAD file and associates them with the corresponding room polygons based on centrality and proximity. Furthermore, the pipeline supports Multi-Floor Fusion, identifying vertical passages like stairs and elevators to link individual floor maps into a cohesive 3D building model. The final representation, termed osmAG, embeds topometric information—connectivity and metric distance—directly into OSM tags.

Experimental Evaluation

The system was evaluated using 24 CAD floor plans, including large-scale data from the ShanghaiTech University campus (9,000 m²) and diverse architectural styles from the ArchWeb.it repository.

Key results include:

  • Topological Accuracy: The system achieved an F1-score of 82.88% for room identification and 83.70% for passages.
  • Semantic Precision: The text-to-room association module reached 91.2% accuracy, demonstrating robustness even when labels were placed outside room boundaries in the source CAD.
  • Efficiency: The pipeline is highly performant, averaging just 35 seconds per floor plan on standard hardware.
  • Data Reduction: Geometric simplification reduced polygon point counts by 91.37%, optimizing the map for real-time robotic use.

Conclusion and Future Work

By focusing on the CAD-defined permanent structure, this system creates maps that are invariant to environmental changes. While the current pipeline relies on standard CAD layer naming conventions, future work will explore machine learning for automatic layer classification. Ultimately, the goal is a hybrid mapping approach that combines this static CAD backbone with real-time sensor data to handle dynamic obstacles in long-term autonomous deployments.

Summary updated

BibTeX
@misc{zhang2025generation,
  author = {Jiajie Zhang and Shenrui Wu and Xu Ma and Sören Schwertfeger},
  title = {{Generation of Indoor Open Street Maps for Robot Navigation from CAD Files}},
  year = {2025},
  eprint = {2507.00552},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.00552},
}
Figure