P
S
S
S
S
S
S
P
P S
P
S
S
P S
S
S
S
P
P
P
S
P
S
S
S
S
S
S
S
P
P S |
-b
-s from_srid:to_srid
(-d|a|c|p)
-d
-a
-c
-p
-f filename
-g geometry_column_name
-h hostname
-D
-e
-k
-i
-I
-p port
-P password
-r
-S
-u user
-w
-W
-N
-n
-G2
-T1
-X1
-m1 filename
-? |
Use a binary cursor.
If -s :to_srid 1 is not specified then from_srid is assumed and no transformation happens.
These are mutually exclusive options:
Drops the table, then recreates it and populates it with current shape file data.
Appends shape file into current table, must be exactly the same table schema.
Creates a new table and populates it, default if you do not specify any options.
Prepare mode, only creates the table.
Use this option to specify the name of the file to create
Specify the name of the geometry column to be (S) created (P) exported.
Specify db server host name defaults to localhost.
Use postgresql dump format (defaults to sql insert statments).
Execute each statement individually, do not use a transaction. Not compatible with -D
Keep postgresql identifiers case.
Use int4 type for all integer dbf fields.
Create a GiST index on the geometry column.
Allows you to specify a database port other than the default. Defaults to 5432.
Connect to the database with the specified password.
Raw mode. Do not unescape attribute names and not skip the 'gid' attribute.
Generate simple geometries instead of MULTI geometries.
Connect to the database as the specified user.
Use wkt format (for postgis-0.x support - drops M - drifts coordinates).
encoding The character encoding of Shape's attribute column. (default : "UTF-8")
policy Specify NULL geometries handling policy (insert,skip,abort)
Only import DBF file.
Use geography type instead of geometry (requires lon/lat data) in WGS84 long lat (-s SRID=4326)
Specify the tablespace for the new table. Indexes will still use the default tablespace unless the -X parameter is also used.
Specify the tablespace for the new index.
Remap identifiers to ten character names. The content of the file is lines of two symbols separated by a single white space.
Display this help screen
|