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