Convert TOPOJSON to PARQUET

Turn TOPOJSON 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 TOPOJSON 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. Every attribute becomes its own column.

  1. What you get

    One GeoParquet file with one row for each feature in the TopoJSON. The shape of each feature 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 of its own.

  2. What is kept

    The coordinate system of the source is kept. Lists and nested values in the attributes stay as Parquet lists and structs, so they are not flattened into text.

  3. Several layers

    When the TopoJSON holds several layers, they are joined into one file. A layer column names the layer each feature came from, so you can still tell them apart.

    If you need to combine several Parquet files afterward, you can merge PARQUET.

TOPOJSON and PARQUET.What each format is.

The formats

From · TOPOJSON

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

terminal
$ cv convert report.topojson report.parquet
$ cv convert report.topojson report.parquet

Questions.What people ask about TOPOJSON to PARQUET.

01OF 04

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

In the geom column, as WKB. The GeoParquet metadata describes it with its geometry types, bounding box and coordinate system.

Lists and nested values are kept as Parquet lists and structs.

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

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