From 15393c8a7ba4a429c769b873144834c7109d510f Mon Sep 17 00:00:00 2001 From: Regina Obe Date: Wed, 7 Oct 2009 04:38:19 +0000 Subject: [PATCH] flip order of ST_Relate protos as Martin observes it doesn't match our description git-svn-id: http://svn.osgeo.org/postgis/trunk@4615 b70326c6-7e19-0410-871a-916f4a2858ee --- doc/reference.xml | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/doc/reference.xml b/doc/reference.xml index 72d12fc96..1473021b7 100644 --- a/doc/reference.xml +++ b/doc/reference.xml @@ -10094,7 +10094,7 @@ SELECT ST_Disjoint('POINT(0 0)'::geometry, 'LINESTRING ( 0 0, 0 2 )'::geometry); This method implements the SQL/MM specification: SQL-MM 3: 5.1.23 - + Availability: 1.5.0 geography support was introduced in 1.5. @@ -10104,7 +10104,7 @@ SELECT ST_Disjoint('POINT(0 0)'::geometry, 'LINESTRING ( 0 0, 0 2 )'::geometry); --Geometry example - units in planar degrees 4326 is WGS 84 long lat unit=degrees SELECT ST_Distance( - ST_GeomFromText('POINT(-72.1235 42.3521)',4326), + ST_GeomFromText('POINT(-72.1235 42.3521)',4326), ST_GeomFromText('LINESTRING(-72.1260 42.45, -72.123 42.1546)', 4326) ); st_distance @@ -10113,7 +10113,7 @@ st_distance -- Geometry example - units in meters (SRID: 26986 Massachusetts state plane meters) (most accurate for Massachusetts) SELECT ST_Distance( - ST_Transform(ST_GeomFromText('POINT(-72.1235 42.3521)',4326),26986), + ST_Transform(ST_GeomFromText('POINT(-72.1235 42.3521)',4326),26986), ST_Transform(ST_GeomFromText('LINESTRING(-72.1260 42.45, -72.123 42.1546)', 4326),26986) ); st_distance @@ -10122,20 +10122,20 @@ st_distance -- Geometry example - units in meters (SRID: 2163 US National Atlas Equal area) (least accurate) SELECT ST_Distance( - ST_Transform(ST_GeomFromText('POINT(-72.1235 42.3521)',4326),2163), + ST_Transform(ST_GeomFromText('POINT(-72.1235 42.3521)',4326),2163), ST_Transform(ST_GeomFromText('LINESTRING(-72.1260 42.45, -72.123 42.1546)', 4326),2163) ); - + st_distance ------------------ 126.664256056812 --- Geography example -- same but note units in meters +-- Geography example -- same but note units in meters SELECT ST_Distance( - ST_GeographyFromText('SRID=4326;POINT(-72.1235 42.3521)'), + ST_GeographyFromText('SRID=4326;POINT(-72.1235 42.3521)'), ST_GeographyFromText('SRID=4326;LINESTRING(-72.1260 42.45, -72.123 42.1546)') ); - + st_distance ------------------ 123.475741346574 @@ -10369,7 +10369,7 @@ FROM double precision distance_of_srid - + boolean ST_DWithin @@ -10413,7 +10413,7 @@ FROM OpenGIS Simple Features Implementation Specification for SQL. - + Availability: 1.5.0 support for geography was introduced @@ -11496,17 +11496,18 @@ SELECT ST_AsEWKT(ST_PointOnSurface(ST_GeomFromEWKT('LINESTRING(0 5 1, 0 0 1, 0 1 - text ST_Relate + boolean ST_Relate geometry geomA geometry geomB + text intersectionMatrixPattern - boolean ST_Relate + text ST_Relate geometry geomA geometry geomB - text intersectionMatrixPattern + -- 2.50.1