Semi-Supervised Learning from Street-View Images and OpenStreetMap for Automatic Building Height Estimation

Hao Li, Zhendong Yuan, Gabriel Dax, Gefei Kong, Hongchao Fan, Alexander Zipf, Martin Werner

Introduction

While horizontal mapping has reached unprecedented levels of detail through platforms like OpenStreetMap (OSM), the vertical dimension of our urban environments remains largely undocumented in many parts of the world. Accurate building height data is essential for generating Level of Detail 1 (LoD1) 3D city models, which are critical for urban planning, environmental simulations, noise mapping, and disaster management.

Traditionally, building heights are acquired via Light Detection and Ranging (LiDAR) or high-resolution satellite stereo-imagery. However, these methods are prohibitively expensive for many municipalities, particularly in the Global South. This research addresses this "vertical gap" by proposing a semi-supervised learning (SSL) framework that estimates building heights by fusing 2D OSM data with crowdsourced street-view images (SVI).

Methodology

The proposed workflow integrates multi-source data through a three-stage process designed to minimize reliance on expensive ground-truth labels.

1. Multi-level Morphometric Feature Extraction

The researchers extracted 129 morphometric features from OSM data. These features characterize the urban form at three distinct scales:

  • Building-level: Basic geometric properties of the footprint.
  • Street-level: Proximity to intersections and road network characteristics.
  • Block-level: Building density and neighborhood patterns.

The inclusion of contextual features (street and block levels) is based on the hypothesis that urban density and infrastructure layout are strong indicators of vertical development.

2. Facade Parsing and Pseudo-label Generation

To supplement limited ground-truth data, the framework utilizes computer vision to extract height information from Mapillary street-view images. A pre-trained YOLOv3 object detection network identifies architectural elements such as windows, doors, and balconies. By clustering these detections vertically and applying architectural heuristics (e.g., an average floor height of 2.5m to 3.5m), the system estimates the number of floors and the total building height. These estimates serve as "pseudo-labels"—noisier than official records but available at a massive scale.

3. The Semi-supervised Learning (SSL) Schema

The core of the methodology is the SSL schema. Rather than training a model solely on a small set of high-quality reference data, the regression models (Random Forest, Support Vector Machine, and Convolutional Neural Networks) are trained on a hybrid dataset. This dataset combines sparse, accurate ground-truth labels with the abundant pseudo-labels derived from facade parsing. This approach allows the model to learn from a much larger variety of urban forms.

Experimental Setup and Data

The study was conducted in Heidelberg, Germany, a city characterized by high-quality OSM data and a wealth of crowdsourced Mapillary imagery. The researchers utilized:

  • OSM Footprints: For 2D geometry and feature extraction.
  • Mapillary SVI: For facade parsing and pseudo-labeling.
  • Official Reference Data: Eaves heights provided by the City of Heidelberg were used as the gold standard for training and validation.

Results and Key Insights

The performance of three regression models—Random Forest (RF), Support Vector Machine (SVM), and a Convolutional Neural Network (CNN)—was evaluated.

  • Performance Leader: The Random Forest model, utilizing the full set of 129 features within the SSL schema, emerged as the top performer.
  • Accuracy: The framework achieved a Mean Absolute Error (MAE) of approximately 2.1 meters. This level of accuracy is competitive with state-of-the-art methods that rely on significantly more expensive data sources.
  • The SSL Advantage: A primary finding was that the SSL approach provided a "clear performance boosting" effect across all model types. The pseudo-labels acted as a regularizer, helping the models generalize better than they could when trained on limited ground-truth data alone.
  • Contextual Importance: Street-level and block-level features were found to be significant predictors. High-density road networks and specific block patterns served as effective proxies for building height, confirming that urban context is as important as the building footprint itself.

Limitations and Future Work

While the results are promising for low-cost 3D modeling, several challenges remain:

  • Automation of Image Selection: The current study involved manual selection of street-view images to avoid occlusions (e.g., trees or vehicles). Future work aims to use semantic segmentation to automatically filter and select optimal images.
  • Spatial Encoding: The current models treat features as 1D vectors. The researchers suggest that Graph Convolutional Networks (GCNs) could better capture the spatial dependencies and relationships between neighboring buildings.
  • Global Adaptability: The architectural rules used for floor height estimation are currently optimized for Western European styles. Adapting these rules for diverse global architectural contexts is necessary to bridge the mapping inequality gap effectively.

Conclusion

This research demonstrates that combining crowdsourced VGI and street-view imagery through a semi-supervised learning framework is a viable, low-cost alternative to traditional height acquisition methods. By leveraging the power of pseudo-labels and urban context, it is possible to generate accurate 3D city models that can support sustainable urban development worldwide.

Summary updated

Abstract

Accurate building height estimation is key to the automatic derivation of 3D city models from emerging big geospatial data, including Volunteered Geographical Information (VGI). However, an automatic solution for large-scale building height estimation based on low-cost VGI data is currently missing. The fast development of VGI data platforms, especially OpenStreetMap (OSM) and crowdsourced street-view images (SVI), offers a stimulating opportunity to fill this research gap. In this work, we propose a semi-supervised learning (SSL) method of automatically estimating building height from Mapillary SVI and OSM data to generate low-cost and open-source 3D city modeling in LoD1. The proposed method consists of three parts: first, we propose an SSL schema with the option of setting a different ratio of "pseudo label" during the supervised regression; second, we extract multi-level morphometric features from OSM data (i.e., buildings and streets) for the purposed of inferring building height; last, we design a building floor estimation workflow with a pre-trained facade object detection network to generate "pseudo label" from SVI and assign it to the corresponding OSM building footprint. In a case study, we validate the proposed SSL method in the city of Heidelberg, Germany and evaluate the model performance against the reference data of building heights. Based on three different regression models, namely Random Forest (RF), Support Vector Machine (SVM), and Convolutional Neural Network (CNN), the SSL method leads to a clear performance boosting in estimating building heights with a Mean Absolute Error (MAE) around 2.1 meters, which is competitive to state-of-the-art approaches. The preliminary result is promising and motivates our future work in scaling up the proposed method based on low-cost VGI data, with possibilities in even regions and areas with diverse data quality and availability.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
Heidelberg building-height estimationSVM (64 features)MAE2.89 meters64-feature variant; Heidelberg case study using OSM morphometric features. The table do…
Source quote
L190: 2.58 │ 2.38 │ 2.89 │ 2.91 │ 2.78 │ 2.67
Heidelberg building-height estimationSVM (129 features)MAE2.91 meters129-feature variant; Heidelberg case study using OSM morphometric features. The table d…
Source quote
L190: 2.58 │ 2.38 │ 2.89 │ 2.91 │ 2.78 │ 2.67
Heidelberg building-height estimationCNN (64 features)MAE2.78 meters64-feature variant; Heidelberg case study using OSM morphometric features. The table do…
Source quote
L190: 2.58 │ 2.38 │ 2.89 │ 2.91 │ 2.78 │ 2.67
Heidelberg building-height estimationCNN (129 features)MAE2.67 meters129-feature variant; Heidelberg case study using OSM morphometric features. The table d…
Source quote
L190: 2.58 │ 2.38 │ 2.89 │ 2.91 │ 2.78 │ 2.67
BibTeX
@inproceedings{li2023semi,
  author = {Hao Li and Zhendong Yuan and Gabriel Dax and Gefei Kong and Hongchao Fan and Alexander Zipf and Martin Werner},
  title = {{Semi-Supervised Learning from Street-View Images and OpenStreetMap for Automatic Building Height Estimation}},
  booktitle = {GIScience},
  year = {2023},
  url = {https://openreview.net/forum?id=HmP1zc_59y},
}
Figure