From: Regina Obe Date: Mon, 7 Oct 2013 02:13:51 +0000 (+0000) Subject: fix typos X-Git-Tag: 2.2.0rc1~1346 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0facb127d7484118ab8f5c2a8b2abfebf275c693;p=postgis fix typos git-svn-id: http://svn.osgeo.org/postgis/trunk@12005 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/doc/reference_guc.xml b/doc/reference_guc.xml index 92787e8ff..5e33273a7 100644 --- a/doc/reference_guc.xml +++ b/doc/reference_guc.xml @@ -65,9 +65,9 @@ SET postgis.gdal.datapath TO '/usr/local/share/gdal.hidden'; SET postgis.gdal.datapath TO default; - Seting on windows for a particular database + Setting on windows for a particular database ALTER DATABASE gisdb -SET postgis.gdal.datapath = 'C:/Program Files/PostgreSQL/9.3/gdal_data'; +SET postgis.gdal.datapath = 'C:/Program Files/PostgreSQL/9.3/gdal-data'; diff --git a/doc/using_raster_dataman.xml b/doc/using_raster_dataman.xml index 5f3ae23b3..def8ad75a 100644 --- a/doc/using_raster_dataman.xml +++ b/doc/using_raster_dataman.xml @@ -283,12 +283,12 @@ An example session using the loader to create an input file and uploading it chunked in 100x100 tiles might look like this: You can leave the schema name out e.g demelevation instead of public.demelevation and the raster table will be created in the default schema of the database or user - raster2pgsql -s 4236 -I -C -M *.tif -F -t 100x100 public.demelevation > elev.sql + raster2pgsql -s 4326 -I -C -M *.tif -F -t 100x100 public.demelevation > elev.sql psql -d gisdb -f elev.sql A conversion and upload can be done all in one step using UNIX pipes: - raster2pgsql -s 4236 -I -C -M *.tif -F -t 100x100 public.demelevation | psql -d gisdb + raster2pgsql -s 4326 -I -C -M *.tif -F -t 100x100 public.demelevation | psql -d gisdb Load rasters Massachusetts state plane meters aerial tiles into a schema called aerial 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.