QuakePath Features

Advanced Emergency Response System for Seismic Zones

Comprehensive features designed to address real-time data scarcity, infrastructure fragility, and coordination gaps during earthquake disasters.

Dynamic Route Optimization

Calculates the safest and fastest paths for emergency vehicles by avoiding active disaster zones and blocked roads using real-time GPS data and disaster zone polygons.

Algorithm

optimizeRoute() - Retrieves potential map data from external GPS providers and identifies path segments that intersect with high-severity DisasterZone polygons. Assigns high 'costs' to dangerous or blocked paths, outputting the path with the lowest cumulative cost.

Architecture

Routing Subsystem interfaces with GPS data to generate evacuation paths

API Endpoints

GET /api/v1/routes/meshPOST /api/v1/rescue/dispatch

Reliability

99.9% availability with multi-region cloud backup

Use Cases

  • •Emergency vehicle navigation during disasters
  • •Evacuation route planning for civilians
  • •Avoiding blocked or damaged road segments
  • •Real-time path recalculation based on disaster zone updates

Resilient Mesh Communication

Implements a peer-to-peer mesh network allowing offline messaging between users and responders when cellular and internet infrastructure fails.

Algorithm

rerouteCommunication() - If message transmission to a direct connectedNode fails, scans the list of alternative active nodes and re-attempts transmission until a successful path is established or all immediate neighbors are exhausted.

Architecture

Communication Layer operates in parallel to standard internet protocols, ensuring devices can communicate directly via peer-to-peer protocols

API Endpoints

GET /api/v1/routes/meshPOST /api/v1/assistance

Reliability

Graceful degradation: automatically switches to Mesh Network when central cloud server is unreachable

Use Cases

  • •Offline communication during infrastructure failure
  • •Message relay through intermediate nodes
  • •Mesh network status visualization
  • •Emergency alerts distribution without internet

Real-time Damage Assessment

Visualizes disaster zones using a combination of satellite imagery, GIS data, and real-time sensor updates to create severity heatmaps.

Architecture

Damage Mapping Subsystem processes sensor data to create real-time severity heatmaps

API Endpoints

GET /api/v1/victims/{id}/locationPUT /api/v1/safezones/{id}

Reliability

GeoJSON/raster layers for complex geographic mapping with Firebase real-time persistence

Use Cases

  • •Real-time disaster zone visualization
  • •Severity level mapping
  • •Affected area polygon tracking
  • •Satellite imagery integration

Pre-disaster Readiness

Includes tools for emergency kit checklists and evacuation simulations for community preparedness before disasters occur.

Architecture

Preparation Mode module with evacuation route planning and emergency supply management

API Endpoints

GET /api/v1/routes/mesh

Use Cases

  • •Emergency kit checklist management
  • •Evacuation route simulation
  • •Community preparedness planning
  • •Pre-disaster resource allocation

Emergency Request Initiation (SOS)

A civilian triggers an SOS which automatically attaches their GPS coordinates and device health status for immediate responder dispatch.

Architecture

Emergency Request workflow with automatic GPS coordinate attachment

API Endpoints

POST /api/v1/assistance

Security

AES-256 encryption for data at rest, TLS 1.3 for data in transit

Use Cases

  • •One-tap SOS button for immediate help
  • •Automatic GPS coordinate transmission
  • •Device health status reporting
  • •Pre-defined emergency messages ('I am under debris', 'I need medical help')

Rescue Dispatch & Coordination

Coordinators view real-time maps of victims and assign specific emergency vehicles to optimized routes for efficient rescue operations.

Architecture

Orchestrator module for service workflow and event-driven alerts

API Endpoints

POST /api/v1/rescue/dispatchGET /api/v1/rescue/status

Reliability

Real-time victim location tracking and rescue team management

Use Cases

  • •Real-time victim location mapping
  • •Emergency vehicle assignment
  • •Rescue team coordination
  • •Resource allocation optimization

User Management & RBAC

Governs authentication, device registration, and Role-Based Access Control (RBAC) ensuring civilians, responders, and coordinators have appropriate access levels.

Architecture

User Management Subsystem with multi-factor authentication for admin and rescue teams

API Endpoints

POST /api/v1/authGET /api/v1/users

Security

RBAC ensures civilians cannot access responder data, data anonymization for victim records

Use Cases

  • •Multi-factor authentication for coordinators
  • •Role-based data access control
  • •Device registration and management
  • •Victim data anonymization

Security & Data Protection

Multi-layered security with TLS 1.3 for data in transit, AES-256 for data at rest, and comprehensive error handling with graceful degradation.

Security

TLS 1.3 for data in transit, AES-256 for data at rest, RBAC for access control

Reliability

Graceful degradation: critical data entities backed up and replicated across multiple cloud regions

Use Cases

  • •Encrypted data transmission
  • •Secure victim information storage
  • •Unauthorized access prevention
  • •Data privacy compliance

Multi-Layered Architecture

Presentation Layer

Mobile and web applications providing intuitive interfaces for Civilians, Responders, and Coordinators

Application Layer

Central server cluster managing the Orchestrator module for service workflow and event-driven alerts

Communication Layer

Mesh network operating in parallel to standard internet protocols, ensuring peer-to-peer communication

Data Persistence Layer

Firebase for real-time data synchronization and GeoJSON/raster layers for complex geographic mapping

System Capabilities

75%
Test Coverage
Core logic verification
99.9%
Availability
Multi-region backup
122 tests
Test Suite
Comprehensive verification