MapLar exports map data into shapefiles for:
- Roads
- Sidewalks
- Street features (street lamps, crossings, traffic signals, bus stops)
It uses OpenStreetMap data through the Overpass API and writes shapefiles you can open in QGIS/ArcGIS.
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txtUse a bounding box:
python3 maplar.py --bbox MIN_LAT MIN_LON MAX_LAT MAX_LON --outdir outputExample:
python3 maplar.py --bbox 37.7749 -122.4194 37.7849 -122.4094 --outdir output/sfMapLar creates:
roads.shp/.shx/.dbfsidewalks.shp/.shx/.dbfstreet_features.shp/.shx/.dbf
Each layer is written into the selected output directory.