India has digitised land records for most of its villages. Cadastral maps (Bhunaksha), records of rights (Jamabandi / khata), government valuation (DLC rates) — it is all public.

But for a farmer, a land buyer or a broker standing in a field, that data is almost unusable. It lives on different state portals, in different formats, with different spellings of the same village, and none of it is joined together.

I'm Nitesh, and for the last couple of years I've been building Zona — an app and website that puts all of it on one map. Today it has 1.8 lakh+ downloads and around 80,000 monthly active users across Rajasthan and Madhya Pradesh.

This post is the developer side of that story: the stack, the GIS problems nobody warns you about, how we generate SEO pages for 100k+ villages without melting a single backend server, and a security lesson from last week.

The product in one paragraph

You pick a district, tehsil and village, enter a khasra number (plot number), and Zona shows:

the exact cadastral boundary on satellite imagery,
ownership / record-of-rights information from public government records,
local price signals from the Zona Land Index plus DLC rates,
and land listed for sale nearby — every listing with its actual map.

On the web, every state, district, tehsil and (data-rich) village gets its own page, e.g. the Rajasthan land records hub or the Alwar district page.

The stack

Nothing exotic — the interesting part is the data, not the framework.

Layer What we use
Mobile app React Native (TypeScript), Zustand, Mapbox
Backend Node.js + Express on a single Render instance
Data Firestore, object storage for imagery and documents
Website Next.js App Router with ISR, deployed separately
Maps Mapbox satellite raster + vector tiles
Admin A React + Vite panel we call Heartbeat

The constraint that shaped every decision: we are bootstrapped. One backend instance, a very small team, and every rupee of infra spend has to be justified.

GIS lesson 1: "a parcel" is rarely one polygon

Users don't buy one khasra. They buy three adjacent khasras, or a strip of six. In the app they tap plots on the map, and we have to show exactly what they selected — not an approximation.

Early versions drew a convex hull around all selected parcels. It looked fine… until a user selected an L-shaped piece of land and the hull swallowed the neighbour's field. On a land app, that is not a cosmetic bug.

The fix is a proper polygon union:

js
const pc = require('polygon-clipping');

// rings: [[ [lng, lat], ... ], ...] — one ring per selected khasra
function landGeometry(rings) {
const polys = rings.map((r) => [closeRing(r)]);
const union = pc.union(...polys); // MultiPolygon
return union; // drawn as-is; hull used only for camera framing
}

Rule we now follow everywhere: the hull is only for the camera; the union is what we draw.

GIS lesson 2: pick one projection and convert at the edges

Government village geometry often arrives in EPSG:3857 (Web Mercator metres), the app works in lng/lat, and area calculations need something closer to real metres on the ground. Mixing them silently is the fastest way to get a "29 bigha" plot reported as 31.

What worked for us:

store geometry in one canonical form,
convert at the boundaries (import, render, measure),
and always cross-check computed area against the area in the record — if they differ by more than a tolerance, flag it instead of showing it.
GIS lesson 3: the hardest problem is names, not maps

The same village can appear as Harsora, Harsoda, हरसोरा and Harsora Khurd across systems. Tehsils get split, districts get created (Rajasthan added several new districts recently), and codes don't always line up.

Most of our "GIS" engineering time actually went into entity resolution: normalising transliterations, matching by codes where they exist, and falling back to fuzzy matching plus human review where they don't. If you're building anything on Indian public data, budget for this. It is 80% of the work.

Programmatic SEO for 100k+ villages (and what went wrong)

The website's job is simple: when someone searches "bhunaksha alwar" or "jamabandi kaise dekhe", they should land on a useful page. That means a page per state, district, tehsil and village — a lot of URLs.

ISR instead of building everything

We don't build 100k pages at deploy time. Districts are pre-rendered; tehsils, villages and listings are rendered on first request and cached with ISR:

ts
// app/[state]/[district]/[tehsil]/page.tsx
export const revalidate = 21600; // 6 hours
export const dynamicParams = true; // render unknown tehsils on demand

All backend calls go through one helper with next: { revalidate }, so Vercel/Render asks our backend once per page per window instead of once per visitor.

Mistake 1: a sitemap that timed out

Our village sitemap was generated by walking district → tehsil → village and calling the API for every tehsil. In a browser (warm cache) it worked. For Googlebot on a cold cache, it timed out — and Search Console showed our sitemap index as "Success" with 0 discovered URLs for days.

The fix was boring and effective: one backend endpoint that returns the whole state's sitemap from memory in a single call, and a sitemap route that returns 503 (retry later) instead of an empty file when the source is down.

Mistake 2: publishing thin pages

We had 25,000 village pages in the sitemap that, honestly, had nothing on them except a name and a template. Google crawled a few, decided the site was thin, and stopped indexing even our good pages.

New rule: a village page is indexable only when it has something unique — a listing or price data. Everything else is noindex, follow and stays out of the sitemap until data arrives:

ts
robots: hasListing || hasPriceData ? undefined : { index: false, follow: true },

We also killed 66 near-duplicate "district guide" pages (94% identical text) by redirecting them to the real district pages. Fewer pages, more signal.

Small things that added up
Titles trimmed to ~60 characters at a word boundary (we had 2,300 titles that were too long).
Every page gets a complete Open Graph block, including an image.
No fake lastmod: today in sitemaps — Google learns to ignore it.
All image URLs forced to https:// — one http:// env var caused 4,000+ mixed-content warnings.

If you want to see the result, start from the state-wise land records directory or our free land calculators (bigha ↔ acre, stamp duty, EMI).

A side project inside the project: property reels from data

Short videos sell land in India. Brokers kept paying video editors for reels full of vague claims, so we built a reel engine that writes the video from the parcel itself:

the real boundary on satellite (three.js scene in a headless browser),
a Mapbox dark-map view of roads and nearby villages,
measured distances to towns and expressways,
nearby government infrastructure projects — only facts we can verify,
a Hindi voice-over and music, mixed with ffmpeg.

One spec (JSON) drives everything, so the same player renders the final MP4 on the server and plays a live preview on the user's phone in a WebView. The whole thing runs under ₹5 per reel. That probably deserves its own post.

What's next: LandMind

Zona answers "what is this piece of land?". The next question is "where is land changing?" — conversions, new corridors, transaction activity, price momentum. We're building LandMind, a multi-layer geospatial intelligence platform where these layers sit on one map and AI does the joining: change detection, entity resolution across sources, parcel scoring, and natural-language queries like "recently converted parcels within 10 km of the expressway".

If you work on geospatial, GIS or Indian public data, I'd love to compare notes.

Try it
🌐 Website: zonamap.app
📍 Browse by state: zonamap.app/states
🧮 Free land tools: zonamap.app/tools
📄 What is a Jamabandi? Rajasthan Jamabandi guide

Questions about the stack, GIS in Node.js, or programmatic SEO at village scale — ask in the comments. I'll answer all of them.

— Nitesh Agarwal, founder of Zona (built in Alwar, Rajasthan)