shp2pgsql-gui Man page



shp2pgsql-gui – Graphical User Interface for shp2pgsql


shp2pgsql-gui [options]


This manual page documents briefly the shp2pgsql-gui command.

shp2pgsql-gui is a program that converts ESRI Shape files into SQL
statements and imports these statements to a PostGIS/PostgreSQL data‐
base. The GUI allows the user to set the shape file to import, the
PostGIS/PostgreSQL connection parameters and some options related to
the table where the data will be imported to.

shp2pgsql-gui can be called with some command line options that fill
the PostGIS/PostgreSQL server connection parameters in.


-d database
Specifies the name of the database where the data will be
imported to.

-h host
Specifies the host name of the machine on which the Post‐
GIS/PostgreSQL server is running.

-p port
Specifies the TCP port on which the PostGIS/PostgreSQL server is
listening for connections.

-U username
Specifies the username with which the user will connect to the

-W password
Specifies the password with which the user will connect to the

-? Shows help about shp2pgsql-gui command line arguments.


shp2pgsql, pgsql2shp

The documentation of pgsql2shp, shp2pgsql and shp2pgsql-gui in HTML
format is available on the filesystem at /usr/share/doc/postgis.


shp2pgsql-gui was written by Paul Ramsey and Mark
Cave-Ayland .

This manual page was written by Mònica Ramírez Arceda , for the Debian project. Permission is granted to copy, dis‐
tribute and/or modify this document under the terms of the GNU General
Public License, Version 2 and any later version published by the Free
Software Foundation.

On Debian systems, the complete text of the GNU General Public License
can be found in /usr/share/common-licenses/GPL-2.

January 14, 2012 SHP2PGSQL-GUI(1)