🗺️ Kumpulan Data Peta Sumber Terbuka

Bentuk Taiwan

SVG, GeoJSON, TopoJSON — data peta sumber terbuka yang lengkap untuk pengembang, desainer, dan peneliti.

Mengapa Bentuk Taiwan Penting

Mintalah alat pembuat gambar AI mana pun untuk menggambar Taiwan, hasilnya hampir selalu berupa benda bulat dan gemuk, antara buah zaitun dan kentang. Taiwan bukan buah zaitun. Bentuknya seperti ubi jalar sepanjang 394 kilometer, dengan Pegunungan Tengah yang membentang dari utara ke selatan serta lebih dari seratus pulau lepas pantai.

Menggambar bentuknya dengan benar bukan sekadar detail desain, melainkan persoalan identitas. Halaman ini mengumpulkan semua materi peta sumber terbuka yang kami gunakan di taiwan.md agar siapa pun dapat menampilkan Taiwan secara akurat dalam proyek mereka sendiri.

🤖 vs. 🇹🇼 — AI Selalu Salah Menggambarnya, Sungguh

AI-generated Taiwan shape (wrong)
Buatan AI (Salah)
Correct Taiwan shape from Wikipedia
Versi yang Benar (Wikipedia)

📐 Kontur SVG — Sematkan Langsung

Empat set berkas SVG pilihan, semuanya berlisensi CC atau berada dalam domain publik. Dapat langsung digunakan di halaman web, App, atau rancangan desain apa pun.

Taiwan icon — Wikipedia

taiwan-icon.svg

簡潔的填色輪廓 — 適合做 icon、favicon、按鈕。

Wikimedia Commons · CC

Unduh SVG
Taiwan outline — SimpleMaps

taiwan-simplemaps.svg

乾淨向量檔 — 適合網頁嵌入。

SimpleMaps · 5 KB

Unduh SVG
Taiwan location map with city markers

taiwan-location-map.svg

位置地圖 — 含經緯度網格與城市標記。

Wikimedia Commons · CC

Unduh SVG
Taiwan political division map with counties

taiwan-political-division.svg

縣市邊界 — 彩色行政區劃。

Wikimedia Commons · CC

Unduh SVG

Cara Penggunaan

<!-- HTML -->
<img src="https://taiwan.md/assets/svg/taiwan-icon-wiki.svg" alt="Taiwan" width="200">

/* CSS */
background-image: url('https://taiwan.md/assets/svg/taiwan-icon-wiki.svg');

<!-- Markdown -->
![Taiwan](https://taiwan.md/assets/svg/taiwan-icon-wiki.svg)

Semua SVG berlisensi Creative Commons atau berada dalam domain publik. Sebaiknya cantumkan sumber, tetapi tidak wajib.

🌐 TopoJSON — Peta Interaktif Tingkat Kabupaten/Kota

Jika Anda ingin membuat peta interaktif—dengan fitur zoom, efek saat kursor diarahkan, dan pewarnaan berdasarkan nilai data—yang Anda butuhkan bukan jalur SVG, melainkan data koordinat geografis yang sesungguhnya. Kami telah mengemas berkas TopoJSON yang diekstrak dari taiwan-vue-components milik Waiting (lisensi MIT, 2018).

TopoJSON adalah versi GeoJSON yang dikompresi: batas yang digunakan bersama oleh kabupaten/kota bertetangga hanya disimpan satu kali sehingga ukuran berkas 80% lebih kecil. Gunakan topojson-client untuk mengonversinya kembali menjadi GeoJSON secara langsung.

TopoJSON vs GeoJSON — Mana yang Harus Dipilih

TopoJSON

TopoJSON: berkas lebih kecil, wilayah bertetangga berbagi batas, cocok untuk membuat peta web interaktif.

GeoJSON

GeoJSON: format sederhana, langsung kompatibel dengan Python geopandas, QGIS, dan sebagian besar alat GIS.

Kontur Seluruh Negara (22 Kabupaten/Kota)

Berkas TopoJSON berukuran sekitar 21 KB yang mencakup 22 kabupaten, kota, dan munisipalitas khusus, masing-masing sebagai feature tersendiri. Titik awal untuk membuat peta choropleth.

taiwan-country.topo.json
TopoJSON · 22 features · ~21 KB
Unduh TopoJSON

Data Tingkat Kecamatan untuk Seluruh 22 Kabupaten/Kota

Kami telah mengemas berkas TopoJSON tingkat kecamatan untuk seluruh 22 kabupaten/kota, semuanya diekstrak dari repo sumber yang sama.

taiwan-towns-63000.topo.json
臺北市 Taipei · 23 KB
Unduh TopoJSON
taiwan-towns-64000.topo.json
高雄市 Kaohsiung · 69 KB
Unduh TopoJSON
taiwan-towns-65000.topo.json
新北市 New Taipei · 24 KB
Unduh TopoJSON
taiwan-towns-66000.topo.json
臺中市 Taichung · 21 KB
Unduh TopoJSON
taiwan-towns-67000.topo.json
臺南市 Tainan · 27 KB
Unduh TopoJSON
taiwan-towns-68000.topo.json
桃園市 Taoyuan · 13 KB
Unduh TopoJSON
taiwan-towns-10002.topo.json
宜蘭縣 Yilan · 8 KB
Unduh TopoJSON
taiwan-towns-10004.topo.json
新竹縣 Hsinchu · 7 KB
Unduh TopoJSON
taiwan-towns-10005.topo.json
苗栗縣 Miaoli · 8 KB
Unduh TopoJSON
taiwan-towns-10007.topo.json
彰化縣 Changhua · 9 KB
Unduh TopoJSON
taiwan-towns-10008.topo.json
南投縣 Nantou · 10 KB
Unduh TopoJSON
taiwan-towns-10009.topo.json
雲林縣 Yunlin · 12 KB
Unduh TopoJSON
taiwan-towns-10010.topo.json
嘉義縣 Chiayi · 12 KB
Unduh TopoJSON
taiwan-towns-10013.topo.json
屏東縣 Pingtung · 14 KB
Unduh TopoJSON
taiwan-towns-10014.topo.json
臺東縣 Taitung · 11 KB
Unduh TopoJSON
taiwan-towns-10015.topo.json
花蓮縣 Hualien · 10 KB
Unduh TopoJSON
taiwan-towns-10016.topo.json
澎湖縣 Penghu · 4 KB
Unduh TopoJSON
taiwan-towns-10017.topo.json
基隆市 Keelung · 2 KB
Unduh TopoJSON
taiwan-towns-10018.topo.json
新竹市 Hsinchu City · 1 KB
Unduh TopoJSON
taiwan-towns-10020.topo.json
嘉義市 Chiayi City · 1 KB
Unduh TopoJSON
taiwan-towns-09007.topo.json
連江縣 Lienchiang (Matsu) · 2 KB
Unduh TopoJSON
taiwan-towns-09020.topo.json
金門縣 Kinmen · 3 KB
Unduh TopoJSON

以上已收錄全部 22 縣市。鄉鎮界資料出自 github.com/waiting7777/taiwan-vue-components,MIT License © 2018 Waiting。

🧭 Tabel Referensi Kode Wilayah Administratif

Wilayah administratif Taiwan dikodekan menggunakan angka. Berikut adalah tabel referensi untuk 22 wilayah administratif tingkat kabupaten/kota (aturan penamaan berkas: `towns-{code}.json`).

Kode Wilayah Administratif Jenis
63000 臺北市 Taipei municipality
64000 高雄市 Kaohsiung municipality
65000 新北市 New Taipei municipality
66000 臺中市 Taichung municipality
67000 臺南市 Tainan municipality
68000 桃園市 Taoyuan municipality
10002 宜蘭縣 Yilan county
10004 新竹縣 Hsinchu county
10005 苗栗縣 Miaoli county
10007 彰化縣 Changhua county
10008 南投縣 Nantou county
10009 雲林縣 Yunlin county
10010 嘉義縣 Chiayi county
10013 屏東縣 Pingtung county
10014 臺東縣 Taitung county
10015 花蓮縣 Hualien county
10016 澎湖縣 Penghu county
10017 基隆市 Keelung city
10018 新竹市 Hsinchu City city
10020 嘉義市 Chiayi City city
09007 連江縣 Lienchiang (Matsu) offshore
09020 金門縣 Kinmen offshore

💻 Contoh Penggunaan

D3.js — Choropleth Interaktif

// D3.js v7 + topojson-client
import * as d3 from 'd3';
import * as topojson from 'topojson-client';

const topo = await d3.json('https://taiwan.md/assets/geo/taiwan-country.topo.json');
const counties = topojson.feature(topo, topo.objects.map);

const projection = d3.geoMercator()
  .center([121, 24])
  .scale(8000)
  .translate([400, 300]);

const path = d3.geoPath().projection(projection);

d3.select('svg')
  .selectAll('path')
  .data(counties.features)
  .join('path')
    .attr('d', path)
    .attr('fill', d => colorScale(d.properties.value))
    .attr('stroke', '#333');

Python — geopandas

# Python — convert TopoJSON to GeoDataFrame
import json, geopandas as gpd
from topojson import Topology

with open('taiwan-country.topo.json') as f:
    topo = json.load(f)

# Convert to GeoJSON
topology = Topology(topo)
gdf = gpd.GeoDataFrame.from_features(
    topology.to_geojson()['features']
)
gdf.plot(column='name', legend=True)

Leaflet — Hamparan Peta Ubin

// Leaflet + topojson
import L from 'leaflet';
import * as topojson from 'topojson-client';

const map = L.map('map').setView([24, 121], 7);
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png').addTo(map);

fetch('https://taiwan.md/assets/geo/taiwan-country.topo.json')
  .then(r => r.json())
  .then(topo => {
    const geojson = topojson.feature(topo, topo.objects.map);
    L.geoJSON(geojson, {
      style: { color: '#4a90e2', weight: 1, fillOpacity: 0.3 }
    }).addTo(map);
  });

Vue — taiwan-vue-components

// Vue 2 — taiwan-vue-components (original source)
npm install taiwan-vue-components

// In your Vue component
import { Country, Taipei, Kaohsiung } from 'taiwan-vue-components';

<template>
  <div>
    <Country :width="400" :height="600" fill="#f0f0f0" stroke="#333" />
    <Taipei :width="300" :height="300" />
  </div>
</template>

📚 Sumber Data Terbuka Lainnya

Jika Anda membutuhkan lebih banyak daripada yang kami kemas di sini—resolusi lebih tinggi, proyeksi berbeda, atau batas wilayah administratif historis—berikut adalah sumber yang kami rekomendasikan:

  • 政府資料開放平臺 (data.gov.tw) — 政府官方開放資料平台,包含內政部發布的行政區界 shapefile。
  • Natural Earth — 公有領域全球地圖資料,1:10m / 1:50m / 1:110m 三種比例尺。適合做含台灣的世界地圖。
  • OpenStreetMap (Taiwan relation) — OSM 社群編輯的台灣地圖,可透過 Overpass API 與 Geofabrik 下載 OSM XML 或 PBF。
  • GADM — Taiwan — 全球行政區資料庫,台灣行政區界 0-3 級,提供 Shapefile / GeoPackage / KMZ / R 格式。
  • g0v.tw — 台灣公民科技社群。許多 g0v 專案以開源形式發布整理過的地圖資料和視覺化。

⚖️ Lisensi dan Sumber

Setiap berkas di halaman ini bersifat sumber terbuka. Berikut adalah informasi lengkap mengenai sumber dan lisensinya:

  • taiwan-icon-wiki.svg · taiwan-location-map.svg · taiwan-political-division.svg — Wikimedia Commons,Creative Commons 授權。
  • taiwan-simplemaps.svg — SimpleMaps,標註來源後可免費商業使用。
  • taiwan-country.topo.json · taiwan-towns-*.topo.json — 出自 waiting7777/taiwan-vue-components, MIT License © 2018 Waiting.