Your new experience awaits. Try the new design now and help us make it even better

ORIGINAL RESEARCH article

Front. Big Data

Sec. Machine Learning and Artificial Intelligence

Volume 8 - 2025 | doi: 10.3389/fdata.2025.1657320

Automated Road Surface Classification in OpenStreetMap Using MaskCNN and Aerial Imagery

Provisionally accepted
Parvathi  RParvathi R*pattabiraman  Vpattabiraman VNancy  SaxenaNancy SaxenaAakarsh  MishraAakarsh MishraUtkarsh  MishraUtkarsh MishraAnsh  PandeyAnsh Pandey
  • Vellore Institute of Technology - Chennai Campus, Chennai, India

The final, formatted version of the article will be published soon.

The classification of road surfaces using OpenStreetMap (OSM) is important for a range of practical applications, such as navigation, urban planning, and infrastructure analysis. However, road surface tags in OSM are frequently missing or incorrect, requiring automated approaches for wide-spread verification and classification. In this work, a machine learning methodology, using the National Agriculture Imagery Program (NAIP) aerial imagery is introduced for road surface classification based on categories such as asphalt, concrete, gravel, and dirt. We used a MaskCNN-based model to include segmentation masks to boost the feature extraction and enhance the classification accuracy. This includes pre-processing of data, color analysis of image content, hierarchical loss functions, and calibration of models for robustness towards different image quality and environmental changes. The training and evaluation process was performed via PyTorch Lightning, where accuracy, precision, recall, and confusion matrices were used to evaluate the models. The model proposed here achieved an accuracy of 92.3% with a performance better than that of the SVM Classifier (81.2%), Random Forest (83.7%), and U-Net (89.6%) (from other works). The results hint at plausible use cases in automated OSM data validation, routing efficiency and traffic planning.

Keywords: Road surface classification, OpenStreetMap (OSM), machine learning, Aerial imagery, MaskCNN, Segmentation masks, Model calibration, PyTorch Lightning

Received: 04 Jul 2025; Accepted: 21 Jul 2025.

Copyright: © 2025 R, V, Saxena, Mishra, Mishra and Pandey. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

* Correspondence: Parvathi R, Vellore Institute of Technology - Chennai Campus, Chennai, India

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.