# TopoJSON driver

Driver short name

TopoJSON

Driver built-in by default

This driver is built-in by default

(Note: prior to GDAL 2.3, the functionality of this driver was available in the GeoJSON driver. They are now distinct drivers)

The driver can read the TopoJSON format

## Driver capabilities

Supports Georeferencing

This driver supports georeferencing

Supports VirtualIO

This driver supports virtual I/O operations (/vsimem/, etc.)

## Datasource

The driver accepts three types of sources of data:

- Uniform Resource Locator (URL) - a Web address to perform HTTP request.

- Plain text file with TopoJSON data - identified from the file extension .json or .topojson

- Text passed directly and encoded in Topo JSON

Starting with GDAL 2.3, the URL/filename/text might be prefixed with TopoJSON: to avoid any ambiguity with other drivers. Alternatively, starting with GDAL 3.10, specifying the `-if TopoJSON` option to command line utilities accepting it, or `TopoJSON` as the only value of the `papszAllowedDrivers` of `GDALOpenEx()`, also forces the driver to recognize the passed URL/filename/text.

## See Also

- GeoJSON driver

- TopoJSON Format Specification