CrowdZIP is a geospatial classification system that predicts the most likely ZIP Code for a given location by combining multiple ZIP Code boundary datasets and crowdsourced geotagged information. It also quantifies uncertainty by providing probability distributions across candidate ZIP Codes rather than relying on a single polygon map.
Prerequisites: Your machine needs to have Python, git installed. If not, install from here https://www.python.org/downloads/, https://git-scm.com/install/
The project is run by the following command: FLASK_APP=starter.py flask run
The file path looks as follows:
- starter.py
- index.html
- static/ 3.1 css/ style.css 3.2 js/ mapscript.js 3.3 libraries/ leaflet/ jquery.min.js
How to run in Bash or VS Code terminal:
- git clone https://github.com/subrina0013/ZIPCode-Classification-Demo
- cd ZIPCode-Classification-Demo
- python3 -m venv venv
- source venv/bin/activate (bash) / .\venv\Scripts\Activate.ps1 (VS Code terminal)
- python -m pip install -r requirements.txt
- FLASK_APP=starter.py flask run