Updated Mar 23, 2024
This repo develops an easy-to-use Python package, named OSMsc, to improve the availability, consistency and generalizability of urban semantic data.
OSMsc v0.2.0 is coming!
Photo by Abigail Keenan on Unsplash
OSMsc workflow
Semantic city model generated by OSMsc
Install from Github
git clone https://github.com/ruirzma/osmsc.git
cd osmsc/
pip install .
or python setup.py install
Install from PyPi
pip install osmsc
Note:
OSMnx should be installed before OSMsc, installation errors of OSMnx could be resolved in the latest OSMnx documentation.
If installing OSMnx manually, pls download the Python extension packages (Rtree, GDAL, Fiona, rasterio, etc.) from here for Windows and Homebrew🍺 for MacOS.
If you use OSMsc in scientific work, I kindly ask you to cite it:
@article{doi:10.1080/13658816.2023.2266824,
author = {Rui Ma, Jiayu Chen, Chendi Yang and Xin Li},
title = {OSMsc: a framework for semantic 3D city modeling using OpenStreetMap},
journal = {International Journal of Geographical Information Science},
volume = {0},
number = {0},
pages = {1-26},
year = {2023},
publisher = {Taylor & Francis},
doi = {10.1080/13658816.2023.2266824},
URL = {https://doi.org/10.1080/13658816.2023.2266824},
eprint = {https://doi.org/10.1080/13658816.2023.2266824}}
1. Geoff Boeing, OSMnx, https://github.com/gboeing/osmnx
2. Nick Bristow, OSMuf, https://github.com/AtelierLibre/osmuf
3. Joris Van den Bossche, GeoPandas, https://github.com/geopandas/geopandas