From: Sandro Santilli Date: Wed, 21 Dec 2011 16:17:55 +0000 (+0000) Subject: Document the new -s from:to syntax of shp2pgsql [#994] X-Git-Tag: 2.0.0alpha1~384 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ffd5128d9c3c0dbc431afc5555333e4f03fcdaaa;p=postgis Document the new -s from:to syntax of shp2pgsql [#994] git-svn-id: http://svn.osgeo.org/postgis/trunk@8491 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/doc/man/shp2pgsql.1 b/doc/man/shp2pgsql.1 index 12dee56bc..c923cc83f 100644 --- a/doc/man/shp2pgsql.1 +++ b/doc/man/shp2pgsql.1 @@ -63,15 +63,10 @@ This allows loading of the majority of good data when there are some bad geometries that generate errors. Note that this cannot be used with the -D flag as the "dump" format always uses a transaction. .TP -\fB\-s\fR <\fISRID\fR> +\fB\-s\fR [<\fIFROM_SRID\fR>:]<\fISRID\fR> Creates and populates the geometry tables with the specified SRID. -.TP -\fB\-r\fR <\fISRID\fR> -Specifies that the input shapefile uses the given SRID. If -s is not -specified, this SRID will be used to populate the geometry table. If --s is specified, the geometries will be reprojected to the SRID given -in the -s parameter. If -G is specified, but -s is not, the geometries -will be reprojected to 4326. This parameter cannot be used with -D. +If FROM_SRID is given, the geometries will be reprojected. +Reprojection cannot be used with -D. .TP \fB\-G\fR Use the geography type instead of geometry. Geography is used to store