fix typos

git-svn-id: http://svn.osgeo.org/postgis/trunk@12005 b70326c6-7e19-0410-871a-916f4a2858ee
This commit is contained in:
Regina Obe 2013-10-07 02:13:51 +00:00
parent 5131345590
commit 0facb127d7
2 changed files with 4 additions and 4 deletions

View file

@ -65,9 +65,9 @@ SET postgis.gdal.datapath TO '/usr/local/share/gdal.hidden';
SET postgis.gdal.datapath TO default;
</programlisting>
<para>Seting on windows for a particular database</para>
<para>Setting on windows for a particular database</para>
<programlisting>ALTER DATABASE gisdb
SET postgis.gdal.datapath = 'C:/Program Files/PostgreSQL/9.3/gdal_data';</programlisting>
SET postgis.gdal.datapath = 'C:/Program Files/PostgreSQL/9.3/gdal-data';</programlisting>
</refsection>
<refsection>

View file

@ -283,12 +283,12 @@
<para>An example session using the loader to create an input file and uploading it chunked in 100x100 tiles might look like this:</para>
<note><para>You can leave the schema name out e.g <varname>demelevation</varname> instead of <varname>public.demelevation</varname> and
the raster table will be created in the default schema of the database or user</para></note>
<programlisting>raster2pgsql -s 4236 -I -C -M *.tif -F -t 100x100 public.demelevation > elev.sql
<programlisting>raster2pgsql -s 4326 -I -C -M *.tif -F -t 100x100 public.demelevation > elev.sql
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 100x100 public.demelevation | psql -d gisdb</programlisting>
<programlisting>raster2pgsql -s 4326 -I -C -M *.tif -F -t 100x100 public.demelevation | psql -d gisdb</programlisting>
<para>Load rasters Massachusetts state plane meters aerial tiles
into a schema called <varname>aerial</varname> and create a full view, 2 and 4 level overview tables, use copy mode for inserting (no intermediary file just straight to db), and -e don't force everything in a transaction (good if you want to see data in tables right away without waiting). Break up the rasters into 128x128 pixel tiles and apply raster constraints. Use copy mode instead of table insert. (-F) Include a field called filename to hold the name of the file the tiles were cut from.</para>