[postgis-tickets] r14517 - Add figures for ST_Boundary
Regina Obe
lr at pcorp.us
Tue Dec 22 11:32:35 PST 2015
Author: robe
Date: 2015-12-22 11:32:35 -0800 (Tue, 22 Dec 2015)
New Revision: 14517
Added:
trunk/doc/html/image_src/st_boundary01.wkt
trunk/doc/html/image_src/st_boundary02.wkt
Modified:
trunk/doc/html/image_src/Makefile.in
trunk/doc/reference_accessor.xml
Log:
Add figures for ST_Boundary
references #3406
Modified: trunk/doc/html/image_src/Makefile.in
===================================================================
--- trunk/doc/html/image_src/Makefile.in 2015-12-22 16:20:35 UTC (rev 14516)
+++ trunk/doc/html/image_src/Makefile.in 2015-12-22 19:32:35 UTC (rev 14517)
@@ -23,6 +23,8 @@
../images/de9im02.png \
../images/st_azimuth01.png \
../images/st_azimuth02.png \
+ ../images/st_boundary01.png \
+ ../images/st_boundary02.png \
../images/st_buffer01.png \
../images/st_buffer02.png \
../images/st_buffer03.png \
Added: trunk/doc/html/image_src/st_boundary01.wkt
===================================================================
--- trunk/doc/html/image_src/st_boundary01.wkt (rev 0)
+++ trunk/doc/html/image_src/st_boundary01.wkt 2015-12-22 19:32:35 UTC (rev 14517)
@@ -0,0 +1,2 @@
+Style1;LINESTRING(100 150,50 60, 70 80, 160 170)
+Style2;MULTIPOINT(100 150,160 170)
Added: trunk/doc/html/image_src/st_boundary02.wkt
===================================================================
--- trunk/doc/html/image_src/st_boundary02.wkt (rev 0)
+++ trunk/doc/html/image_src/st_boundary02.wkt 2015-12-22 19:32:35 UTC (rev 14517)
@@ -0,0 +1,2 @@
+Style1;POLYGON (( 10 130, 50 190, 110 190, 140 150, 150 80, 100 10, 20 40, 10 130 ), ( 70 40, 100 50, 120 80, 80 110, 50 90, 70 40 ))
+Style2;MULTILINESTRING((10 130,50 190,110 190,140 150,150 80,100 10,20 40,10 130),(70 40,100 50,120 80,80 110,50 90,70 40))
Modified: trunk/doc/reference_accessor.xml
===================================================================
--- trunk/doc/reference_accessor.xml 2015-12-22 16:20:35 UTC (rev 14516)
+++ trunk/doc/reference_accessor.xml 2015-12-22 19:32:35 UTC (rev 14517)
@@ -128,6 +128,50 @@
<refsection>
<title>Examples</title>
+ <informaltable>
+ <tgroup cols="2">
+ <tbody>
+ <row>
+ <entry><para><informalfigure>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/st_boundary01.png" />
+ </imageobject>
+ <caption><para>Linestring with boundary points overlaid</para></caption>
+ </mediaobject>
+ </informalfigure>
+ <programlisting>SELECT ST_Boundary(geom)
+FROM (SELECT 'LINESTRING(100 150,50 60, 70 80, 160 170)'::geometry As geom) As f;
+ </programlisting>
+<screen>-- ST_AsText output
+MULTIPOINT(100 150,160 170)
+</screen>
+ </para></entry>
+
+ <entry><para><informalfigure>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/st_boundary02.png" />
+ </imageobject>
+ <caption><para>polygon holes with boundary multilinestring</para></caption>
+ </mediaobject>
+ </informalfigure>
+ <programlisting>SELECT ST_Boundary(geom)
+FROM (SELECT
+'POLYGON (( 10 130, 50 190, 110 190, 140 150, 150 80, 100 10, 20 40, 10 130 ),
+ ( 70 40, 100 50, 120 80, 80 110, 50 90, 70 40 ))'::geometry As geom) As f;
+ </programlisting>
+<screen>-- ST_AsText output
+MULTILINESTRING((10 130,50 190,110 190,140 150,150 80,100 10,20 40,10 130),
+ (70 40,100 50,120 80,80 110,50 90,70 40))
+</screen>
+ </para></entry>
+ </row>
+
+ </tbody>
+ </tgroup>
+ </informaltable>
+
<programlisting>SELECT ST_AsText(ST_Boundary(ST_GeomFromText('LINESTRING(1 1,0 0, -1 1)')));
st_astext
-----------
@@ -156,7 +200,7 @@
<refsection>
<title>See Also</title>
- <para><xref linkend="ST_ExteriorRing" />, <xref linkend="ST_MakePolygon" /></para>
+ <para><xref linkend="ST_AsText" />, <xref linkend="ST_ExteriorRing" />, <xref linkend="ST_MakePolygon" /></para>
</refsection>
</refentry>
More information about the postgis-tickets
mailing list