postgis.git / summary / log / commit / refs

commit    ac52b2a2b7a596cc45dd7a65b4da2fd3bd7ca3d7
Author:   Paul Ramsey <pramsey@cleverelephant.ca>
Date:     Fri Feb 28 22:17:26 2020 +0000

    document ST_MinPossibleValue
    reference #4212


doc/reference_raster.xml | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/doc/reference_raster.xml b/doc/reference_raster.xml index 7cf5587a8..72c74b9ff 100644 --- a/doc/reference_raster.xml +++ b/doc/reference_raster.xml @@ -4191,6 +4191,51 @@ WHERE rid = 2; </refsection> </refentry> + <refentry id="ST_MinPossibleValue"> + <refnamediv> + <refname>ST_MinPossibleValue</refname> + <refpurpose>Returns the minimum value this pixeltype can store.</refpurpose> + </refnamediv> + + <refsynopsisdiv> + <funcsynopsis> + <funcprototype> + <funcdef>integer <function>ST_MinPossibleValue</function></funcdef> + <paramdef><type>text </type> <parameter>pixeltype</parameter></paramdef> + </funcprototype> + </funcsynopsis> + </refsynopsisdiv> + + <refsection> + <title>Description</title> + <para>Returns the minimum value this pixeltype can store.</para> + </refsection> + + <refsection> + <title>Examples</title> + + <programlisting>SELECT ST_MinPossibleValue('16BSI'); + + st_minpossiblevalue +--------------------- + -32768 + + +SELECT ST_MinPossibleValue('8BUI'); + + st_minpossiblevalue +--------------------- + 0 + </programlisting> + + </refsection> + + <refsection> + <title>See Also</title> + <para><xref linkend="RT_ST_BandPixelType" /></para> + </refsection> + </refentry> + <refentry id="RT_ST_HasNoBand"> <refnamediv> <refname>ST_HasNoBand</refname> [parent: 4c0a0b566501]