]> granicus.if.org Git - postgis/commitdiff
Document the new -s from:to syntax of shp2pgsql [#994]
authorSandro Santilli <strk@keybit.net>
Wed, 21 Dec 2011 16:17:55 +0000 (16:17 +0000)
committerSandro Santilli <strk@keybit.net>
Wed, 21 Dec 2011 16:17:55 +0000 (16:17 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8491 b70326c6-7e19-0410-871a-916f4a2858ee

doc/man/shp2pgsql.1

index 12dee56bcb3188b937353a10ece04ea11cdb6169..c923cc83f310d45300f3a23cb5cbd288307be204 100644 (file)
@@ -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