TopoJSON 📊

TopoJSON (Topology-Aware JSON)

Open Beta
.topojson · application/json

TopoJSON은 위상 정보를 인식하는 GeoJSON의 확장입니다. 공유 아크 인코딩(폴리곤 사이의 경계를 한 번만 저장)과 좌표의 정수 양자화를 사용하여, 결과 파일이 동등한 GeoJSON보다 60-80% 작습니다. D3.js, Mapshaper, Observable의 표준 입력 형식이며, 대화형 단계구분도와 웹 아틀라스에 이상적입니다.

지금 TopoJSON 내보내기 ✨ 오픈 베타 — 무료, 제한 없음

주요 기능

공유 호 인코딩(GeoJSON보다 60~80% 작음)
좌표의 정수 양자화
위상 보존 단순화
피처 속성 보존

TopoJSON 형식 소개

TopoJSON was invented by Mike Bostock, the author of D3.js, to solve a simple problem: in GeoJSON neighboring polygons store their shared border twice. TopoJSON moves all the lines into a common array of arcs that the objects then refer to. On top of that, coordinates are rounded to an integer grid and written as increments — the file gets sharply lighter.

The format is taken for web graphics and analytics: choropleths in D3, interactive atlases, boundary maps in Observable, lightweight layers for offline applications. The second motive is simplification: during generalization the shared borders move together, and no gaps appear between neighboring districts.

The output is a single document: every layer becomes a separate object inside it — roads, buildings, water and so on — and object attributes are preserved. Coordinates are in WGS84, up to 100,000 objects per layer. The topology is built by our own code, with no external dependencies.

The price of compactness is the rounding of coordinates. The grid step depends on the size of the area: for a district it is on the order of a meter, for a country hundreds of meters. For a web map that is invisible; for precise measurements take GeoJSON or GeoPackage.

TopoJSON 파일을 여는 프로그램

다음 프로그램과 애플리케이션으로 OSM2CDR에서 내보낸 TopoJSON (Topology-Aware JSON)(.topojson) 파일을 열고 편집하고 작업할 수 있습니다:

💻D3.js 💻Mapshaper 💻topojson-server 💻topojson-client 💻Observable 💻ndjson-cli

Format specifications

TopoJSON 지도 사용자

🏗
D3.js 인터랙티브 단계 구분도
A choropleth in D3.js draws fast: shared district borders are stored and rendered once.
💻
웹 아틀라스 및 지도 기반 출판물
A web atlas and cartographic publications where page weight matters.
📊
경량 행정 경계 지도
Administrative boundary layers that can be simplified without gaps between neighbors.
🎨
오프라인 웹 애플리케이션(PWA)
An offline application or a PWA: the map takes several times less space than in GeoJSON.
🗺
분석 및 시각화(Observable)
Exploratory analysis in Observable and notebooks — the data loads as a single small file.

TopoJSON 내보내기 방법

1
영역 선택
osm2cdr.ru의 인터랙티브 지도에서 사각형 또는 폴리곤을 그리세요
2
TopoJSON 선택
사용 가능한 127가지 내보내기 형식 목록에서 TopoJSON (Topology-Aware JSON)을(를) 선택하세요
3
내보내기
내보내기를 클릭하면 1~5분 안에 .topojson 파일을 받습니다
4
다운로드
완성된 TopoJSON 파일을 다운로드하여 D3.js에서 여세요

내보낸 뒤 여는 방법

TopoJSON 형식의 인기 지도

무료

TopoJSON (Topology-Aware JSON) 지도 내보내기 받기

OpenStreetMap에서 전문가용 TopoJSON 지도를 다운로드하세요. 즉시 생성, 모든 영역 지원.

무료 / 내보내기
지금 TopoJSON 내보내기 →

자주 묻는 질문

TopoJSON은 GeoJSON과 어떻게 다른가요?
TopoJSON을 다시 GeoJSON으로 변환할 수 있나요?
D3.js는 왜 TopoJSON을 선호하나요?
TopoJSON은 3D를 지원하나요?
How are the layers arranged inside the file?
What is quantization and what does it affect?

관련 형식

함께 자주 내보내는 형식

Related Articles