Skip to main content

A Goe_coder to locate the coordinates of addresses from Myanmar

Project description

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."

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mm_geo_coder-0.1.1.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mm_geo_coder-0.1.1-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file mm_geo_coder-0.1.1.tar.gz.

File metadata

  • Download URL: mm_geo_coder-0.1.1.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.2

File hashes

Hashes for mm_geo_coder-0.1.1.tar.gz
Algorithm Hash digest
SHA256 40b9bb445cfafb6a8817b85e6b38e9a4b34c3f9af6b4d1bd53ff36f796ad02a6
MD5 2ee76a8227276295cff869f59e10b167
BLAKE2b-256 47dd5403acfac81e21e1a836408b987b3d2e1882301cc442569d56fb77e1d985

See more details on using hashes here.

File details

Details for the file mm_geo_coder-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: mm_geo_coder-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.2

File hashes

Hashes for mm_geo_coder-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6395129e13403f7e039ac82538c8aecf87f22ec18c76ee0759dd8279b2a00a4f
MD5 7daaf7a691e2c1da035f87d189e79638
BLAKE2b-256 f6abc98e5edcb46738fe5d2977c066edc405ca87d38b85a843c33e32024ad876

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page