baato / before-after

Generate before-after maps for OpenStreetMap with ease.

Home Page:https://beforeafter.baato.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Before-after Map Generator

Screenshot 2021-06-06 221025

Technical stack for generating before-after map (with vector tiles), which allows users to understand how map data in OSM has changed over time.

Installation and Setup

  • Clone the repository
  • cp .env.sample .env
  • Make required changes in .env file
  • docker-compose build
  • docker-compose up

Directory Structure

  • Backend: It has all the provisioning scripts and API/Websocket server written in Go.
    • The provisioning instance template is found at "backend/index.html". This is the HTML template file based on which provisioning instance is created.
  • Frontend: It houses the main provisioning interface.

Developing the Backend

  • docker build after making changes
  • docker up to test the changes

Developing the Frontend

  • yarn install inside frontend/src/app
  • yarn serve

About

Generate before-after maps for OpenStreetMap with ease.

https://beforeafter.baato.io/


Languages

Language:Vue 30.6%Language:HTML 26.7%Language:Lua 26.2%Language:Shell 7.3%Language:Go 6.2%Language:Dockerfile 1.6%Language:JavaScript 1.5%