TopoJSON 📊

TopoJSON (Topology-Aware JSON)

Open Beta
.topojson · application/json

TopoJSON हा GeoJSON चा टोपोलॉजी-जागरूक विस्तार आहे. सामायिक-चाप एन्कोडिंग (बहुभुजांमधील सीमा फक्त एकदाच साठवल्या जातात) आणि निर्देशांकांचे पूर्णांक क्वांटायझेशन वापरते — परिणामी फाईल समतुल्य GeoJSON पेक्षा 60-80% लहान असते. D3.js, Mapshaper आणि Observable साठी प्रमाणित इनपुट; परस्परसंवादी कोरोप्लेथ नकाशे आणि वेब अॅटलाससाठी आदर्श.

आता TopoJSON निर्यात करा ✨ Open Beta — विनामूल्य, कोणत्याही मर्यादा नाहीत

मुख्य वैशिष्ट्ये

✓सामायिक-चाप एन्कोडिंग (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? ▼

Convert to TopoJSON and back

संबंधित स्वरूप

वारंवार एकत्र निर्यात केले जाणारे

Related Articles