]> granicus.if.org Git - postgis/commitdiff
git-svn-id: http://svn.osgeo.org/postgis/trunk@5514 b70326c6-7e19-0410-871a-916f4a2858ee
authorRegina Obe <lr@pcorp.us>
Wed, 7 Apr 2010 21:45:47 +0000 (21:45 +0000)
committerRegina Obe <lr@pcorp.us>
Wed, 7 Apr 2010 21:45:47 +0000 (21:45 +0000)
doc/faq_wktraster.xml
doc/reference_wktraster.xml

index dc1851b7056ac29e08234851801399512f2c5bb2..a71d92a33da337122fa83db68c1b927b83910db5 100644 (file)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <chapter>
-  <title>Raster Frequently Asked Questions</title>
+  <title>WKT Raster Frequently Asked Questions</title>
 
   <qandaset>
         <qandaentry>
index 910677abfe7e7c2f561c3bb8ef9eec1a32062f2b..81cb00938633abeaae31ba5011924aca5a4a80bc 100644 (file)
@@ -900,6 +900,49 @@ WHERE rid = 2;
                                <para><xref linkend="RT_ST_PixelSizeX" />, <xref linkend="RT_ST_PixelSizeY" />, <xref linkend="RT_ST_Box2D" /></para>
                        </refsection>
                </refentry>
+               
+               <refentry id="RT_ST_SetSRID">
+                 <refnamediv>
+                       <refname>ST_SetSRID</refname>
+       
+                       <refpurpose>Sets the SRID of a raster to a particular integer srid defined in the spatial_ref_sys table.</refpurpose>
+                 </refnamediv>
+       
+                 <refsynopsisdiv>
+                       <funcsynopsis>
+                         <funcprototype>
+                               <funcdef>raster <function>ST_SetSRID</function></funcdef>
+       
+                               <paramdef><type>raster </type>
+                               <parameter>rast</parameter></paramdef>
+       
+                               <paramdef><type>integer </type>
+                               <parameter>srid</parameter></paramdef>
+                         </funcprototype>
+                       </funcsynopsis>
+                 </refsynopsisdiv>
+       
+                 <refsection>
+                       <title>Description</title>
+       
+                       <para>Sets the SRID on a raster to a particular integer value.</para>
+       
+                       <note>
+                         <para>This function does not transform the raster in any way -
+                         it simply sets meta data defining the spatial ref of the coordinate reference system that it's currently in.
+                         Useful for transformations later.
+                         </para>
+                       </note>
+                 </refsection>
+       
+                 <refsection>
+                       <title>See Also</title>
+       
+                       <para><xref linkend="spatial_ref_sys" />, <xref linkend="RT_ST_SRID"/></para>
+                 </refsection>
+       
+               </refentry>
+
        </sect1>
        
        <sect1 id="Raster_Outputs">