Commit graph

13 commits

Author SHA1 Message Date
Paul Ramsey 4cc4123357 Replace the old WKB/WKT parser and emitters with the new ones.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6291 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-07 21:08:05 +00:00
Sandro Santilli c5962cc957 ST_MakeValid: don't choke on MULTILINESTRING containing invalid LINESTRING elements
git-svn-id: http://svn.osgeo.org/postgis/trunk@5601 b70326c6-7e19-0410-871a-916f4a2858ee
2010-05-03 15:59:16 +00:00
Sandro Santilli 3d207a49b8 Merge SRID-retainment tests with some of the other tests
git-svn-id: http://svn.osgeo.org/postgis/trunk@5600 b70326c6-7e19-0410-871a-916f4a2858ee
2010-05-03 12:11:09 +00:00
Sandro Santilli ba2c3d1b60 Do not drop polygon boundaries collapsed to points
git-svn-id: http://svn.osgeo.org/postgis/trunk@5599 b70326c6-7e19-0410-871a-916f4a2858ee
2010-05-03 11:31:18 +00:00
Sandro Santilli f5a2df405b Add SRID retainment testcases
git-svn-id: http://svn.osgeo.org/postgis/trunk@5410 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-11 17:51:00 +00:00
Sandro Santilli ebc424f290 ST_MakeValid : turn collapsed lines into points [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@5363 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-02 21:32:09 +00:00
Sandro Santilli 2d61c313c5 Node lineal geometries resulting invalid. Re-enable automated testcase for st_MakeValid [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@5360 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-28 23:11:08 +00:00
Sandro Santilli 25b77f3f92 Allow retaining badly collapsed rings (single-point) as points in ST_MakeValid. Add testcase for it [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@5258 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-17 21:02:49 +00:00
Sandro Santilli d4efe9b20e Add origin field for the clean dataset table, so we can add PG-specific ones w/out caring about visualizing them:)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5254 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-16 09:08:11 +00:00
Sandro Santilli 3b23616022 Add a test for input being invalid (a test of the test)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5253 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-16 09:06:48 +00:00
Sandro Santilli 120e78a679 Drop the optional parameter to ST_MakeValid, we always want to collect collapses (users can always filter later) [RT-SIGTA].
git-svn-id: http://svn.osgeo.org/postgis/trunk@5249 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-16 08:07:39 +00:00
Sandro Santilli 756dca2e79 Rework the regress test to make it easier for curious people to keep the test dataset for inspection with some GUI (give it a try, it's a nice one).
git-svn-id: http://svn.osgeo.org/postgis/trunk@5242 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-15 20:21:09 +00:00
Sandro Santilli 6e33fce0d2 Implement ST_MakeValid(geom_in, collect_collapses) and stub ST_CleanGeometry. Add regression test for ST_MakeValid and polygons [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@5240 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-14 22:59:57 +00:00