Skip to content

An Open Street Maps building parser. It downloads the building info from a latlon box.

License

Notifications You must be signed in to change notification settings

Roy2xc/open_street_maps_buildings_parser

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open Street Map Buildings Parser

An Open Street Maps building parser. It downloads the building info from a latlon box and identifies the buildings types.

Starting 🚀

Requirements 📋

  • Python 3.
  • The Python requests library. See below.

Setting it up 🔧

  • Install Pyhton requirements:
pip install -r requirements.txt

Run it! ⚙️

Open the command line and go to the directory where the app is located. For the first time, run the app followed by the location box coordinates. For instance:

python main.py 37.1477 -3.6097 37.1647 -3.5875

It will download the map in JSON format and will generate the buildings_info.json with the coordinates and buildings info.

If you already executed it before, you can just run the app without any argument so that it will use the previously downloaded map file:

python main.py

Built with 🛠️

Contribute 🖇️

Please, feel free to open any issue, Pull Request or to just fork this project.

Author ✒️

License 📄

This project has been created under the GNU LGPL 3.0 license - see LICENSE.md for more details

About

An Open Street Maps building parser. It downloads the building info from a latlon box.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%