]> granicus.if.org Git - postgis/commitdiff
document raster ST_Transform function. Will provide examples later.
authorRegina Obe <lr@pcorp.us>
Sat, 11 Jun 2011 00:43:32 +0000 (00:43 +0000)
committerRegina Obe <lr@pcorp.us>
Sat, 11 Jun 2011 00:43:32 +0000 (00:43 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7370 b70326c6-7e19-0410-871a-916f4a2858ee

doc/reference_raster.xml

index 1e3423d2f74aedbefaa5cce4ad91b1f9635e97c2..e06bbf2845cb8b0e2c01d392105a1904bffedf3c 100644 (file)
@@ -3171,6 +3171,46 @@ WHERE rid = 2;
                                <para><xref linkend="RT_ST_UpperLeftX" />,<xref linkend="RT_ST_UpperLeftY" /></para>
                        </refsection>
                </refentry>
+               
+               <refentry id="RT_ST_Transform">
+                       <refnamediv>
+                               <refname>ST_Transform</refname>
+                               <refpurpose>Reprojects a raster in a known spatial reference system to another known spatial reference system using specified resampling algorithm. 
+                                   Uses NearestNeighbor if no algorithm is specified Options: NearestNeighbor, Bilinear, Cubic, CubicSpline, Lanczos.</refpurpose>
+                       </refnamediv>
+               
+                       <refsynopsisdiv>
+                               <funcsynopsis>
+                                 <funcprototype>
+                                       <funcdef>raster <function>ST_Transform</function></funcdef>
+                                       <paramdef><type>raster </type> <parameter>rast</parameter></paramdef>
+                                       <paramdef><type>integer </type> <parameter>srid</parameter></paramdef>
+                                       <paramdef choice='opt'><type>text </type> <parameter>algorithm=NearestNeighbor</parameter></paramdef>
+                                       <paramdef choice='opt'><type>double precision </type> <parameter>maxerr=0.125</parameter></paramdef>
+                                 </funcprototype>
+                               </funcsynopsis>
+                       </refsynopsisdiv>
+               
+                       <refsection>
+                               <title>Description</title>
+                               
+                               <para>Reprojects a raster in a known spatial reference system to another known spatial reference system using specified pixel warping algorithm. 
+                                   Uses 'NearestNeighbor' if no algorithm is specified and maxerror percent of 0.125 if no maxerr is specified.</para>
+                               <para>Algorithm options are: 'NearestNeighbor', 'Bilinear', 'Cubic', 'CubicSpline', and 'Lanczos'.  Refer to: <ulink url="http://www.gdal.org/gdalwarp.html">GDAL Warp resampling methods</ulink> for more details.</para>
+                               <para>Availability: 2.0.0  Requires GDAL 1.6.1+</para>
+                       </refsection>
+                               
+                       <refsection>
+                                       <title>Examples</title>
+                               
+                                       <programlisting>-- TO DO --</programlisting>
+                       </refsection>
+
+                       <refsection>
+                               <title>See Also</title>
+                               <para><xref linkend="ST_Transform" />, <xref linkend="RT_ST_SetSRID" /></para>
+                       </refsection>
+               </refentry>
 
        </sect1>
        <sect1 id="RasterBand_Editors">