Skip to content
GREEN HORIZON

GREEN HORIZON

Your Smart Companion For A Greener Tomorrow

Created on 6th May 2025

•

GREEN HORIZON

GREEN HORIZON

Your Smart Companion For A Greener Tomorrow

The problem GREEN HORIZON solves

Problem Statement :
In modern urban life we’re living in a climate crisis — but most of us are stuck in a system that makes green living a guessing game.
We walk through smog unknowingly, buy plastic bottles out of habit, and scroll through five different apps just to make one eco-conscious decision.
There’s data everywhere — but no guidance. Intention everywhere — but no integration.
🌍 What’s missing?
A smart, seamless, everyday sustainability companion that brings it all together — air, water, waste, transport, rewards — into one eco-intelligent experience - GREEN HORIZON

Proposed Solution :
Our Bold Solution – GREEN HORIZON

A beautifully unified platform that empowers everyday users to:
•🗺️ Navigate green routes with real-time air quality, noise, and tree cover data.
•🌱 Track their carbon footprint and get personalized tips to reduce it.
•🚶‍♀️🚴‍♂️🚰 Earn Green Points for walking, biking, carpooling, recycling.
•🏅 Get rewarded with eco badges, digital tokens, and leaderboard glory.
•🤖🔗 Make smarter choices, powered by AI and verified by blockchain for transparency

Challenges we ran into

  1. Integrating Route-Based Filtering with Real-Time Geolocation
    One of the biggest hurdles was implementing dynamic filtering of eco-friendly food spots along a user’s route, not just near the start or end points. We needed to ensure that points of interest (POIs) appeared within a reasonable detour distance from any part of the route, which required analyzing the route geometry in real time.

Solution:
We parsed the route polyline returned by the routing API and sampled points at regular intervals. Then, we checked which sustainable food locations fell within a buffer radius around these sampled points. This made our filtering smarter and more relevant to the actual journey without overwhelming the user with too many options.

  1. Performance Bottlenecks with Large Datasets
    When handling many food spots and real-time filters (like organic, farm-sourced, eco-certified), the app's performance dropped significantly on mobile devices.

Solution:
We optimized the map rendering using clustering with Leaflet’s markercluster plugin and limited filter queries to a bounding box around the current map view. This improved load times and made the map more responsive.

  1. Map Re-centering Issue After Filter Update
    Every time a user changed the filter, the map would reset its view, which disrupted the user experience.

Solution:
We cached the current map view bounds and re-applied them after updating markers. This preserved the zoom level and center, making the interaction smoother.

  1. Synchronizing AQI Visual Feedback with UX Elements
    It was tricky to keep the UI elements like background color, icons, and tips in sync with the AQI level retrieved. Since all of them depended on the same AQI value, any out-of-order execution (e.g., async delays) could desynchronize the interface.

Solution:

Used descriptive mappings (descriptions, messages, icons, backgrounds) indexed by AQI.
Centralized all UI updates within the getAQI() function block after successful API resolution.

Tracks Applied (1)

Domains for Every Team

🌐 How Our Project Fits the "Domains for Every Team" Track Green Horizon is a unified sustainability assistant that empo...Read More

XYZ Domains

Discussion

Builders also viewed

See more projects on Devfolio