From: Regina Obe Date: Tue, 2 Jul 2013 14:06:06 +0000 (+0000) Subject: fix typo X-Git-Tag: 2.2.0rc1~1466 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=058fbaf3bb84892e6129451e482dcb849791be68;p=postgis fix typo git-svn-id: http://svn.osgeo.org/postgis/trunk@11606 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/doc/reference_measure.xml b/doc/reference_measure.xml index 660618c5b..7efd30fc0 100644 --- a/doc/reference_measure.xml +++ b/doc/reference_measure.xml @@ -2154,7 +2154,7 @@ and will return the parcel that it intersects where parts of building that don' SELECT DISTINCT ON(buildings.gid) buildings.gid, parcels.parcel_id FROM buildings INNER JOIN parcels ON ST_Intersects(buildings.geom,parcels.geom) ORDER BY buildings.gid, ST_MaxDistance(buildings.geom, parcels.geom); - Basic furthest distance the point is to any part of the lineBasic furthest distance the point is to any part of the line postgis=# SELECT ST_MaxDistance('POINT(0 0)'::geometry, 'LINESTRING ( 2 0, 0 2 )'::geometry); st_maxdistance -----------------