From 4d3de745cdabfa95f6c9e8854ae962324864bd3e Mon Sep 17 00:00:00 2001 From: Regina Obe Date: Fri, 10 Jun 2011 23:19:32 +0000 Subject: [PATCH] get rid of ST_SRSText usage is gone and replaced with just srid so parallel with geometry. Update all the function doco -- they used to use srstext, but now they use srid. git-svn-id: http://svn.osgeo.org/postgis/trunk@7368 b70326c6-7e19-0410-871a-916f4a2858ee --- doc/reference_raster.xml | 74 +++++++++++----------------------------- 1 file changed, 19 insertions(+), 55 deletions(-) diff --git a/doc/reference_raster.xml b/doc/reference_raster.xml index 022cae0bd..1e3423d2f 100644 --- a/doc/reference_raster.xml +++ b/doc/reference_raster.xml @@ -1638,52 +1638,6 @@ srid , - - - - ST_SRText - Returns the spatial reference srtext from spatial_ref_sys table corresponding to srid of raster. - - - - - - text ST_SRText - raster rast - - - - - - Description - - Returns the srtext corresponding to the spatial referenceof the raster object as defined in the spatial_ref_sys table. If not - defined returns proj4text and if not in spatial_ref_sys returns NULL. - - Availability: 2.0.0 - - - - Examples - - SELECT ST_SRSText(rast) As srtext -FROM somerast_table WHERE rid=2; - -srtext ----------------- -"GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563, -AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]], -PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]], -UNIT["degree",0.01745329251994328,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]" - - - - - - See Also - , - - @@ -3870,12 +3824,22 @@ FROM (SELECT band, ST_SummaryStats('o_4_boston','rast', band,true,0.25) As stats double precision OUT value double precision OUT count + integer ST_ValueCount raster rast double precision searchvalue double precision roundto=0 + + + integer ST_ValueCount + raster rast + integer nband + double precision searchvalue + double precision roundto=0 + + SETOF record ST_ValueCount text rastertable @@ -4083,7 +4047,7 @@ FROM dummy_rast WHERE rid=1; raster rast text format text[] options - text srs + integer srid @@ -4132,7 +4096,7 @@ FROM dummy_rast WHERE rid=2; See Also - + , @@ -4179,7 +4143,7 @@ FROM dummy_rast WHERE rid=2; Description - Returns the selected bands of the raster as a single Portable Network Graphics Image (PNG). Use if you need to export as less common raster types. If no band is specified, then the first 3 bands are exported. There are many variants of the function with many options. If no srs is specified then then srs of the raster is used. These are itemized below: + Returns the selected bands of the raster as a single Portable Network Graphics Image (PNG). Use if you need to export as less common raster types. If no band is specified, then the first 3 bands are exported. There are many variants of the function with many options. If no srid is specified then then srid of the raster is used. These are itemized below: nband is for single band exports. @@ -4223,27 +4187,27 @@ FROM dummy_rast WHERE rid=2; bytea ST_AsTIFF raster rast text[] options='' - text srs=sameassource + integer srid=sameassource bytea ST_AsTIFF raster rast text compression='' - text srs=sameassource + integer srid=sameassource bytea ST_AsTIFF raster rast integer[] nbands text compression='' - text srs=sameassource + integer srid=sameassource bytea ST_AsTIFF raster rast integer[] nbands text[] options - text srs=sameassource + integer srid=sameassource @@ -4258,7 +4222,7 @@ FROM dummy_rast WHERE rid=2; compression Compression expression -- JPEG90 (or someother percent), LZMA, JPEG, DEFALTE9. options text Array of GDAL create options as defined for GTiff (look at create_options for GTiff of ). or refer to GDAL Raster format options for more details. - srs If not specified uses the srtext corresponding to the spatial_ref_sys of the raster. + srid srid of spatial_ref_sys of the raster. This is used to populate the georeference information Availability: 2.0.0 - requires GDAL >= 1.6.0. @@ -4275,7 +4239,7 @@ FROM dummy_rast WHERE rid=2; See Also - , , + , , -- 2.50.1