'41000000007719564100000000000000000000000000000000FFFFFFFF050005000400FDFEFDFEFEFDFEFEFDF9FAFEF' ||
'EFCF9FBFDFEFEFDFCFAFEFEFE04004E627AADD16076B4F9FE6370A9F5FE59637AB0E54F58617087040046566487A1506CA2E3FA5A6CAFFBFE4D566DA4CB3E454C5665')::raster);
</programlisting>
-
+ <sect id="Raster_Constructors">
+ <title>Raster Constructors</title>
+ <refentry id="RT_ST_MakeEmptyRaster">
+ <refnamediv>
+ <refname>ST_MakeEmptyRaster</refname>
+ <refpurpose>Returns an empty raster of given dimensions, pixel x y, skew and spatial reference system with no bands</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <funcsynopsis>
+ <funcprototype>
+ <funcdef>raster <function>ST_MakeEmptyRaster</function></funcdef>
+ <paramdef><type>integer </type> <parameter>width</parameter></paramdef>
+ <paramdef><type>integer </type> <parameter>height</parameter></paramdef>
+ <paramdef><type>float8 </type> <parameter>ipx</parameter></paramdef>
+ <paramdef><type>float8 </type> <parameter>ipy</parameter></paramdef>
+ <paramdef><type>float8 </type> <parameter>scalex</parameter></paramdef>
+ <paramdef><type>float8 </type> <parameter>scaley</parameter></paramdef>
+ <paramdef><type>float8 </type> <parameter>skewx</parameter></paramdef>
+ <paramdef><type>float8 </type> <parameter>skewy</parameter></paramdef>
+ <paramdef><type>integer </type> <parameter>srid</parameter></paramdef>
+ </funcprototype>
+ </funcsynopsis>
+ </refsynopsisdiv>
+
+ <refsection>
+ <title>Description</title>
+
+ <para>Returns the value that represents no data for the band</para>
+ </refsection>
+
+ <refsection>
+ <title>Examples</title>
+
+ <programlisting>
+INSERT INTO dummy_rast(rid,rast)
+VALUES(3, ST_MakeEmptyRaster( 100, 100, 0.0005, 0.0005, 1, 1, 0, 0, 4326) )
+ </programlisting>
+
+ </refsection>
+
+ <refsection>
+ <title>See Also</title>
+ <para></para>
+ </refsection>
+ </refentry>
+ </sect>
<sect1 id="Raster_Accessors">
<title>Raster Accessors</title>
<refentry id="RT_ST_BandNoDataValue">
<refsection>
<title>Examples</title>
- <programlisting><!-- TODO: Need example -->
+ <programlisting>SELECT ST_BandNoDataValue(rast,1) As bnval1,
+ ST_BandNoDataValue(rast,2) As bnval2, ST_BandNoDataValue(rast,3) As bnval3
+FROM dummy_rast
+WHERE rid = 2;
+
+ bnval1 | bnval2 | bnval3
+--------+--------+--------
+ 0 | 0 | 0
</programlisting>
</refsection>
<refsynopsisdiv>
<funcsynopsis>
<funcprototype>
- <funcdef>integer <function>ST_BandNoDataValue</function></funcdef>
+ <funcdef>text <function>ST_BandPixelType</function></funcdef>
<paramdef><type>raster </type> <parameter>rast</parameter></paramdef>
<paramdef><type>integer </type> <parameter>bandnum</parameter></paramdef>
</funcprototype>
skewx
pixelsizey
upperleftx + pixelsizex*0.5
-upperleftx + pixelsizey*0.5</programlisting></para>
+upperlefty + pixelsizey*0.5</programlisting></para>
</refsection>
<refsection>