ตราสัญลักษณ์ OpenStreetMap OpenStreetMap

Nominatim and Postcodes 42000 vs 41200

โพสต์โดย sabre23ts เมื่อ 27 พฤศจิกายน 2020 ในภาษา English

I’ve always being irked by OSM giving the wrong Postcode for some roads near my home area. Some roads give postcode 42000 but for some nearby it gives 41200.

Reading what Ionvia says enlightens …

  • Nominatim has to go a different way to determine the most likely postcode for a place where no addr:postcode tag exists.
    • First - search address from specific up to country, use postcode for first found addr:postcode tag.
    • Second - area search, the closest postcode centroid is used

It turns out the roads in my area are almost exactly in between 42000 centroid and 41200 centroid as overlayed screenshot below shows … 42000 & 41200 centroid in OSM Nominatim

Looks like long term solution to wrong postcode for my local area would be to tag Bandar Bukit Tinggi 2 with addr:postcode=41200

ที่ตั้ง: Bandar Bukit Tinggi 2, Bandar Bukit Tinggi, Klang City, Klang, Selangor, 41200, Malaysia
Email icon Bluesky Icon Facebook Icon LinkedIn Icon Mastodon Icon Telegram Icon X Icon

การอภิปราย

ความคิดเห็นจาก SimonPoole เมื่อ 29 พฤศจิกายน 2020 เมื่อเวลา 09:34 น.

The solution is to simply add addresses (with postcodes), naturally only if Malaysia uses something that fits in to the Schema we currently use osm.wiki/Key:addr If it doesn’t that is something that would have to be discussed.

เข้าสู่ระบบเพื่อแสดงความคิดเห็น