Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

MapLar

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.

Setup

python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

Run

Use a bounding box:

python3 maplar.py --bbox MIN_LAT MIN_LON MAX_LAT MAX_LON --outdir output

Example:

python3 maplar.py --bbox 37.7749 -122.4194 37.7849 -122.4094 --outdir output/sf

Output

MapLar creates:

  • roads.shp/.shx/.dbf
  • sidewalks.shp/.shx/.dbf
  • street_features.shp/.shx/.dbf

Each layer is written into the selected output directory.

maplar

About

make shape files from ap

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages