thai_provinces_geo 0.1.1
thai_provinces_geo: ^0.1.1 copied to clipboard
Offline GPS reverse-geocoding for Thailand: map a latitude/longitude to its province, district and subdistrict. Pure Dart, built on thai_provinces.
0.1.1 #
- Docs: cite the source dataset — the Department of Provincial Administration (กรมการปกครอง, DOPA) subdistrict coordinate data published on data.go.th — in the data-source section. No code changes.
0.1.0 #
- Initial release. Offline GPS reverse-geocoding for Thailand:
reverseGeocode(lat, lng)andnearestSubdistrict(lat, lng, {maxKm})map a coordinate to its subdistrict (and thus district, province and postcode) via a nearest-reference-point lookup over an embedded table of DOPA subdistrict points. - Pure Dart, BYO coordinates (no GPS plugin, no network); depends only on
thai_provinces(re-exported, soSubdistrict/District/Provincecome along). GeoMatchcarries the matched subdistrict plus the great-circle distance.- Reference points: 7,452 subdistricts (Department of Provincial Administration / กรมการปกครอง dataset, gaps filled from kongvut/thai-province-data, MIT).