]> granicus.if.org Git - postgis/commitdiff
Add ST_SetUpperLeft
authorRegina Obe <lr@pcorp.us>
Fri, 9 Apr 2010 16:24:06 +0000 (16:24 +0000)
committerRegina Obe <lr@pcorp.us>
Fri, 9 Apr 2010 16:24:06 +0000 (16:24 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5517 b70326c6-7e19-0410-871a-916f4a2858ee

doc/reference_wktraster.xml

index 81cb00938633abeaae31ba5011924aca5a4a80bc..45f6a026a4207af4228743527757a6a4ac1c156c 100644 (file)
@@ -942,6 +942,46 @@ WHERE rid = 2;
                  </refsection>
        
                </refentry>
+               
+               <refentry id="RT_ST_SetUpperLeft">
+                       <refnamediv>
+                               <refname>ST_SetUpperLeft</refname>
+                               <refpurpose>Sets the value of the upper left corner of the pixel to projected x,y coordinates</refpurpose>
+                       </refnamediv>
+               
+                       <refsynopsisdiv>
+                               <funcsynopsis>
+                                 <funcprototype>
+                                       <funcdef>raster <function>ST_SetUpperLeft</function></funcdef>
+                                       <paramdef><type>raster </type> <parameter>rast</parameter></paramdef>
+                                       <paramdef><type>double precision </type> <parameter>x</parameter></paramdef>
+                                       <paramdef><type>double precision </type> <parameter>y</parameter></paramdef>
+                                 </funcprototype>
+                               </funcsynopsis>
+                       </refsynopsisdiv>
+               
+                       <refsection>
+                               <title>Description</title>
+                               
+                               <para>Set the value of the uppler left corner of raster to the projected x coordinates</para>
+                               </refsection>
+                               
+                               <refsection>
+                                       <title>Examples</title>
+                               
+                                       <programlisting>
+SELECT ST_SetUpperLeft(rast,-71.01,42.37)  
+FROM dummy_rast
+WHERE rid = 2;
+                                       </programlisting>
+                       
+                       </refsection>
+
+                       <refsection>
+                               <title>See Also</title>
+                               <para><xref linkend="RT_ST_UpperLeftX" />,<xref linkend="RT_ST_UpperLeftY" /></para>
+                       </refsection>
+               </refentry>
 
        </sect1>