Commit graph

25 commits

Author SHA1 Message Date
Regina Obe 2d7e0aa5d4 Get rid of more deprecated calls
git-svn-id: http://svn.osgeo.org/postgis/trunk@6531 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-29 14:14:45 +00:00
Paul Ramsey 0152eeedc2 Handle empty geometries in ST_Buffer(). If argument empty, return empty. (#682)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6301 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-08 18:20:18 +00:00
Paul Ramsey 49ddf44404 Remove LWGEOM_INSPECTED from pointn, startpoint, endpoint, and migrate functionality to liblwgeom.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6264 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-02 18:52:26 +00:00
Paul Ramsey 9f713a95b6 Remove LWGEOM_INSPECTED from ST_Union
git-svn-id: http://svn.osgeo.org/postgis/trunk@6253 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-02 15:55:41 +00:00
Sandro Santilli 9d115d0b1e Add support for simple geometries in ST_GeometryN and ST_NumGeometries
git-svn-id: http://svn.osgeo.org/postgis/trunk@5423 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-12 13:50:22 +00:00
Paul Ramsey 1375e2ddc5 Implement RFC3 (#195)
git-svn-id: http://svn.osgeo.org/postgis/trunk@4750 b70326c6-7e19-0410-871a-916f4a2858ee
2009-11-05 19:04:45 +00:00
Sandro Santilli 1ca8b4052f Yet another buffer auto-cast test. With a different quadSegs this time to be really sure the argument is being used.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4192 b70326c6-7e19-0410-871a-916f4a2858ee
2009-06-23 16:38:10 +00:00
Sandro Santilli 9bf0f74075 Add test for third argument to buffer() being a string (based on auto-cast)
git-svn-id: http://svn.osgeo.org/postgis/trunk@4191 b70326c6-7e19-0410-871a-916f4a2858ee
2009-06-23 16:36:23 +00:00
Paul Ramsey fd9fceb57f Allow conditional regression tests based on GEOS_VERNUM and move the
cover/prepared tests into the appropriate buckets. Fix the AT_AsKML 
regression tests.


git-svn-id: http://svn.osgeo.org/postgis/trunk@2756 b70326c6-7e19-0410-871a-916f4a2858ee
2008-04-07 19:47:05 +00:00
Mark Leslie e4236983db Added ST_Covers and ST_CoveredBy functions, as discussed at http://lin-ear-th-inking.blogspot.com. Added regression tests and documention for the new functions.
git-svn-id: http://svn.osgeo.org/postgis/trunk@2635 b70326c6-7e19-0410-871a-916f4a2858ee
2007-06-28 22:46:08 +00:00
Mark Leslie 5313b69c4f Added versions of functions with standard ST (Spatial Type) prefixes to any functions that were lacking them. Updated the regression tests to include the new functions.
git-svn-id: http://svn.osgeo.org/postgis/trunk@2616 b70326c6-7e19-0410-871a-916f4a2858ee
2007-06-04 23:06:28 +00:00
Mark Leslie aad405de80 Ongoing PIP trauma. Addressed the issue of points in line with a boundary segment, but not actually on it. Added appropriate unit tests.
git-svn-id: http://svn.osgeo.org/postgis/trunk@2614 b70326c6-7e19-0410-871a-916f4a2858ee
2007-06-01 20:56:58 +00:00
Mark Leslie 99ed2d6186 Added short-circuit calls for the point-in-polygon cases of disjoint and intersect calls. Added regression tests for the new short-circuits.
git-svn-id: http://svn.osgeo.org/postgis/trunk@2608 b70326c6-7e19-0410-871a-916f4a2858ee
2007-05-22 22:10:33 +00:00
Mark Leslie 68d1d48c0a Bug 143 code fix and regression case.
git-svn-id: http://svn.osgeo.org/postgis/trunk@2598 b70326c6-7e19-0410-871a-916f4a2858ee
2007-03-09 00:33:58 +00:00
Sandro Santilli e827fe7fae Fixed regress tests to pass with GEOS-3.0.0
git-svn-id: http://svn.osgeo.org/postgis/trunk@2474 b70326c6-7e19-0410-871a-916f4a2858ee
2006-09-18 09:16:22 +00:00
Sandro Santilli f17c883dd0 Used a larger grid for buffer() test, to account for rounding changes between
GEOS-2.2 and GEOS-3.0


git-svn-id: http://svn.osgeo.org/postgis/trunk@2320 b70326c6-7e19-0410-871a-916f4a2858ee
2006-03-27 09:33:03 +00:00
Sandro Santilli f1d0146ec7 Qualified args of difference() to avoid clashes with other packages
git-svn-id: http://svn.osgeo.org/postgis/trunk@2310 b70326c6-7e19-0410-871a-916f4a2858ee
2006-02-15 08:38:06 +00:00
Sandro Santilli fceec8099c Moved GEOS/JTS function from regress to ogc test
git-svn-id: http://svn.osgeo.org/postgis/trunk@2195 b70326c6-7e19-0410-871a-916f4a2858ee
2005-12-15 01:19:24 +00:00
Sandro Santilli dbb5ca9400 Snapped buffer() output to a grid of 1.0E-14 grid to account for slightly
different floating number behaviours on Solaris.
Normalized Infinity to inf to account for different libc outputs.


git-svn-id: http://svn.osgeo.org/postgis/trunk@2179 b70326c6-7e19-0410-871a-916f4a2858ee
2005-12-14 11:13:13 +00:00
Sandro Santilli e19fc98d93 Added a couple of polygonize tests
git-svn-id: http://svn.osgeo.org/postgis/trunk@2153 b70326c6-7e19-0410-871a-916f4a2858ee
2005-12-09 10:14:24 +00:00
Sandro Santilli 60e81ab1ac Added user-reported intersects() test
git-svn-id: http://svn.osgeo.org/postgis/trunk@2141 b70326c6-7e19-0410-871a-916f4a2858ee
2005-12-06 14:51:51 +00:00
Sandro Santilli 41ee316c41 Added ExteriorRing and Segmentize tests
git-svn-id: http://svn.osgeo.org/postgis/trunk@2079 b70326c6-7e19-0410-871a-916f4a2858ee
2005-11-28 11:04:17 +00:00
Sandro Santilli 1065b653a7 Added unite_garray() test
git-svn-id: http://svn.osgeo.org/postgis/trunk@2074 b70326c6-7e19-0410-871a-916f4a2858ee
2005-11-25 15:43:33 +00:00
Sandro Santilli 91dafda902 Added isvalid(empty) test
git-svn-id: http://svn.osgeo.org/postgis/trunk@1753 b70326c6-7e19-0410-871a-916f4a2858ee
2005-06-10 09:54:00 +00:00
Sandro Santilli 813184fbb5 Added GEOS/JTS provided functions test
git-svn-id: http://svn.osgeo.org/postgis/trunk@1454 b70326c6-7e19-0410-871a-916f4a2858ee
2005-03-01 11:41:36 +00:00