BhoomiSense

Turning Satellite Intelligence to Farmer Decisions

Visit
BhoomiSense banner

About

## Challenges we ran into

Building BhoomiSense required us to integrate multiple independent data systems into a seamless experience.

One of our biggest challenges was combining satellite imagery, weather information, and market intelligence into a single advisory that remained accurate, understandable, and actionable. Each data source used different formats, update frequencies, and levels of granularity, which made real-time data fusion difficult.

Working with geospatial data introduced additional complexity. Generating NDVI-based crop health insights, rendering field overlays on interactive maps, and supporting custom field polygons required significant experimentation and optimization to maintain performance and usability.

Another challenge was designing an interface suitable for both technical reviewers and real farmers. We wanted to avoid overwhelming users with charts and raw metrics while still exposing the intelligence generated by the platform. This led us to redesign several components and focus on concise AI-generated action plans, visual indicators, and multilingual voice guidance.

We also faced challenges in creating a smooth user journey across multiple modules including crop health analytics, yield prediction, crop diagnostics, planning, and market intelligence. Ensuring consistency in design, navigation, and data flow across the platform required continuous iteration.

Other Technical issues:

## 1. The Leaflet `removeChild` crash

The hardest bug in the project. When navigating between pages, React unmounted and remounted the `MapLayer` component. Leaflet's internal DOM tree doesn't survive React unmount cycles — every navigation triggered a `NotFoundError: Failed to execute 'removeChild' on 'Node'` that crashed the entire app into the ErrorBoundary.

**Fix:** We moved `MapLayer` out of the route tree entirely, rendering it once at the `App` level and never unmounting it. Visibility is controlled via CSS `visibility: hidden` and `pointer-events: none` — Leaflet never knows the page changed.

## 2. NDVI always returning 0.55

The Sentinel-2 STAC API query was failing silently — the cloud-cover filter was too strict for many Indian locations, returning zero features. Every call hit the catch block and returned our hardcoded fallback of `Array(144).fill(0.55)`.

**Fix 1:** Added a missing `centerNDVI` variable that was referenced but never defined, causing a `ReferenceError` that bypassed the real data path.

**Fix 2:** Rewrote the fallback to generate realistic spatially-varied NDVI from a deterministic seed based on `lat × lon`, so every pin location now produces a unique, physically plausible field grid even when satellite data is unavailable.

## 3. GSAP ScrollTrigger vs Lenis scroll conflict

The cinematic landing scroll worked perfectly with a mouse scrollbar but was completely non-functional with a trackpad or keyboard. The `ScrollTrigger` pin was fighting Lenis smooth-scroll, which was intercepting scroll events before GSAP could receive them.

**Fix:** Disabled Lenis entirely on the `/` route. ScrollTrigger owns the landing page scroll exclusively. On all other pages, Lenis runs normally.

## 4. Text-to-speech failing silently

The TTS button appeared to work — it triggered the `synth.speak()` call — but produced no audio. Chrome requires a small gap after `synth.cancel()` before a new utterance can be queued. Calling speak immediately after cancel was silently dropped.

**Fix:** Added a 50ms `setTimeout` between cancel and the next `speak()` call. We also added proper voice loading via the `voiceschanged` event (voices are loaded asynchronously in most browsers) and set the correct BCP-47 language tag (`hi-IN`, `mr-IN`, `pa-IN`, `ta-IN`) on the utterance so the correct voice is selected.

## 5. Vite proxy not configured

All `/api/*` calls returned 404 in development because Vite's dev server didn't know to forward them to the Express backend on port 5000. This only manifested after we moved the backend to a separate process.

**Fix:** Added a `proxy` configuration to `vite.config.js` forwarding all `/api` traffic to `http://localhost:5000`.

Through multiple development cycles, testing sessions, and UI refinements, we were able to transform a collection of complex agricultural datasets into a unified decision-support system that feels intuitive, responsive, and impactful.

## The problem it solves

India has 120 million smallholder farmers. ISRO and NASA publish thousands of satellite datasets covering every farm in the country — 10-metre resolution crop health imagery, soil moisture readings, rainfall forecasts, pest outbreak signatures. All of it is free. None of it reaches a farmer.

The data sits behind research portals built for scientists, not growers. A farmer in Bihar has no way to know that his field's NDVI dropped to 0.31 last Tuesday — which means severe crop stress — or that a pest outbreak signature appeared in the north-east quadrant of his plot.

**BhoomiSense is the last-mile translation layer.**

Drop a pin anywhere on a live satellite map of India. In 8 seconds you get:

  • **NDVI crop health grid** — a 12×12 colour-coded overlay on your field from real Sentinel-2 imagery, showing which patches are healthy, stressed, or at risk
  • **AI-generated 3-day action plan** — specific instructions for today, tomorrow, and day 3 based on fused satellite + NASA POWER soil moisture + live Mandi market prices
  • **Voice readout in 5 languages** — Hindi, Marathi, Punjabi, Tamil, English via Web Speech API
  • **180-day season planner** — a drag-scrollable crop calendar generated by Mistral AI, anchored to real historical NASA rainfall data for the exact location
  • **AI yield predictor** — predicts tons/hectare based on live NDVI + moisture + temperature, with an interactive What-If slider (change irrigation level, see yield change instantly)
  • **Crop Doctor** — upload a leaf photo, get AI disease diagnosis with treatment steps and urgency tags
  • **Market intelligence** — live Mandi prices, 7-day price chart, sell-window calendar, and a live profit calculator

**Who uses it:**

- Smallholder farmers who can't afford agronomic consultants (₹0 cost) - Agricultural extension officers who can cover more ground with data-backed visits - Agri-fintech platforms that need field-level crop health for loan underwriting - State agriculture departments monitoring district-level crop stress at scale

Team

From the public Devfolio project page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

No public repo linked, so we can't tell.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.