]> granicus.if.org Git - postgis/commitdiff
more examples -- put in a missing copy switch -- more switches to add.
authorRegina Obe <lr@pcorp.us>
Tue, 13 Dec 2011 21:58:41 +0000 (21:58 +0000)
committerRegina Obe <lr@pcorp.us>
Tue, 13 Dec 2011 21:58:41 +0000 (21:58 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8394 b70326c6-7e19-0410-871a-916f4a2858ee

doc/using_raster_dataman.xml

index c35f4c8d9acbd98d4bbec8f5c35e19c21f7aca04..5594188c294de81a0688e627aa0a1bfb787af26e 100644 (file)
                   </listitem>
                 </varlistentry>
                 
+               <varlistentry>
+                  <term>-Y</term>
+                  <listitem>
+                    <para>
+                      Use copy statements instead of insert statements.</para>
+                  </listitem>
+                </varlistentry>
+                
               </variablelist>
             </para>
           </listitem>
@@ -205,6 +213,10 @@ psql -d gisdb -f elev.sql</programlisting>
     <para>A conversion and upload can be done all in one step using UNIX pipes:</para>
         
     <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>
  
   </sect1>
 </chapter>