Convert TOPOJSON to SHP
Turn TOPOJSON files into Shapefile. A zip of shapefiles, one for each kind of geometry among points, lines and polygons, each with its .shp, .shx, .dbf, .prj and .cpg, in the source's coordinate system with the attributes as UTF-8 columns.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop TOPOJSON files on the dialor turn it to pick what to do
Shapefiles from your TopoJSON map.A zip with one shapefile for each kind of geometry, in the source's coordinate system.
What you get
One zip file. It holds a shapefile for each kind of geometry found among points, lines and polygons. Each shapefile comes with its .shp, .shx, .dbf, .prj and .cpg parts.
The coordinates stay in the coordinate system of the source. The attributes become columns in UTF-8.
What changes
Column names are cut to 10 characters. Lists and nested values become JSON text in their column.
Features without a geometry are left out.
If the TopoJSON has several layers, they are joined into one. A layer column names the layer each feature came from.
TOPOJSON and SHP.What each format is.
The formats
TopoJSON
TopoJSON, GeoJSON's compact cousin that shares borders between shapes, as D3 maps use it.
- Extensions
- .topojson
- MIME type
- application
/topo +json - Kind
- Text and data
Shapefile
Esri shapefiles zipped with their .shx, .dbf and .cpg parts, the vector format GIS programs exchange.
- Extensions
- .shp.zip .shz .shp
- MIME type
- application
/x -shapefile +zip - Kind
- Text and data
In your code.The same TOPOJSON to SHP conversion through the API, for your app or your agent.
$ cv convert report.topojson report.shp.zip$ cv convert report.topojson report.shp.zipQuestions.What people ask about TOPOJSON to SHP.
You get one zip file. Inside are separate shapefiles for the points, lines and polygons in the data, each with its .shp, .shx, .dbf, .prj and .cpg parts.
No. Several layers are joined into one, and a layer column names where each feature came from.
They are cut to 10 characters.
Lists and nested values become JSON text. The attributes are stored as UTF-8 columns.