Commit graph

6 commits

Author SHA1 Message Date
Sandro Santilli 80aca4236e Add a vertex-snap-tolerance parameter to ptarray_substring
This is aimed at improving robustness for ST_Split, which now
uses an hard-coded tolerance of 1e-14 (see #1311)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8212 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-21 16:32:27 +00:00
Sandro Santilli 6858a09203 Fix memory leak in lwgeom_split
git-svn-id: http://svn.osgeo.org/postgis/trunk@8205 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-21 14:59:30 +00:00
Sandro Santilli 486f798b57 Double-check line splitting to avoid returning empty components
It happened on my 32bit system based on presence or absence of an lwnotice call, probably a compiler bug...

git-svn-id: http://svn.osgeo.org/postgis/trunk@8105 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-06 20:17:43 +00:00
Sandro Santilli b0c8e0a039 Add an line-by-point internal split function taking an output vector.
Regress test the new function.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8084 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-03 16:20:39 +00:00
Paul Ramsey afa9374199 Change "no SRID" SRID to 0 (#286)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7912 b70326c6-7e19-0410-871a-916f4a2858ee
2011-09-28 23:38:56 +00:00
Sandro Santilli 625e72615d Export lwgeom_split to liblwgeom, const-correct it [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@7727 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-11 08:04:20 +00:00
Renamed from postgis/lwgeom_geos_split.c (Browse further)