This application enables real-time collaboration on drawing and analyzing areas on a map. Users can draw, view, and calculate the area of polygons in real-time, switch between map layers, and view other users’ actions as they draw.
- Real-time polygon drawing on a map
- Satellite and regular map layer switching
- WebSocket-based updates for real-time collaboration
- Area calculation for polygons
- Backend: Golang with Gorilla WebSocket and PostgreSQL
- Frontend: Leaflet.js, HTML, JavaScript
- Database: PostgreSQL with PostGIS for spatial data storage
- Docker for containerized setup
- Docker
- Docker Compose
- Clone the repository:
git clone https://github.com/shay23bra/collaborative-GIS.git cd collaborative-GIS
- Start the application:
docker-compose up
- Open
http://localhost:8080in your browser. - Connect with one of 2 default users (shay1, shay2) with the password
password. - You can draw polygons on the map and see the changes in real-time.