Negeri (state) / Wilayah Persekutuan (federal territory).
required
Administrative Name 1
admin_code1
string
ISO 3166-2:MY code, MY- prefix stripped.
required
Administrative Code 1
admin_name2
string
RESERVED — not populated. No licence-clean source currently maps place_name to a district (daerah); see project notes.
Administrative Name 2
admin_code2
string
RESERVED — not populated.
Administrative Code 2
admin_name3
string
RESERVED — not populated. No licence-clean mukim source was found; Malaysia's Copyright Act 1987 s.11 grants copyright to government works by default, unlike some other countries in this pipeline.
Administrative Name 3
admin_code3
string
RESERVED — not populated.
Administrative Code 3
latitude
number
WGS84 latitude, decimal degrees, max 5 dp. From GeoNames, joined by postal code.
Latitude
longitude
number
WGS84 longitude, decimal degrees, max 5 dp. From GeoNames, joined by postal code.
Longitude
accuracy
string
GeoNames accuracy of latitude/longitude. GeoNames documents 1=estimated, 4=geonameid, 6=centroid of addresses or shape; other values (e.g. 3) occur upstream without documentation. Empty where GeoNames gives none.
This dataset lists Malaysian five-digit postcodes with the place name and state for each,
across every state and federal territory, plus coordinates where a postal code could be
resolved to a single confident point.
Column definitions, row count, size and last-updated date are in datapackage.yaml.
Changes made to the source data: whitespace trimmed from all fields and exact duplicate
rows removed; admin_code1 set to the ISO 3166-2:MY code with the MY- prefix stripped;
coordinates joined from GeoNames by postal code (the single point for the code, or the
unique match on city name, never averaged) and rounded to 5 decimal places.
Not endorsed by, or affiliated with, MCMC or GeoNames.
Known limitations
Only the state tier (admin_name1 / admin_code1) is populated. District (daerah) and
mukim tiers are reserved as empty columns, because no source has yet been confirmed with a
licence that clears redistribution.
One postal code can serve more than one place. Postcode 40160 covers both Sungai Buloh and
Shah Alam in Selangor, so the primary key is (postal_code, place_name), never postal_code alone.
Where a postal code did not resolve to a single confident point, latitude, longitude and
accuracy are left blank rather than guessed.
Usage
The dataset files are available in CSV format and can be accessed and downloaded using
the links provided in datapackage.yaml. Read postal_code as text, never as a number.