Launch Week Day 2: Introducing Reports: An Extensible Reporting Framework for Socket Data.Learn More
Socket
Book a DemoSign in
Socket

reverse-geocode-bd

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reverse-geocode-bd

Offline reverse geocoder for Bangladesh Map

pipPyPI
Version
1.0.7
Maintainers
1

Reverse GeoCode BD

PyPI Downloads

Installation

$ pip install reverse-geocode-bd

A Python library for offline reverse geocoding. Reverse Geocode BD takes a (latitude , longitude) coordinate and returns the Division, District, Upazila and Thana of any location in Bangladesh.

Package Available at : https://pypi.org/project/reverse-geocode-bd/

Uses Example

from reverse_geocode_bd import ReverseGeoBD

loc = ReverseGeoBD()
loc.find(25.7363, 89.2715)

Or

import reverse_geocode_bd

reverse_geocode_bd.search(25.7363, 89.2715)

Output

{'division': 'Rangpur',
 'district': 'Rangpur',
 'upazila': 'Rangpur Sadar',
 'union': 'Paurashava'}

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts