]> granicus.if.org Git - postgis/commit
Make ST_ChangeEdgeGeom motion collision detection code more robust
authorSandro Santilli <strk@keybit.net>
Wed, 16 Jan 2013 15:14:06 +0000 (15:14 +0000)
committerSandro Santilli <strk@keybit.net>
Wed, 16 Jan 2013 15:14:06 +0000 (15:14 +0000)
commit18bfdbd23e916bb9fa5e96c3a9b0239a3fadcae0
tree401206fa3c5a926a5b0b30a2a7738dce975b7324
parentf892ba56fd20376a95b3449f946d3c536079a5a1
Make ST_ChangeEdgeGeom motion collision detection code more robust

The new model avoids a call to GEOSSymDifference but rather checks
each candidate node against both "motion ranges" containment.
It still constructs something, but only MULTIPOINT, which should
be safe. Haven't profiled but the new code should also be faster
than the previous. Fixes ticket #2176, includes testcase for it.

git-svn-id: http://svn.osgeo.org/postgis/trunk@10984 b70326c6-7e19-0410-871a-916f4a2858ee
topology/sql/sqlmm.sql.in.c
topology/test/regress/st_changeedgegeom.sql
topology/test/regress/st_changeedgegeom_expected