]> granicus.if.org Git - postgis/commitdiff
Update documentation about shp2pgsql -s/-g flag (#1524)
authorSandro Santilli <strk@keybit.net>
Tue, 21 Feb 2012 10:57:24 +0000 (10:57 +0000)
committerSandro Santilli <strk@keybit.net>
Tue, 21 Feb 2012 10:57:24 +0000 (10:57 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9244 b70326c6-7e19-0410-871a-916f4a2858ee

doc/using_postgis_dataman.xml

index f8d6bf67450eca16f75d62a31c36af719d8a648e..697e0922bf020c8517b4eb04811297519be610f4 100644 (file)
@@ -1744,23 +1744,14 @@ COMMIT;</programlisting>
     </varlistentry>
 
     <varlistentry>
-      <term>-s &lt;SRID&gt;</term>
+      <term>-s [&lt;FROM_SRID%gt;:]&lt;SRID&gt;</term>
       <listitem>
         <para>
           Creates and populates the geometry tables with the specified SRID.
-        </para>
-      </listitem>
-    </varlistentry>
-
-    <varlistentry>
-      <term>-r &lt;SRID&gt;</term>
-      <listitem>
-        <para>
-          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.
+          Optionally specifies that the input shapefile uses the given
+          FROM_SRID, in which case the geometries will be reprojected to the
+          target SRID.
+         FROM_SRID cannot be specified with -D.
         </para>
       </listitem>
     </varlistentry>