Predictive to Building shows how building data can be pulled directly from an address suggestion.
- A beta API Key register for the beta here
- Python >= 3.6
- Clone the repo (or download and unzip)
- Paste your beta API key into a new file and save it as
api.key
- Open a terminal/console/command prompt in the repository directory
- Create virtual environment (
python -m venv env
) - Activate virtual envorinemnt (
.\env\scripts\activate
) - Install requirements (
pip install -r requirements.txt
)
- Run Flask server (
python flaskApp.py
) - Use a browser to connect to localhost:5000
- Start typing address in textbox
- Click on a suggestion below the textbox to show the building footprint on the map