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
એક્સપોર્ટ
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?

Convert to TopoJSON and back

સંબંધિત ફોર્મેટ

વારંવાર એકસાથે એક્સપોર્ટ થાય છે

Related Articles