Skip to main content

Title

Myanmar Address Geo Coder

Description

This project addresses the lack of a standardized module for Myanmar addresses and aims to make it easier for developers to retrieve the geographic coordinates of locations across Myanmar. It first searches the MIMU database to find the most precise match at the village or ward level. If a match is not found, it progressively falls back to the township, district, or region levels to provide the nearest available coordinates. If the address cannot be found in the MIMU database, the system then uses Nominatim (based on OpenStreetMap) as a fallback to retrieve the geolocation data.

Tasks

  1. Searching the Mimu database: Parse the given address into components (state, district, township, ward, village) and query the MIMU database for a match.
  2. Fallback to nearest available level: If still not found, return the latitude and longitude of the nearest available administrative level (township, district, or region).
  3. Fallback to Nominatim: If no match is found in MIMU, attempt to search using Nominatim.
  4. Return geolocation data: Provide the best available latitude and longitude based on the search hierarchy.

Installation

Install from PyPI:

pip install mm_geo_coder

Usage

from mm_geo_coder import MMGeoCoder

geo_coder = MMGeoCoder(address)
location = geo_coder.get_geolocation()
print(location)


Credits and Licensing

  • Project Lead: Myo Thida
  • Institution/Affiliation: MMDT
  • Data Source: Myanmar Information Management Unit (MIMU), veresion 9.6 resleased in Feb 2025

This project and its outputs are released under the MIT License.
You are free to use, modify, and distribute the code and dataset with proper attribution.

© 2025 Myo Thida. All rights reserved.
If you use this project in your work, please cite or link back to this repository and the parent project:
"From Words to Coordinates: Mapping Myanmar's Unstructured Addresses to Coordinates."

Metadata

Release files for mm-geo-coder 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mm-geo-coder 0.2.1
File Size Uploaded Provenance Actions
mm_geo_coder-0.2.1.tar.gz 3.2 MB Without provenance Details for mm_geo_coder-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mm-geo-coder 0.2.1
File Interpreter ABI Platform Actions
mm_geo_coder-0.2.1-py3-none-any.whl Python 3 none any Details for mm_geo_coder-0.2.1-py3-none-any.whl

Total release size: 6.5 MB

Release files / mm_geo_coder-0.2.1.tar.gz

Download URL mm_geo_coder-0.2.1.tar.gz
Size 3.2 MB
Tags Source
SHA-256 checksum
How to use checksums
66bcaf8bc1bf01f7267b1753d8abc478db29188215b140d8b8ec1e65dcad4287
BLAKE2b-256 checksum
How to use checksums
5422f2dcb358f2c59c97d25134c0dc55219b5da235c1bbfe44f813715df9ed75
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.2

Release files / mm_geo_coder-0.2.1-py3-none-any.whl

Download URL mm_geo_coder-0.2.1-py3-none-any.whl
Size 3.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
bea2d20a87ccc4683a13092e4bb004750f8ca04b292d0e39ef75255cc452468f
BLAKE2b-256 checksum
How to use checksums
874a0bb24bc4950eb01da9af9ea06bb305f3731f90636381cd6493cef5865ed7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.2

Security for mm-geo-coder 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page