pgtopo_export(1)

pgtopo_export1

Postgis topology exporter

Usage

pgtopo_export [options] database topology

Overview

The pgtopo_export script connects to the named database and exports data of the named topology and associated layers to a file with a custom format.

Usage

The <database> is the name of the database to connect to.

The <topology> is the name of the topology to read data from.

Options

The commandline options are:

-f <filename>

Write the output to a particular filename instead of stadard output.

--skip-layers

Do not export layers, just topology primitives. -h Display usage information.

Examples

An example session using the exporter to create an export file of a topology "city_data" from a database might look like this:

# pgtopo_export -f city_data.pgtopo_export my_db city_data

Releases

Unchanged in 3 releases since Debian 12 (Bookworm).

  1. 12–Arch

Authors

Originally written by Sandro Santilli <[email protected]>.

From postgis 3.6.4-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.