uzgeocoder 0.6.0 copy "uzgeocoder: ^0.6.0" to clipboard
uzgeocoder: ^0.6.0 copied to clipboard

Offline reverse geocoder for Uzbekistan. Converts latitude and longitude to region (viloyat) and district (tuman) enums, the nearest street and postal code. Pure Dart.

0.6.0 #

  • Breaking: Location has a new postOffice field (and a required postOffice constructor argument): the nearest UzPost office in the point's district, with its 6-digit index (the likely postal code) and distance. New nearestPostOffice(lat, lon). Data: 1,593 UzPost offices; the index matches OSM-tagged postal codes in the first 3 digits ~95% of the time, fully ~40–60%.

0.5.0 #

  • All data is decoded per district, only for the districts around the point: district boundaries for the (at most 6) districts whose bounding box contains it, and street data for the district it falls in (plus streets within 200 m of its border). Recently used districts stay cached. Memory 107 MB → 35 MB (AOT, whole process), first lookup 218 ms → 7 ms. Results are unchanged.
  • New: unload, setStreetCacheCapacity, maxStreetDistance, defaultStreetCacheCapacity.
  • Behavior changes: locateStreet returns null outside Uzbekistan; maxDistance above 200 m is reduced to 200 m. preload() now decodes and keeps everything (meant for servers; apps no longer need it), and preloadStreets() keeps every district's street data.

0.4.0 #

  • Breaking: locate returns the full address: new Location.street, houseNumber, streetDistance and address; toString() now prints the full address. Apps using locate now include the street data.
  • preload() also loads the street data.

0.3.0 #

  • Nearest street and house number from embedded OpenStreetMap data: locateStreet, preloadStreets. Data © OpenStreetMap contributors, ODbL 1.0; not included in builds that never call locateStreet.
  • Street names in Uzbek (Latin and Cyrillic), Russian and English; nearest street within 100 m (configurable), house number within 50 m. OSM data as of 2026-10-07.

0.2.0 #

  • Names in Uzbek Cyrillic, Russian and English: nameUzCyrl, nameRu, nameEn and nameIn(Lang) on Region and District.
  • Optional lang argument on locate; Location.regionName / districtName return names in that language.
  • Lang enum with Lang.fromCode('ru-RU') for parsing locale tags.

0.1.0 #

  • Initial release: locate, districtAt, regionAt with Region (14) and District (206) enums.
0
likes
155
points
--
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Offline reverse geocoder for Uzbekistan. Converts latitude and longitude to region (viloyat) and district (tuman) enums, the nearest street and postal code. Pure Dart.

Repository (GitHub)
View/report issues

Topics

#geocoding #uzbekistan #openstreetmap #location #offline

License

MIT (license)

More

Packages that depend on uzgeocoder