From: Kevin Neufeld Date: Thu, 3 Dec 2009 16:23:55 +0000 (+0000) Subject: fixed a typo and added a few cross links X-Git-Tag: 1.5.0b1~107 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=49e1fbeecd62d07043584ff6c44c104da01e7702;p=postgis fixed a typo and added a few cross links git-svn-id: http://svn.osgeo.org/postgis/trunk@4984 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/doc/using_postgis_dataman.xml b/doc/using_postgis_dataman.xml index 59b1f72c8..b8b91fedd 100644 --- a/doc/using_postgis_dataman.xml +++ b/doc/using_postgis_dataman.xml @@ -995,14 +995,14 @@ gisdb=# SELECT dataset representing a road network. It may be the task of a GIS analyst to identify all road segments that cross eachother, not at a point, but on a line, perhaps invalidating - some business rule. In this case, ST_Crosses does not + some business rule. In this case, does not adequately provide the necessary spatial filter since, for linear features, it returns true only where they cross at a point. One two-step solution might be to first perform the actual intersection - (ST_Intersection) of pairs of road segments that spatially - intersect (ST_Intersects), and then compare the intersection's - ST_GeometryType with 'LINESTRING' (properly + () of pairs of road segments that spatially + intersect (), and then compare the intersection's + with 'LINESTRING' (properly dealing with cases that return GEOMETRYCOLLECTIONs of [MULTI]POINTs, @@ -1031,21 +1031,21 @@ gisdb=# SELECT combination of spatial predicates to isolate the sought after features: - ST_Contains(lake, wharf) = TRUE + (lake, wharf) = TRUE - ST_ContainsProperly(lake, wharf) = FALSE + (lake, wharf) = FALSE - ST_GeometryType(ST_Intersection(wharf, lake)) = + ((wharf, lake)) = 'LINESTRING' - ST_NumGeometries(ST_Multi(ST_Intersection(ST_Boundary(wharf), - ST_Boundary(lake)))) = 1 + ((((wharf), + (lake)))) = 1 ... (needless to say, this could get quite complicated) @@ -1275,7 +1275,7 @@ gisdb=# SELECT Where dim(a) is the dimension of a as specified by - ST_Dimension() but has the domain of + but has the domain of {0,1,2,T,F,*} @@ -1423,7 +1423,7 @@ gisdb=# SELECT Read from left to right, the dimensional matrix is - represented, '212010212'. + represented, '212101212'. A relate matrix that would therefore represent our first example of two lines that intersect on a line would be: '