<para>Returns true if there is no band with given band number. If no band number is specified, then band number 1 is assumed.</para>
<para>Availability: 2.0.0</para>
- </refsection>
-
- <refsection>
- <title>Examples</title>
+ </refsection>
- <programlisting>SELECT rid, ST_HasNoBand(rast) As hb1, ST_HasNoBand(rast,2) as hb2,
+ <refsection>
+ <title>Examples</title>
+
+ <programlisting>SELECT rid, ST_HasNoBand(rast) As hb1, ST_HasNoBand(rast,2) as hb2,
ST_HasNoBand(rast,4) as hb4, ST_NumBands(rast) As numbands
FROM dummy_rast;
- rid | hb1 | hb2 | hb4 | numbands
+rid | hb1 | hb2 | hb4 | numbands
-----+-----+-----+-----+----------
- 1 | t | t | t | 0
- 2 | f | f | t | 3
- </programlisting>
+1 | t | t | t | 0
+2 | f | f | t | 3
+ </programlisting>
</refsection>
<para><xref linkend="RT_ST_NumBands" /></para>
</refsection>
</refentry>
-
</sect1>
<sect1 id="Raster_Pixel_Accessors">
linkend="RT_ST_BandIsNoData"/></para>
</refsection>
</refentry>
-
-
-
-
-
</sect1>
<sect1 id="Raster_Outputs">
RETURNS boolean
AS 'MODULE_PATHNAME'
LANGUAGE 'C' IMMUTABLE STRICT;
+
+-- Deprecation in 1.2.3
+CREATE OR REPLACE FUNCTION convexhull(geometry)
+ RETURNS geometry
+ AS 'MODULE_PATHNAME','convexhull'
+ LANGUAGE 'C' IMMUTABLE STRICT
+ COST 100;
-- Deprecation in 1.2.3
CREATE OR REPLACE FUNCTION crosses(geometry,geometry)
$$
LANGUAGE 'SQL' IMMUTABLE STRICT;
--- Deprecation in 1.2.3
-CREATE OR REPLACE FUNCTION convexhull(geometry)
- RETURNS geometry
- AS 'MODULE_PATHNAME','convexhull'
- LANGUAGE 'C' IMMUTABLE STRICT
- COST 100;
-
-- PostGIS equivalent function: convexhull(geometry)
CREATE OR REPLACE FUNCTION ST_ConvexHull(geometry)
RETURNS geometry