MerxoDev Solutions

Navigation

ServicesJourneyAboutOur TeamToolsContactProjects
LanguageEnglish
Dark Mode
Get In Touch
npm v1.0.0MIT LicenseBangladesh Open Source 🇧🇩

Bangladesh GeoJSON & Data Suite

Open-source geographic data for Bangladesh — 8 divisions, 64 districts, 494+ upazilas, 1,349+ postcodes, and boundary GeoJSON. Free, accurate & developer-ready.

GitHub Repo
8
Divisions
Full administrative divisions with Geo lat/long
64
Districts
All 64 districts with bilingual names and centers
494+
Upazilas
Mapped to respective parent districts
1,349+
Postcodes
Post offices, upazilas and postal codes
Live Search Demo

Instant Bilingual Geographic Lookup

Search divisions, districts, upazilas, and post codes in English or বাংলা.

Quick tests:
Available Datasets

What's Included Inside the Package

View Full API Docs
bd-divisions.json1.2 KB
8 Divisions

Division names in English & Bengali, center coordinates, IDs.

import divisions from 'bangladesh-geojson/divisions';
bd-districts.json12 KB
64 Districts

All 64 districts mapped to division IDs with geographic coordinates.

import districts from 'bangladesh-geojson/districts';
bd-upazilas.json67 KB
494 Upazilas

Sub-districts / Thanas mapped with Bengali and English names.

import upazilas from 'bangladesh-geojson/upazilas';
bd-postcodes.json192 KB
1,349 Postcodes

Complete postal database for courier, e-commerce, and KYC validation.

import postcodes from 'bangladesh-geojson/postcodes';
bangladesh.geojson3.6 MB
Boundary Polygons

High-detail boundary polygon coordinates ready for MapLibre, Leaflet, D3.

import boundary from 'bangladesh-geojson/boundary';
dhaka-city.json32 KB
City Zones & Wards

DNCC & DSCC municipal areas, wards, and neighborhood breakdowns.

import dhaka from 'bangladesh-geojson/dhaka-city';
Developer Integration

Install & Use in Under 30 Seconds

Test in Browser Demo
# Install via npm or pnpm
npm install bangladesh-geojson
// Example: TypeScript / JavaScript usage
import bd from 'bangladesh-geojson';

// 1. Get all 8 divisions
const divisions = bd.getDivisions();

// 2. Cascade districts in Dhaka division
const dhakaDistricts = bd.getDistrictsByDivision('3');

// 3. Search bilingual records
const searchResults = bd.search('সিলেট');

// 4. Retrieve postcodes for courier checkout
const postcodes = bd.getPostcodesByDistrict('1');
Production Ready

Common Use Cases in Bangladesh Software

E-commerce Shipping & Delivery

Auto-complete checkout forms with dynamic Division → District → Upazila cascade dropdowns and valid postal codes.

KYC & FinTech Validation

Validate national ID (NID) present & permanent addresses against standardized official BBS administrative units.

Interactive GIS & NGO Reporting

Render detailed GeoJSON chloropleth maps for election visualizers, relief distribution, flood monitoring, and territory analytics.