📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP

reverse-geocode-bd

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reverse-geocode-bd

Offline reverse geocoder for Bangladesh Map

1.0.7
99

Supply Chain Security

100

Vulnerability

98

Quality

100

Maintenance

100

License

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