Welcome to the "Places in Bangladesh" repository! This repository provides comprehensive data on divisions, districts, upazilas, and unions of Bangladesh, making it a valuable resource for various applications and projects. Whether you're building a website, mobile app, or conducting research, you can freely use and contribute to this repository.
This repository offers data in various formats to suit your project's needs, each with specific columns:
-
JSON: Structured data in JSON format for easy integration into web applications and APIs.
- Division:
id
,name
,bn_name
,url
. - District:
id
,division_id
,name
,bn_name
,lat
,lon
,url
. - Upazila:
id
,district_id
,name
,bn_name
,url
. - Union:
id
,upazila_id
,name
,bn_name
,url
.
- Division:
-
CSV: Comma-separated values, a widely supported format for data analysis and spreadsheet software.
- Columns: Varies by data type, including the columns listed above.
-
PHP: PHP arrays, ideal for web applications using PHP.
- Columns: Varies by data type, including the columns listed above.
-
XML: Extensible Markup Language, a flexible format often used for data interchange.
- Columns: Varies by data type, including the columns listed above.
-
SQL: SQL scripts to create database tables and insert data, making it easy to set up a relational database.
- Columns: Varies by data type, including the columns listed above.
-
Go: Go (Golang) structs, if you prefer to work with Go in your application.
- Fields: Varies by data type, including the fields corresponding to the columns listed above.
You can choose the format that best suits your needs for importing, querying, and integrating the data into your project.
The data is organized hierarchically to represent the administrative divisions of Bangladesh:
- Divisions (8): The highest administrative units.
- Districts (64): Subdivisions of divisions.
- Upazilas (494): Subdivisions of districts.
- Unions (4,540): The smallest administrative units, often found within upazilas.
-
Clone the Repository: Clone this repository to your local environment using the following command:
git clone https://github.com/your-username/places-in-bangladesh.git
-
Choose the Data Format: Select the data format that best suits your project's needs. You can choose from JSON, CSV, PHP, XML, SQL, or Go formats.
-
Select the Administrative Level: Depending on your project requirements, choose the specific administrative level you need: division, district, upazila, or union.
-
Import Data into Your Application: After selecting the data format and administrative level, import the selected data into your application or database.
-
Using SQL: If you've chosen the SQL format, you can use the provided SQL scripts to create database tables and insert data.
-
Other Formats: For other formats (JSON, CSV, PHP, XML, Go), you can directly integrate the data into your code or use it as needed.
- Contribute to the Repository: If you discover inaccuracies or have additional information to contribute, we welcome your contributions. Feel free to submit a pull request to help improve the data quality and benefit the community.
-
The data in this repository is sourced from Nuhil Mehdy .
-
Our goal is to maintain accurate and up-to-date data. If you come across any inaccuracies or have updates, please consider contributing to enhance the dataset.
-
This repository is open-source and freely available for use by the community.
-
For specific licensing information regarding individual data files, please refer to their respective documentation (if any).
- We extend a heartfelt thank you to all the contributors who have aided in compiling and maintaining this repository. Your contributions are instrumental in making this resource valuable for everyone.
-
If you have any questions, feedback, or suggestions, please don't hesitate to contact us. We value your input and are here to assist you.
-
Happy coding and enjoy utilizing the "Places in Bangladesh" data!