Convert GEOJSON to SHP

Turn GEOJSON 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 GEOJSON files on the dialor turn it to pick what to do

A zip of shapefiles from your GeoJSON.Each kind of geometry gets its own shapefile, in the coordinate system of the source.

  1. What you get

    One zip file. It holds a shapefile for each kind of geometry in your GeoJSON: points, lines and polygons. A kind that is not in the source gets no shapefile.

    Each shapefile comes with its .shp, .shx, .dbf, .prj and .cpg parts. The coordinate system of the source is kept, and the attributes are written as UTF-8 columns.

  2. What changes

    Column names are cut to 10 characters. Lists and nested values become JSON text in their column, so they stay readable but are no longer structured.

    Features without a geometry are left out, because a shapefile row needs a shape.

  3. Going back

    To return to GeoJSON, use SHP to GEOJSON. To see other options for the source format, there is a page for every GEOJSON conversion.

GEOJSON and SHP.What each format is.

The formats

From · GEOJSON

GeoJSON

Points, lines and polygons as JSON, the web's map data format.

Extensions
.geojson
MIME type
application/geo+json
Kind
Text and data
To · SHP

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 GEOJSON to SHP conversion through the API, for your app or your agent.

terminal
$ cv convert report.geojson report.shp.zip
$ cv convert report.geojson report.shp.zip

Questions.What people ask about GEOJSON to SHP.

01OF 04

A shapefile holds one kind of geometry. The zip has one shapefile for each kind among points, lines and polygons in your file.

No. Column names are cut to 10 characters.

Lists and nested values become JSON text.

No. They are left out of the output.

More conversions.Other ways in and out of GEOJSON and SHP.