logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

pgtopo_import - postgis topology importer

Authors

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

Description

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

Examples

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

       # pgtopo_importcity_data<city_data.pgtopo_export|psqlnewdb

Name

       pgtopo_import - postgis topology importer

Options

       These are the supported options

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

       --skip-layers
              Do not include layers in the output SQL script. Just the topology schema.

       --only-layers
              Do not include the topology schema in the output SQL script. Just the layers.

       -f <filename>
              Read  the  export  file  from the specified filename, rather than from standard input.  -h Display
              usage information.

See Also

pgtopo_export(1)

       More information is available at http://postgis.netpgtopo_import(1)

Syntax

       pgtopo_import [options] topology

Usage

       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.

See Also