]> granicus.if.org Git - postgis/commit
Revert lwgeom_clip_by_rect to use GEOSClipByRect
authorDaniel Baston <dbaston@gmail.com>
Wed, 1 Aug 2018 15:37:26 +0000 (15:37 +0000)
committerDaniel Baston <dbaston@gmail.com>
Wed, 1 Aug 2018 15:37:26 +0000 (15:37 +0000)
commitb35d731fe9a4c26e2adb8ad0ec2f8184d4c3371e
treec6382764ef18b2d1e8581fe9a892e49c9d77f970
parentbc4276bfb6c399a323baeecd90ed93addf81d274
Revert lwgeom_clip_by_rect to use GEOSClipByRect

This commit reverts lwgeom_clip_by_rect to its implementation in PostGIS 2.2 -
2.4.

It makes trivial modifications to the MVT tests to reflect the different results
returned by GEOSClipByRect instead of GEOSIntersection. The changed results are
topologically equivalent to the previous results, and their orientation is
unchanged.

No tests have been commented out or made version-dependent.

Closes #4134
Closes #4135
References #4038
Closes https://github.com/postgis/postgis/pull/282

git-svn-id: http://svn.osgeo.org/postgis/trunk@16679 b70326c6-7e19-0410-871a-916f4a2858ee
NEWS
doc/reference_processing.xml
liblwgeom/lwgeom_geos.c
regress/clipbybox2d_expected
regress/mvt_expected