From 807121d89e3c74185bb269d8db3950dff90d941c Mon Sep 17 00:00:00 2001 From: Regina Obe Date: Wed, 25 Nov 2009 23:07:13 +0000 Subject: [PATCH] make diagrams more interesting git-svn-id: http://svn.osgeo.org/postgis/trunk@4899 b70326c6-7e19-0410-871a-916f4a2858ee --- doc/html/image_src/st_longestline01.wkt | 4 ++-- doc/html/image_src/st_shortestline01.wkt | 4 ++-- doc/reference_measure.xml | 16 ++++++++-------- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/doc/html/image_src/st_longestline01.wkt b/doc/html/image_src/st_longestline01.wkt index 13cfe5b11..1d83898fb 100644 --- a/doc/html/image_src/st_longestline01.wkt +++ b/doc/html/image_src/st_longestline01.wkt @@ -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) diff --git a/doc/html/image_src/st_shortestline01.wkt b/doc/html/image_src/st_shortestline01.wkt index 7e1f1b168..7f3cb6ec5 100644 --- a/doc/html/image_src/st_shortestline01.wkt +++ b/doc/html/image_src/st_shortestline01.wkt @@ -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) diff --git a/doc/reference_measure.xml b/doc/reference_measure.xml index ba2fe5719..6ec3f2e11 100644 --- a/doc/reference_measure.xml +++ b/doc/reference_measure.xml @@ -1383,7 +1383,7 @@ postgis=# SELECT ST_MaxDistance('POINT(0 0)'::geometry, 'LINESTRING ( 2 2, 2 2 ) See Also - +, @@ -1435,18 +1435,18 @@ postgis=# SELECT ST_MaxDistance('POINT(0 0)'::geometry, 'LINESTRING ( 2 2, 2 2 ) - Shortest line between point and line + Shortest line between point and linestring 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) @@ -1533,13 +1533,13 @@ SELECT ST_AsText( 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) -- 2.40.0