]> granicus.if.org Git - postgis/commitdiff
make diagrams more interesting
authorRegina Obe <lr@pcorp.us>
Wed, 25 Nov 2009 23:07:13 +0000 (23:07 +0000)
committerRegina Obe <lr@pcorp.us>
Wed, 25 Nov 2009 23:07:13 +0000 (23:07 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@4899 b70326c6-7e19-0410-871a-916f4a2858ee

doc/html/image_src/st_longestline01.wkt
doc/html/image_src/st_shortestline01.wkt
doc/reference_measure.xml

index 13cfe5b1165baea5aa18e539f0e5a4c7af0e0e06..1d83898fb1b5d2aaab3e8d8b12844c2fc74b4fbc 100644 (file)
@@ -1,3 +1,3 @@
 Style2;POINT(100 50)
-Style2-mediumline;LINESTRING (10 80, 100 199 )
-Style1-thinline;LINESTRING(100 50,100 199)
+Style2-mediumline;LINESTRING (20 80, 98 190, 110 180, 50 75 )
+Style1-thinline;LINESTRING(100 150,20 80)
index 7e1f1b16825d0f057845de9beb69daf34cd292d1..7f3cb6ec511ca345ddb6323853ec88a83f990a86 100644 (file)
@@ -1,3 +1,3 @@
 Style2;POINT(100 50)
-Style2-mediumline;LINESTRING (10 80, 100 199 )
-Style1-thinline;LINESTRING(100 50,28.3145411257356 104.21589326625)
+Style2-mediumline;LINESTRING (20 80, 98 190, 110 180, 50 75 )
+Style1-thinline;LINESTRING(100 150,94.6153846153846 153.076923076923)
index ba2fe571989d619e3578984d2c041f0a9407efdd..6ec3f2e1160a9237351aa2999074d9c4bc7a27f6 100644 (file)
@@ -1383,7 +1383,7 @@ postgis=# SELECT ST_MaxDistance('POINT(0 0)'::geometry, 'LINESTRING ( 2 2, 2 2 )
   <!-- Optionally add a "See Also" section -->
   <refsection>
     <title>See Also</title>
-<para><xref linkend="ST_Distance"/><xref linkend="ST_LongestLine"/></para>
+<para><xref linkend="ST_Distance"/><xref linkend="ST_LongestLine"/></para>
   </refsection>
 </refentry>
 
@@ -1435,18 +1435,18 @@ postgis=# SELECT ST_MaxDistance('POINT(0 0)'::geometry, 'LINESTRING ( 2 2, 2 2 )
                                                          <imageobject>
                                                                <imagedata fileref="images/st_shortestline01.png" />
                                                          </imageobject>
-                                                         <caption><para>Shortest line between point and line</para></caption>
+                                                         <caption><para>Shortest line between point and linestring</para></caption>
                                                        </mediaobject>
                                                  </informalfigure>
                                <programlisting>
 SELECT ST_AsText(
-       ST_ShortestLine('POINT(100 50)'::geometry, 
-               'LINESTRING (10 80, 100 199 )'::geometry)
+       ST_ShortestLine('POINT(100 150)'::geometry, 
+               'LINESTRING (20 80, 98 190, 110 180, 50 75 )'::geometry)
        ) As sline;
        
    sline
 -----------------
-LINESTRING(100 50,28.3145411257356 104.21589326625)
+LINESTRING(100 150,94.6153846153846 153.076923076923)
                                </programlisting>
                                                  </para></entry>
 
@@ -1533,13 +1533,13 @@ SELECT ST_AsText(
                                                  </informalfigure>
                                <programlisting>
 SELECT ST_AsText(
-       ST_LongestLine('POINT(100 50)'::geometry, 
-               'LINESTRING (10 80, 100 199 )'::geometry)
+       ST_LongestLine('POINT(100 150)'::geometry, 
+               'LINESTRING (20 80, 98 190, 110 180, 50 75 )'::geometry)
        ) As lline;
        
    lline
 -----------------
-LINESTRING(100 50,100 199)
+LINESTRING(100 150,20 80)
                                </programlisting>
                                                  </para></entry>