Open Street Maps (OSM) for Machine Learning

バージョン 1.1 (1.06 MB) 作成者: Adam Campos
Using Matlab to process Open Street Maps data to produce features for ML projects
ダウンロード: 84
更新 2022/3/23

Open Street Maps for Machine Learning

Introduction

Open Street Map is an open-source community collaboration where anybody is free to contribute to building the map of the world. Several organizations donate satellite and aerial imagery to the project and users can overlay vector data onto the map in addition to explanatory tags. However, exporting the data and working with the traditional datatype associated with Open Street Maps ( .osm ) can be difficult - while there are specific tools in Python and QGIS that can help download the data in a format that you need, there are attributes lost in translation. The purpose of this project is to better understand the .osm file format and be able to parse the exact information needed for my own use case, which is building feature data for Machine Learning projects. Additionally, this does not rely on any plugins or dark-box applications, so all the code is accessible and modifiable for your use case.

Operations

Input: .osm files Output: Two separate datasets that contain a unique ID number, the date created, the primary and secondary category and the vector geometry (relies on Matlab Mapping Toolbox).

  • Buildings
  • Roads

Long Term Plan

Over time, I plan to build additional modules to extract certain features or items with relevant tags. Additionally, there are speed improvements / integration that I will make once this module has been tested more thoroughly. But for the moment, it suits my use case.

引用

Adam Campos (2024). Open Street Maps (OSM) for Machine Learning (https://github.com/ghidora77/Matlab-OpenStreetMaps-ML/releases/tag/1.1), GitHub. 取得済み .

MATLAB リリースの互換性
作成: R2022a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
バージョン 公開済み リリース ノート
1.1

この GitHub アドオンでの問題を表示または報告するには、GitHub リポジトリにアクセスしてください。
この GitHub アドオンでの問題を表示または報告するには、GitHub リポジトリにアクセスしてください。