Skip to content

Latest commit

ย 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

BhuX Banner

๐Ÿ—บ๏ธ BhuX โ€” UP Bhunaksha Geo-Referencing Tool

Convert Uttar Pradesh Bhunaksha UTM coordinates to Latitude/Longitude
and visualize land plots on interactive satellite maps

UTM Zone 43N WGS84 Sub-meter Vanilla JS MIT

Live Demo Release


๐Ÿ“‹ Table of Contents


๐Ÿ”ด The Problem

The Uttar Pradesh Revenue Department provides land record maps called Bhunaksha (เคญเฅ‚เคจเค•เฅเคถเคพ) that contain plot boundary sketches. These maps express coordinates in UTM (Universal Transverse Mercator) format โ€” specifically Zone 43N using the WGS84 datum.

The coordinates are given as Easting (X) and Northing (Y) values in meters, for example:

498234.56, 2952341.23
498289.12, 2952338.45
498291.78, 2952289.67

The problems with these raw coordinates:

Issue Impact
โŒ Can't use in Google Maps No way to view the plot location
โŒ No GPS device compatibility Can't navigate to the plot
โŒ No satellite overlay Can't verify boundaries visually
โŒ No official conversion tool Landowners are stuck
โŒ No area calculation Can't compute plot area in เคฌเฅ€เค˜เคพ/Acre
โŒ No digital sharing Can't share plot data electronically

โœ… The Solution

BhuX is a free, open-source web tool that:

  1. Converts UTM Zone 43N coordinates โ†’ WGS84 Latitude/Longitude
  2. Visualizes plot boundaries on interactive satellite maps
  3. Calculates area in เคฎยฒ, sq.ft, เคฌเฅ€เค˜เคพ (Bigha), เคฌเคฟเคธเฅเคตเคพ (Biswa), Acres, Hectares
  4. Exports geo-referenced data as GeoJSON, KML, CSV
  5. Runs entirely in-browser โ€” no server, no signup, no installation

๐ŸŽฅ Demo Video

Full walkthrough showing coordinate input, map visualization, area calculation, and export.

BhuX Demo


๐Ÿ“ธ Screenshots

๐Ÿ  Landing Page โ€” Map & Input Panel

Dark-themed interface with coordinate input on the left and interactive satellite map on the right. Map defaults to Uttar Pradesh view.

Landing Page

๐Ÿ—บ๏ธ Plot Visualization on Satellite Map

Plot polygon rendered on satellite/street map with corner markers, area label, and edge distance measurements.

Plot on Map

๐Ÿ“Š Area Statistics Dashboard

Area calculated in 8 units: Square Meters, Square Feet, เคฌเฅ€เค˜เคพ (Bigha), เคฌเคฟเคธเฅเคตเคพ (Biswa), Acres, Hectares, Perimeter, and Vertex count.

Stats Grid

๐Ÿ“‹ Coordinate Conversion Table

Side-by-side UTM (Easting/Northing) and WGS84 (Lat/Lng) values with copy and locate-on-map actions for each point.

Coordinate Table

๐Ÿ“ฅ Export & Share Panel

Export your geo-referenced plot as GeoJSON (for GIS), KML (for Google Earth), CSV (for Excel), shareable URL, or print.

Export Panel

๐Ÿ”„ Reverse Conversion (Lat/Lng โ†’ UTM)

Convert any Latitude/Longitude back to UTM coordinates. Useful for cross-referencing with Bhunaksha records.

Reverse Conversion


โœจ Features

Core Features

Feature Description
๐Ÿ”„ UTM โ†’ Lat/Lng Zone 43N WGS84 conversion with sub-meter precision
๐Ÿ›ฐ๏ธ Satellite Map Leaflet with Esri Satellite, OpenStreetMap, and Topo layers
๐Ÿ“ Plot Polygon Boundary visualization with corner markers
๐Ÿ“ Edge Distances Toggle boundary edge measurements in meters
๐Ÿ“Š Area Calculator mยฒ, sq.ft, acres, hectares, เคฌเฅ€เค˜เคพ, เคฌเคฟเคธเฅเคตเคพ
๐Ÿ“‹ Conversion Table UTM + Lat/Lng side-by-side with copy actions
๐Ÿ“ File Upload CSV/JSON drag-and-drop with auto-parsing
๐Ÿ“ Sample Data Pre-loaded plots from Lucknow, Varanasi, Agra

Export & Sharing

Format Use Case
๐ŸŒ GeoJSON GIS software, QGIS, web mapping libraries
๐ŸŒ KML Google Earth, Google Maps My Maps
๐Ÿ“Š CSV Excel, Google Sheets, data analysis
๐Ÿ”— Share Link URL with embedded coordinates
๐Ÿ–จ๏ธ Print Print-optimized map layout

Advanced

Feature Description
๐Ÿ”„ Reverse Conversion Lat/Lng โ†’ UTM for cross-referencing
โš ๏ธ UP Validation Warns if coordinates fall outside UP boundaries
โŒจ๏ธ Keyboard Shortcuts Ctrl+Enter to process coordinates
๐Ÿ“ฑ Responsive Works on desktop, tablet, and mobile
๐ŸŒ™ Dark Mode Premium dark glassmorphic theme
๐Ÿšซ Zero Dependencies Pure HTML/CSS/JS โ€” no npm, no build step

๐Ÿš€ Quick Start

Option 1: Direct Open (Simplest)

# Just open the file in your browser
open index.html
# or on Linux:
xdg-open index.html

Option 2: Local Server (Recommended)

# Clone the repository
git clone https://github.com/SONUVERMA11/bhux.git
cd bhux

# Start a local server (Python)
python3 -m http.server 8080

# Or with Node.js
npx serve .

# Open in browser
# http://localhost:8080

No build step. No npm install. No dependencies. Just serve and open.


๐Ÿ“– How to Use

Step 1๏ธโƒฃ โ€” Get Your UTM Coordinates

  1. Visit the UP Bhunaksha Portal
  2. Navigate to your district โ†’ tehsil โ†’ village
  3. Click on your plot to view the boundary sketch
  4. Note down the X (Easting) and Y (Northing) coordinate pairs from the sketch

Step 2๏ธโƒฃ โ€” Enter Coordinates in BhuX

Manual Entry:

Enter one coordinate pair per line:
498234.56, 2952341.23
498289.12, 2952338.45
498291.78, 2952289.67
498237.34, 2952292.89

File Upload:

  • Prepare a CSV file with columns: Easting, Northing or X, Y
  • Drag and drop the file onto the upload zone
  • Supports .csv, .json, and .txt formats

Sample Data:

  • Click the "๐Ÿ“ Samples" tab to try pre-loaded plots from Lucknow, Varanasi, or Agra

Step 3๏ธโƒฃ โ€” Fill Plot Details (Optional)

  • Enter District (เคœเคฟเคฒเคพ), Tehsil (เคคเคนเคธเฅ€เคฒ), Village (เค—เคพเคเคต), and Plot Number (เค–เคพเคคเคพ)
  • These details are included in exported files

Step 4๏ธโƒฃ โ€” Click "Convert & Map"

The tool will:

  • โœ… Convert all UTM coordinates to Lat/Lng
  • โœ… Draw the plot polygon on the satellite map
  • โœ… Calculate area in multiple units
  • โœ… Display the coordinate conversion table
  • โœ… Show a warning if coordinates are outside UP boundaries

Step 5๏ธโƒฃ โ€” Explore the Results

  • Switch map layers โ€” Satellite, Street, Terrain
  • Toggle edge labels โ€” Click "Edges" button to show boundary distances
  • Click any point in the table to locate it on the map
  • Copy coordinates โ€” Click the copy icon to copy Lat/Lng

Step 6๏ธโƒฃ โ€” Export Your Data

Button What You Get
GeoJSON .geojson file with polygon + properties + individual points
KML .kml file ready to open in Google Earth
CSV .csv file with all coordinates + area summary
Share Link Copies a URL you can share with anyone
Print Opens the print dialog with a clean map layout

Bonus: Reverse Conversion

Click "Reverse" in the header to convert any Lat/Lng back to UTM coordinates. Useful for:

  • Cross-referencing with Bhunaksha records
  • Verifying your conversion results
  • Converting Google Maps coordinates to UTM format

๐Ÿงฎ Technical Details

UTM Conversion Parameters

Parameter Value
UTM Zone 43N
Central Meridian 75ยฐE
Scale Factor (kโ‚€) 0.9996
False Easting 500,000 m
False Northing 0 m (Northern Hemisphere)
Ellipsoid WGS84
Semi-major axis (a) 6,378,137 m
Flattening (f) 1/298.257223563

Area Unit Conversions

Unit Equivalent
1 เคฌเฅ€เค˜เคพ (Bigha, UP Standard) 2,529.285 mยฒ
1 เคฌเคฟเคธเฅเคตเคพ (Biswa) 126.464 mยฒ
1 Bigha 20 Biswa
1 Acre 4,046.86 mยฒ
1 Hectare 10,000 mยฒ

Conversion Algorithm

The conversion uses the Transverse Mercator projection with the following approach:

  1. Compute the footpoint latitude from the meridian arc
  2. Apply series expansion for latitude correction
  3. Compute longitude from the central meridian offset
  4. Results are accurate to sub-meter precision

๐Ÿ“ Project Structure

bhux/
โ”œโ”€โ”€ index.html                    # Main application (single page)
โ”œโ”€โ”€ css/
โ”‚   โ””โ”€โ”€ style.css                 # Complete design system (dark theme)
โ”œโ”€โ”€ js/
โ”‚   โ”œโ”€โ”€ utm.js                    # UTM โ†” WGS84 conversion engine
โ”‚   โ”œโ”€โ”€ map.js                    # Leaflet map controller
โ”‚   โ”œโ”€โ”€ export.js                 # GeoJSON/KML/CSV export
โ”‚   โ”œโ”€โ”€ utils.js                  # Parsing, notifications, sample data
โ”‚   โ””โ”€โ”€ app.js                    # Main app orchestration
โ”œโ”€โ”€ assets/
โ”‚   โ”œโ”€โ”€ banner.png                # GitHub banner
โ”‚   โ”œโ”€โ”€ demo.webp                 # Demo video/animation
โ”‚   โ””โ”€โ”€ screenshots/              # Section screenshots
โ”‚       โ”œโ”€โ”€ 01_hero_and_map.png
โ”‚       โ”œโ”€โ”€ 02_plot_on_map.png
โ”‚       โ”œโ”€โ”€ 03_stats_grid.png
โ”‚       โ”œโ”€โ”€ 04_coordinate_table.png
โ”‚       โ”œโ”€โ”€ 05_export_panel.png
โ”‚       โ””โ”€โ”€ 06_reverse_conversion.png
โ””โ”€โ”€ README.md                     # This file

๐ŸŽฏ Use Cases

Who Use Case
๐Ÿ‘จโ€๐ŸŒพ Farmers / Landowners Verify plot boundaries on satellite imagery
๐Ÿ“ Surveyors Cross-reference Bhunaksha data with GPS measurements
โš–๏ธ Lawyers Generate geo-referenced evidence for land disputes
๐Ÿ—๏ธ Real Estate Visualize and share plot locations with clients
๐Ÿ›๏ธ Govt Officials Verify land records against satellite data
๐Ÿ“Š Researchers Extract geo-referenced land data for analysis
๐Ÿ‘จโ€๐Ÿ’ป Developers Export GeoJSON/KML for GIS integration

๐Ÿ› ๏ธ Technology Stack

Component Technology
Structure HTML5 Semantic
Styling Vanilla CSS (Custom Properties, Glassmorphism)
Logic Vanilla JavaScript ES6+
Mapping Leaflet.js v1.9.4
Satellite Tiles Esri World Imagery
Street Tiles OpenStreetMap
Fonts Inter + JetBrains Mono

๐Ÿค Contributing

Contributions are welcome! Here are some ideas:

  • Add support for UTM Zone 44N (eastern UP districts)
  • Integrate with UP Bhunaksha API for direct plot lookup
  • Add Hindi-only mode (เคชเฅ‚เคฐเฅเคฃ เคนเคฟเค‚เคฆเฅ€)
  • Implement drawing mode to create polygons by clicking on map
  • Add PDF report generation with map + details
  • Support for other Indian states' Bhunaksha systems
# Fork โ†’ Clone โ†’ Branch โ†’ Code โ†’ PR
git checkout -b feature/your-feature
git commit -m "Add: your feature description"
git push origin feature/your-feature

๐Ÿ“„ License

This project is licensed under the MIT License โ€” free for personal and commercial use.


Built with โค๏ธ to solve real land record problems in Uttar Pradesh
If this helped you, consider giving it a โญ on GitHub!

About

๐Ÿ—บ๏ธ UP Bhunaksha Geo-Referencing Tool โ€” Convert UTM Zone 43N coordinates to Lat/Lng and visualize land plots on satellite maps. Area in เคฌเฅ€เค˜เคพ, acres, hectares. Export GeoJSON/KML/CSV. Zero dependencies.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages