Kodepos & GeoCoding JSON Seluruh Indonesia Sesuai BPS

map malang

Setelah sekian lama menelantarkan situs ini dan berkutat dengan pekerjaan & menjadi orang sok sibuk.

Kodepos & GeoCoding JSON Seluruh Indonesia Sesuai BPS

Kali ini saya akan membagikan kodepos seluruh indonesia, data ini saya buat karena kebutuhan kerjaan & beberapa kebutuhan pribadi pula.

Kodepos ini dapat digunakan sebagai sumber data untuk autocomplete atau sebagai teman makan nasi.

Struktur nya seperti berikut

data/
    ├─── csv/
    |   └─── 62/                                        (Country csv directory)
    |       ├─── countries.csv                          (Countries csv data)
    |       ├─── provinces.csv                          (Provinces csv data)
    |       ├─── cities.csv                             (Cities csv data)
    |       ├─── subDistricts.csv                       (Sub-Districts csv data)
    |       ├─── villages.csv                           (Villages csv data)
    |       ├─── postalCodes.csv                        (Postal Codes csv data)
    |       └─── translations.csv                       (Translations csv data)
    ├─── database/
    |   ├─── records.sqlite.db                          (SQLite Binary Database - geometry records has been set to null)
    |   ├─── ddl.sql                                    (DDL)
    |   ├─── ddl.uml
    |   └─── ddl.uml.png
    ├─── json/
    |   ├─── area/
    |   |   └─── 62/                                    (country root directory)
    |   |       ├─── 62.json                            (country json info)
    |   |       └─── [0-9]{2}/                          (provinces root directory)
    |   |           ├─── [0-9]{2}.json                  (province json info)
    |   |           └─── [0-9]{4}/                      (cities root directory)
    |   |               ├─── [0-9]{4}.json              (city json info)
    |   |               └─── [0-9]{7}/                  (sub-districts root directory)
    |   |                   └─── [0-9]{7}.json          (sub-district json info)
    |   |                       └─── [0-9]{11}/         (villages root directory - contain single file)
    |   |                           └─── [0-9]{11}.json (village json info)
    |   ├─── postal/                                    (country postal codes root directory)
    |   |   └─── 62.json                                (list of country postal codes)
    |   └─── translations/
    |       └─── 62/                                    (country translations root directory)
    |           └─── en.json                            (list of available areas translations)    
    └─── geojson/
       └─── 62/                                         (country geojson root directory)
           ├─── 62.json                                 (country geojson)
           └─── [0-9]{2}/                               (provinces geojson root directory)
               ├─── [0-9]{2}.json                       (province geojson)
               └─── [0-9]{4}/                           (cities geojson root directory)
                   ├─── [0-9]{4}.json                   (city geojson)
                   └─── [0-9]{7}/                       (sub-districts geojson root directory)
                       └─── [0-9]{7}.json               (sub-district geojson)

Langsung ke sumbernya : https://github.com/ArrayAccess/Indonesia-Postal-And-Area

One Reply to “Kodepos & GeoCoding JSON Seluruh Indonesia Sesuai BPS”

  1. Mazmur Andreas says:

    Halo, mau tanya itu untuk file “village” kenapa ada banyak kelurahan yang kode posnya ada 2 atau 3 ya?

Comments are closed.