From 1cf549f70a0ebc5d83bdb1f358e5d7099103ea6c Mon Sep 17 00:00:00 2001 From: Bborie Park Date: Thu, 20 Jun 2013 15:57:59 +0000 Subject: [PATCH] Added docs regarding postgis.gdal.datapath GUC and postgis_gdal_version() git-svn-id: http://svn.osgeo.org/postgis/trunk@11556 b70326c6-7e19-0410-871a-916f4a2858ee --- doc/reference_raster.xml | 102 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 101 insertions(+), 1 deletion(-) diff --git a/doc/reference_raster.xml b/doc/reference_raster.xml index b769a9339..dd330dc94 100644 --- a/doc/reference_raster.xml +++ b/doc/reference_raster.xml @@ -333,6 +333,68 @@ VALUES (1, + + + + + + + This section lists the configuration variables available to control the behavior of raster functions. + + + + + Raster Configuration Options + + + + postgis.gdal.datapath + + A configuration option to assign the value of GDAL's GDAL_DATA option. + + + + + Description + + A PostgreSQL GUC variable for setting the value of GDAL's GDAL_DATA option. The postgis.gdal.datapath value should be the complete physical path to GDAL's data files. + + + This configuration option is of most use for Windows platforms where GDAL's data files path is not hard-coded. This option should also be set when GDAL's data files are not located in GDAL's expected path. + + + + + This option can be set in PostgreSQL's configuration file postgresql.conf. It can also be set by connection or transaction. + + + + + + Additional information about GDAL_DATA is available at GDAL's Configuration Options. + + + + + + + Examples + Set and reset postgis.gdal.datapath + + +SET postgis.gdal.datapath TO '/usr/local/share/gdal.hidden'; +SET postgis.gdal.datapath TO default; + + + + + See Also + + + + + + @@ -704,6 +766,44 @@ SELECT srid, scale_x, scale_y, blocksize_x, blocksize_y, num_bands, pixel_types, + + + PostGIS_GDAL_Version + Reports the version of the GDAL library in use by PostGIS. + + + + + + text PostGIS_GDAL_Version + + + + + + + Description + Reports the version of the GDAL library in use by PostGIS. Will also check and report if GDAL can find its data files. + + + + Examples + +SELECT PostGIS_GDAL_Version(); + postgis_gdal_version +----------------------------------- + GDAL 1.11dev, released 2013/04/13 + + + + + See Also + + + + + + PostGIS_Raster_Lib_Build_Date @@ -787,7 +887,7 @@ postgis_raster_lib_version - + ST_GDALDrivers -- 2.50.1