From f1272e2bfc5185f2d4d1e43bb7efdaed4f052c1d Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Tue, 23 Jun 2015 14:54:20 +0000 Subject: [PATCH] Add multipolygon-by-line ST_Split case in documentation Funded by RT-SITA (CIG 6002233F59) git-svn-id: http://svn.osgeo.org/postgis/trunk@13691 b70326c6-7e19-0410-871a-916f4a2858ee --- doc/reference_processing.xml | 2 +- liblwgeom/lwgeom_geos_split.c | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/reference_processing.xml b/doc/reference_processing.xml index e1805c284..4533c476d 100644 --- a/doc/reference_processing.xml +++ b/doc/reference_processing.xml @@ -2871,7 +2871,7 @@ LINESTRING M (5 2 3.40282346638529e+38,3 8 29,6 20 1.5,7 25 49.5,10 10 3.4028234 Description - The function supports splitting a line by (multi)point, (multi)line or (multi)polygon boundary, a polygon by line. The returned geometry is always a collection. + The function supports splitting a line by (multi)point, (multi)line or (multi)polygon boundary, a (multi)polygon by line. The returned geometry is always a collection. diff --git a/liblwgeom/lwgeom_geos_split.c b/liblwgeom/lwgeom_geos_split.c index 0efea7dff..6b3886ad3 100644 --- a/liblwgeom/lwgeom_geos_split.c +++ b/liblwgeom/lwgeom_geos_split.c @@ -10,8 +10,8 @@ * ********************************************************************** * - * Split polygon by line, line by (multi)line or (multi)polygon boundary, - * line by point. + * Split (multi)polygon by line, line by (multi)line + * or (multi)polygon boundary, line by point. * Returns at most components as a collection. * First element of the collection is always the part which * remains after the cut, while the second element is the @@ -20,7 +20,6 @@ * For a line cut by a point the part which remains is the one * from start of the line to the cut point. * - * * Author: Sandro Santilli * * Work done for Faunalia (http://www.faunalia.it) with fundings @@ -31,6 +30,8 @@ * * [1] http://trac.osgeo.org/postgis/wiki/UsersWikiSplitPolygonWithLineString * + * Further evolved for RT-SITA to allow splitting lines by multilines + * and (multi)polygon boundaries (CIG 6002233F59) * **********************************************************************/ -- 2.50.1