]> granicus.if.org Git - postgis/commitdiff
Add -Y copy switch
authorRegina Obe <lr@pcorp.us>
Tue, 13 Dec 2011 22:39:19 +0000 (22:39 +0000)
committerRegina Obe <lr@pcorp.us>
Tue, 13 Dec 2011 22:39:19 +0000 (22:39 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8395 b70326c6-7e19-0410-871a-916f4a2858ee

doc/using_raster_dataman.xml

index 5594188c294de81a0688e627aa0a1bfb787af26e..42e4d2e6341cbead8684680496438697afb0e300 100644 (file)
@@ -215,8 +215,8 @@ psql -d gisdb -f elev.sql</programlisting>
     <programlisting>raster2pgsql -s 4236 -I -C -M *.tif -F -t myschema.demelevation | psql -d gisdb</programlisting>
     
     <para>Load rasters Massachusetts state plane feet aerial tiles 
-       into a schema called <varname>aerial</varname> and create a full view, 2 and 4 level overview tables and directly insert to database.  Break up the rasters into 100x100 pixel tiles and apply raster constraints</para>
-    <programlisting>raster2pgsql -I -C -s 26986 -t 100x100 bostonaerials2008\*.jpg  -l 2,4 aerials.boston | psql -U postgres -d gisdb -h localhost -p 5432</programlisting>
+       into a schema called <varname>aerial</varname> and create a full view, 2 and 4 level overview tables and directly insert to database.  Break up the rasters into 100x100 pixel tiles and apply raster constraints. Use copy mode instead of table insert.</para>
+    <programlisting>raster2pgsql -I -C -Y -s 26986 -t 100x100 bostonaerials2008\*.jpg  -l 2,4 aerials.boston | psql -U postgres -d gisdb -h localhost -p 5432</programlisting>
  
   </sect1>
 </chapter>