From f7757354f0feca47836bd947c82f6adbaad233f1 Mon Sep 17 00:00:00 2001 From: Regina Obe Date: Thu, 16 Jun 2011 20:29:43 +0000 Subject: [PATCH] Some cleanup. change ST_AsGDALRaster example using spatial ref to agree with new syntax of just passing in the srid. git-svn-id: http://svn.osgeo.org/postgis/trunk@7408 b70326c6-7e19-0410-871a-916f4a2858ee --- doc/reference_raster.xml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/reference_raster.xml b/doc/reference_raster.xml index b916f49f1..19715525f 100644 --- a/doc/reference_raster.xml +++ b/doc/reference_raster.xml @@ -890,7 +890,7 @@ postgis_raster_lib_version Description Returns a list of raster formats short_name,long_name and creator options of each format supported by your lib gdal. Use the short_name as input in the format parameter of . - Options vary depending on what drivers your libgdal was compiled with. create_options returns and xml formatted list of create_options for the specific driver. + Options vary depending on what drivers your libgdal was compiled with. create_options returns an xml formatted list of opt_name/opt_description create_options for the specific driver. Availability: 2.0.0 - requires GDAL >= 1.6.0. @@ -961,7 +961,7 @@ WHERE short_name = 'GTiff'; See Also - + , @@ -4117,9 +4117,10 @@ FROM dummy_rast WHERE rid=2; SELECT ST_AsGDALRaster(rast, 'GTiff') As rastjpg FROM dummy_rast WHERE rid=2; +-- Set georeferencing infornation to NAD83 long lat SELECT ST_AsGDALRaster(rast, 'GTiff', ARRAY['COMPRESS=JPEG', 'JPEG_QUALITY=90'], - '+proj=aea +lat_1=34 +lat_2=40.5 +lat_0=0 +lon_0=-120 +x_0=0 +y_0=-4000000 +ellps=GRS80 +datum=NAD83 +units=m +no_defs') As rasttiff + 4269) As rasttiff FROM dummy_rast WHERE rid=2; -- 2.50.1