Convert SHP to PARQUET

Turn SHP files into PARQUET. A GeoParquet file with one row for each feature: its shape as WKB in a geom column that GeoParquet metadata describes with its geometry types, bounding box and coordinate system, then every attribute as a column, with lists and nested values kept as Parquet lists and structs.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop SHP files on the dialor turn it to pick what to do

A GeoParquet file with one row per feature.Shapes go into a geom column and every attribute becomes its own column.

  1. What you get

    One GeoParquet file with one row for each feature in the shapefile. The shape is stored as WKB in a geom column. GeoParquet metadata describes that column with its geometry types, bounding box and coordinate system.

    Every attribute becomes a column. Lists and nested values stay as Parquet lists and structs.

  2. Coordinate system

    The coordinate system of the source is kept. If the data names no coordinate system, it is taken as WGS 84 when its coordinates fit.

    When the coordinates do not fit WGS 84, the conversion stops with unsupported_elements.

  3. Several layers

    When the source holds several layers, they are joined into one file. A layer column names the layer each feature came from. To join more Parquet files afterward, see merge PARQUET.

SHP and PARQUET.What each format is.

The formats

From · 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
To · PARQUET

Parquet

The columnar data format of analytics. Compressed, typed and fast to scan.

Extensions
.parquet .pq
MIME type
application/vnd.apache.parquet
Kind
Text and data

In your code.The same SHP to PARQUET conversion through the API, for your app or your agent.

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

Questions.What people ask about SHP to PARQUET.

01OF 04

Each row is one feature. It has the shape in the geom column and one column for each attribute.

Yes. The coordinate system of the source is kept and described in the GeoParquet metadata.

It is taken as WGS 84 when its coordinates fit. If they do not fit, the conversion stops with unsupported_elements.

The layers are joined into one file. The layer column tells you where each feature came from.

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