]> granicus.if.org Git - postgis/commitdiff
update st_translate include support for 3d flag
authorRegina Obe <lr@pcorp.us>
Wed, 8 Oct 2008 18:51:22 +0000 (18:51 +0000)
committerRegina Obe <lr@pcorp.us>
Wed, 8 Oct 2008 18:51:22 +0000 (18:51 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@3082 b70326c6-7e19-0410-871a-916f4a2858ee

doc/reference_new.xml

index 461da39b5308741ba95a8f9039085c3a69693a7d..cb38c7b2040f275fe14575b6953bb11e0b21a8ab 100644 (file)
@@ -2632,6 +2632,12 @@ CREATE INDEX idx_the_geom_26986_parcels
                based on the units defined in spatial reference (SRID) for this geometry.</para>
                
                <para>Availability: 1.2.2</para>
+               <!-- Optionally mention 3d support -->  
+               <para><inlinemediaobject>
+                               <imageobject>
+                                 <imagedata fileref="images/check.png" />
+                               </imageobject>
+                         </inlinemediaobject> This function supports 3d and will not drop the z-index.</para>
          </refsection>
        
          <refsection>
@@ -2649,7 +2655,13 @@ CREATE INDEX idx_the_geom_26986_parcels
                   wgs_transgeomtxt
        ---------------------------------------
        LINESTRING(-70.01 42.87,-70.11 42.88)
-       </programlisting>
+               </programlisting>
+               <para>Move a 3d point</para>
+               <programlisting>SELECT ST_AsEWKT(ST_Translate(CAST('POINT(0 0 0)' As geometry), 5, 12,3));
+       st_asewkt
+       ---------
+       POINT(5 12 3)   
+               </programlisting>
          </refsection>
        
          <!-- Optionally add a "See Also" section -->