Software Open Access

OSM2LES - A python-based tool to prepare realistic urban geometry for LES simulation from OpenStreetMap

Jiachen Lu; Negin Nazarian; Melissa A. Hart

OSM2LES is an open-source Python-based code extracting and rasterizing building footprint from OpenStreetMap for the underlying geometry required by some LES applications such as PALM. It takes longitude/latitude coordinates enclosing a bounding box, desired resolution, default building height, rotation angle as input and outputs the rastered urban layouts in plain text ASCII form. In addition, OSM2LES calculates key geometric parameters such as density, street connectivity and entropy of facet to characterize the rastered computational domain, which proved to be effectively control the urban flow.



OSM2LES can be installed from, please contact if you have any questions.
Files (10.1 kB)
Name Size
10.1 kB Download
All versions This version
Views 9761
Downloads 53
Data volume 57.1 kB30.3 kB
Unique views 8154
Unique downloads 43


Cite as