TopoJSON 📊

TopoJSON (Topology-Aware JSON)

Open Beta
.topojson · application/json

TopoJSON, GeoJSON का एक टोपोलॉजी-जागरूक विस्तार है। यह साझा-चाप (shared-arc) एनकोडिंग (बहुभुजों के बीच की सीमाएँ केवल एक बार संग्रहीत) और निर्देशांकों के पूर्णांक क्वांटाइज़ेशन का उपयोग करता है — परिणामी फ़ाइल समतुल्य 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
निर्यात करें
Export पर क्लिक करें और 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