]> granicus.if.org Git - postgis/commitdiff
Change link id of ST_Force2D from ST_Force_2D to ST_Force2Dm add doco for ST_Straight...
authorRegina Obe <lr@pcorp.us>
Mon, 7 Jul 2014 23:17:59 +0000 (23:17 +0000)
committerRegina Obe <lr@pcorp.us>
Mon, 7 Jul 2014 23:17:59 +0000 (23:17 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@12756 b70326c6-7e19-0410-871a-916f4a2858ee

doc/html/image_src/Makefile.in
doc/html/image_src/st_straightskeleton01.wkt [new file with mode: 0644]
doc/html/image_src/st_straightskeleton02.wkt [new file with mode: 0644]
doc/reference_editor.xml
doc/reference_guc.xml
doc/reference_sfcgal.xml

index cb934afee5a7faf37bdd85b57a4bd1d94942922f..0f6bd83b62aa58138c5866854989c588a21623a0 100644 (file)
@@ -107,6 +107,8 @@ IMAGES= \
        ../images/st_split02.png \
        ../images/st_split03.png \
        ../images/st_split04.png \
+       ../images/st_straightskeleton01.png \
+       ../images/st_straigntskeleton02.png \
        ../images/st_symdifference01.png \
        ../images/st_symdifference02.png \
        ../images/st_touches01.png \
diff --git a/doc/html/image_src/st_straightskeleton01.wkt b/doc/html/image_src/st_straightskeleton01.wkt
new file mode 100644 (file)
index 0000000..b212002
--- /dev/null
@@ -0,0 +1,2 @@
+Style1;POLYGON((175 150, 20 40, 50 60, 125 100, 175 150))\r
+\r
diff --git a/doc/html/image_src/st_straightskeleton02.wkt b/doc/html/image_src/st_straightskeleton02.wkt
new file mode 100644 (file)
index 0000000..fd68b33
--- /dev/null
@@ -0,0 +1,5 @@
+Style2;LINESTRING(175 150,121.456565534391 104.78234711288)\r
+Style2;LINESTRING(20 40,49.7293800158567 60.4525085450564)\r
+Style2;LINESTRING(50 60,49.7293800158567 60.4525085450564)\r
+Style2;LINESTRING(125 100,121.456565534391 104.78234711288)\r
+Style2;LINESTRING(49.7293800158567 60.4525085450564,121.456565534391 104.78234711288)\r
index 6c99d5f2c634c4926deeeb026986bcafe100616d..14557b5eadcc14bb2511f89ae44169772b455ff3 100644 (file)
@@ -170,7 +170,7 @@ SELECT ST_AsEWKT(ST_Affine(the_geom, cos(pi()), -sin(pi()), 0, sin(pi()), cos(pi
          </refsection>
        </refentry>
 
-       <refentry id="ST_Force_2D">
+       <refentry id="ST_Force2D">
          <refnamediv>
                <refname>ST_Force2D</refname>
 
index 10f333ba143e5386f140eb42ee44e5ffb05e7f4f..d3d55f5026320f8a4232e8e3e89d3ca07e61f8da 100644 (file)
         <para>This GUC is only relevant if you compiled PostGIS with sfcgal support.  By default <varname>geos</varname> backend is used for functions where both GEOS and SFCGAL have the same named function.  This variable allows you to override and make sfcgal the backend to service the request.</para>\r
         <para>Availability: 2.1.0</para>\r
       </refsection>\r
+      \r
+      <refsection>\r
+       <title>Examples</title>\r
+       <para>Sets backend just for life of connection</para>\r
+       <programlisting>set postgis.backend = sfcgal;</programlisting>\r
+       \r
+       <para>Sets backend for new connections to database</para>\r
+       <programlisting>ALTER DATABASE mygisdb SET postgis.backend = sfcgal;</programlisting>\r
+      </refsection>\r
       <refsection>\r
                          <title>See Also</title>\r
                          <para><xref linkend="reference_sfcgal" /></para>\r
index 389fc823018ca831420daf19d5a9ae2c10ab3747..a574541d7f4123dd4151190ec19f484bde840d1b 100644 (file)
                <para>&P_support;</para>
                <para>&T_support;</para>
          </refsection>
+         
+         <refsection><title>Examples</title>
+                       <programlisting>SELECT ST_StraightSkeleton(ST_GeomFromText('POLYGON((175 150, 20 40, 50 60, 125 100, 175 150))'));</programlisting>
+                       
+                <informaltable>
+                                 <tgroup cols="2">
+                                       <tbody>
+                                         <row>
+                                               <entry><para><informalfigure>
+                                                       <mediaobject>
+                                                         <imageobject>
+                                                               <imagedata fileref="images/st_straightskeleton01.png" />
+                                                         </imageobject>
+                                                         <caption><para>Original polygon</para></caption>
+                                                       </mediaobject>
+                                                 </informalfigure></para>
+                                         </entry>
+                                         <entry><para><informalfigure>
+                                                       <mediaobject>
+                                                         <imageobject>
+                                                               <imagedata fileref="images/st_straightskeleton02.png" />
+                                                         </imageobject>
+                                                         <caption><para>Straight Skeleton of polygon</para></caption>
+                                                       </mediaobject>
+                                                 </informalfigure></para>
+                                         </entry>
+                               </row>
+                               </tbody>
+                               </tgroup>
+                       </informaltable>
+         </refsection>
 
        </refentry>