Skip to content

Estimation of the Probability of Occurrence of Persons in an Area

License

Notifications You must be signed in to change notification settings

pkoprda/vutfit-bachelor-thesis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bachelor thesis

Estimation of the Probability of Occurrence of Persons in an Area


Author: Peter Koprda [email protected]

Supervisor: Ing. Vojtěch Mrázek, Ph.D. (UPSY FIT VUT) [email protected]

Requirements

  • Python 3
  • pip package installer
  • wget command

Setup

Create virtual environment

Install virtual environment using pip:

pip install virtualenv

Create the new virtual environment for the project:

python3 -m venv flask-env

Activate virtual environment:

source flask-env/bin/activate

Install libraries

Install dependency libraries:

pip install -r requirements.txt

Export environment variables with commands:

export FLASK_APP=run.py
export FLASK_ENV=development

Download data

Download OpenStreetMap data extracts from the Geofabrik's free download server:

wget -P app/data/static/ https://download.geofabrik.de/europe/czech-republic-latest-free.shp.zip

Unzip archive:

unzip app/data/static/czech-republic-latest-free.shp.zip -d app/data/static/

Run the app

Now just run app with command:

flask run

and you are good to go! The page should render at http://127.0.0.1:5000.

About

Estimation of the Probability of Occurrence of Persons in an Area

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published