../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 \
--- /dev/null
+Style1;POLYGON((175 150, 20 40, 50 60, 125 100, 175 150))\r
+\r
--- /dev/null
+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
</refsection>
</refentry>
- <refentry id="ST_Force_2D">
+ <refentry id="ST_Force2D">
<refnamediv>
<refname>ST_Force2D</refname>
<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
<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>