GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
pgtopo_import(1) PostGIS pgtopo_import(1)

pgtopo_import - postgis topology importer

pgtopo_import [options] topology

The pgtopo_import data loader reads an export file written by pgtopo_export and outputs an SQL script reconstructing the topology therein contained.

The <topology> is the name to give to the re-created topology, which can be different from the name of the topology the export was made from.

By default the SQL script is written on standard output.

These are the supported options

(Note that --skip-layers and --only-layers are mutually exclusive.)

Do not include layers in the output SQL script. Just the topology schema.
Do not include the topology schema in the output SQL script. Just the layers.
Read the export file from the specified filename, rather than from standard input. -h Display usage information.

An example session using the loader to create an SQL file and uploading it might look like this:

# pgtopo_import city_data < city_data.pgtopo_export | psql newdb

Originally written by Sandro Santilli <strk@kbt.io>.

pgtopo_export(1)

More information is available at http://postgis.net


Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.