From: Regina Obe Date: Fri, 2 Oct 2009 19:08:51 +0000 (+0000) Subject: add geography proto for ST_DWithin, also fill in some availability marks forgotten. X-Git-Tag: 1.5.0b1~429 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e8e6dd4f73975c61e1d17eef6e9ca31ef87869cf;p=postgis add geography proto for ST_DWithin, also fill in some availability marks forgotten. git-svn-id: http://svn.osgeo.org/postgis/trunk@4581 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/doc/reference.xml b/doc/reference.xml index 3be4f7b65..fc2591a16 100644 --- a/doc/reference.xml +++ b/doc/reference.xml @@ -7069,7 +7069,7 @@ CREATE INDEX idx_the_geom_26986_parcels ST_AsBinary is the reverse of for geometry. Use to convert to a postgis geometry from ST_AsBinary representation. - Availability: 1.5 geography support was introduced. + Availability: 1.5.0 geography support was introduced. @@ -7400,6 +7400,7 @@ CIRCULARSTRING(220268 150415 1,220227 150505 2,220227 150406 3) Version 6: ST_AsGeoJSON(version, geom, precision,options) Availability: 1.3.4 + Availability: 1.5.0 geography support was introduced. @@ -7527,6 +7528,7 @@ st_asgeojson Availability: 1.3.2 + Availability: 1.5.0 geography support was introduced. @@ -10092,6 +10094,8 @@ 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. @@ -10107,7 +10111,7 @@ st_distance ----------------- 0.00150567726382282 --- Geometry example - units in meters (SRID: 26986 Massachusetts state plane meters) +-- 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('LINESTRING(-72.1260 42.45, -72.123 42.1546)', 4326),26986) @@ -10116,7 +10120,7 @@ st_distance ----------------- 123.797937878454 --- Geometry example - units in meters (SRID: 2163 US National Atlas Equal area) +-- 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('LINESTRING(-72.1260 42.45, -72.123 42.1546)', 4326),2163) @@ -10126,7 +10130,7 @@ 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;LINESTRING(-72.1260 42.45, -72.123 42.1546)') @@ -10348,7 +10352,7 @@ FROM ST_DWithin Returns true if the geometries are within the specified - distance of one another + distance of one another. For geometry units are in those of spatial reference and For geography units are in meters. @@ -10362,6 +10366,19 @@ FROM geometry g2 + double precision + distance + + + + boolean ST_DWithin + + geography + gg1 + + geography + gg2 + double precision distance @@ -10396,6 +10413,8 @@ FROM OpenGIS Simple Features Implementation Specification for SQL. + + Availability: 1.5.0 support for geography was introduced