Interactive visualization of restrictions on housing in Canadian cities
- JavaScript 96.4%
- Svelte 2.4%
- TypeScript 0.4%
- Python 0.3%
- HTML 0.3%
- Other 0.1%
| backend | ||
| frontend | ||
| .gitignore | ||
| LICENSE | ||
| podman-compose.yml | ||
| README.md | ||
Are Apartments Allowed?
Interactive visualization of restrictions on housing in Canadian cities
Introduction
AAA is a webapp visualizing where you're allowed to build affordable multi-family housing in large Canadian cities. The stack is entirely self-hosted: the backend consists of vector tiles generated from OpenStreetMap data using Tilemaker and served with Martin, and the frontend is written in Svelte using shadcn components and svelte-maplibre.
Deployment
For now, supported deployment is through Podman (Docker should work fine too). Use this compose file to get started:
services:
apts-frontend:
image: docker.io/ericdaigle/apartments-frontend:latest
container_name: apts-frontend
restart: always
ports:
- 80:8080
environment:
- BACKEND_DOMAIN=localhost
- BACKEND_PORT=3000
depends_on:
- apts-backend
apts-backend:
image: docker.io/ericdaigle/apartments-backend:latest
container_name: apts-backend
restart: always
ports:
- 3000:3000
podman-compose up -d shoud then bring up the application at port 8080 on localhost.2
Data
| City | Zoning Dataset | Building Dataset | Licences |
|---|---|---|---|
| Edmonton | Zoning Bylaw Geographical Data | 3D Buildings | Open Government Licence - Edmonton |
| Regina | Land Use and Zoning | Building Outline | Open Government Licence - City of Regina |