Commit graph

35 commits

Author SHA1 Message Date
Regina Obe c63e74019e get rid of addbbox,dropbbox,hasbbox (and replace occurrences in regress with newer postgis_addbbox etc)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6473 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-22 18:42:38 +00:00
Paul Ramsey 4a8cccc765 Remove some ST_ variants of cast-support functions (#302), and start legacy.sql.in.c (#722)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6467 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-21 23:56:23 +00:00
Paul Ramsey c7697e2359 Issues with TRIANGLE AND TIN EMPTY collections - hmm do they exist? (#686)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6335 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-10 20:22:19 +00:00
Paul Ramsey a2dbab5b3f Fix cunit failures on Polyhedral surface (#697)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6333 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-10 19:10:16 +00:00
Paul Ramsey ce028a39f0 Fix crash in ST_MakeLine (#690)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6319 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-09 18:00:18 +00:00
Paul Ramsey b3d2b3c9f9 Implement ST_CollectionExtract() to pull specific homogeneous collections out of heterogeneous collections. Regressions and documentation included. (#218)
git-svn-id: http://svn.osgeo.org/postgis/trunk@4847 b70326c6-7e19-0410-871a-916f4a2858ee
2009-11-17 20:03:50 +00:00
Paul Ramsey c212442dff Add doco and regression tests for ST_MakeEnvelope() (#199)
git-svn-id: http://svn.osgeo.org/postgis/trunk@4832 b70326c6-7e19-0410-871a-916f4a2858ee
2009-11-16 18:46:38 +00:00
Paul Ramsey 6f547e3120 Make ~= be a bounding box only operator and upgrade ST_Equals() and ST_OrderingEquals() to match the new behavior. Update regression tests to match new behavior. (#282) See also #289 for an odd quirk discovered while updating regression tests.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4763 b70326c6-7e19-0410-871a-916f4a2858ee
2009-11-07 01:31:07 +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 867210851c Ensure lwcollection_segmentize2d always return a NEW geometry. Fixes ticket #254. Add regression test for that bug.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4542 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-29 13:31:20 +00:00
Paul Ramsey 84ede471af Fix for GBT#96.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3817 b70326c6-7e19-0410-871a-916f4a2858ee
2009-03-09 18:40:23 +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
Sandro Santilli 4f9f590c8f Moved 'measures' query into a specific file, added a test for bug #108
git-svn-id: http://svn.osgeo.org/postgis/trunk@2367 b70326c6-7e19-0410-871a-916f4a2858ee
2006-05-22 15:29:19 +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 ba7dc20771 Removed call to replace(text,text,text) in regress.sql
(unsupported by pgsql 7.2)
Used sed in run_test to Transform Infinite to inf and Inf to inf


git-svn-id: http://svn.osgeo.org/postgis/trunk@2194 b70326c6-7e19-0410-871a-916f4a2858ee
2005-12-15 01:07:28 +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 cba2beb4de Added geom_accum(NULL,NULL) test
git-svn-id: http://svn.osgeo.org/postgis/trunk@2091 b70326c6-7e19-0410-871a-916f4a2858ee
2005-11-28 15:59:27 +00:00
Sandro Santilli ca569300f5 Added force_collection test
git-svn-id: http://svn.osgeo.org/postgis/trunk@2083 b70326c6-7e19-0410-871a-916f4a2858ee
2005-11-28 11:27:40 +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 188cb33999 Changed M() and Z() to return NULL when input doesn't have
the requested dimension. Updated regress tests with a few
of these cases.


git-svn-id: http://svn.osgeo.org/postgis/trunk@2059 b70326c6-7e19-0410-871a-916f4a2858ee
2005-11-23 14:52:39 +00:00
Sandro Santilli cd0a408a93 Reworked regress tests to avoid multiple database creations
git-svn-id: http://svn.osgeo.org/postgis/trunk@2057 b70326c6-7e19-0410-871a-916f4a2858ee
2005-11-23 14:38:00 +00:00
Sandro Santilli 88878ef27c Added a few regression tests for LRS functions
git-svn-id: http://svn.osgeo.org/postgis/trunk@2055 b70326c6-7e19-0410-871a-916f4a2858ee
2005-11-23 13:46:35 +00:00
Sandro Santilli 8f417b1c5c Fixed a bug in getPoint{3dm,3dz,4d}_p() api calls automatically
fixing bugs in force_{3dm,3dz,4d}() user functions, for which
tests have been added in regress dir.
Wrapped paranoid checks in PARANOIA_LEVEL preprocessor blocks.
Updated release notes and CHANGES file.


git-svn-id: http://svn.osgeo.org/postgis/trunk@2053 b70326c6-7e19-0410-871a-916f4a2858ee
2005-11-22 21:29:41 +00:00
Sandro Santilli 1635cf59cd Added linemerge test
git-svn-id: http://svn.osgeo.org/postgis/trunk@2026 b70326c6-7e19-0410-871a-916f4a2858ee
2005-11-11 17:02:31 +00:00
Sandro Santilli eefdbcfe66 Added regress tests for multi()
git-svn-id: http://svn.osgeo.org/postgis/trunk@1575 b70326c6-7e19-0410-871a-916f4a2858ee
2005-03-28 09:45:11 +00:00
Sandro Santilli 19c66c7f9a Added box3d computation tests
git-svn-id: http://svn.osgeo.org/postgis/trunk@1557 b70326c6-7e19-0410-871a-916f4a2858ee
2005-03-23 16:29:17 +00:00
Sandro Santilli 40fb8da773 Added test for translate()
git-svn-id: http://svn.osgeo.org/postgis/trunk@1530 b70326c6-7e19-0410-871a-916f4a2858ee
2005-03-11 17:47:33 +00:00
Sandro Santilli eb1c17938c Added a couple of distance() tests.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1392 b70326c6-7e19-0410-871a-916f4a2858ee
2005-02-10 17:38:20 +00:00
Sandro Santilli 1cce996382 Added X(), Y() and Z() tests.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1389 b70326c6-7e19-0410-871a-916f4a2858ee
2005-02-10 10:03:59 +00:00
Sandro Santilli b0358209d5 Added GEOSexception test
git-svn-id: http://svn.osgeo.org/postgis/trunk@1298 b70326c6-7e19-0410-871a-916f4a2858ee
2005-01-13 10:45:57 +00:00
Sandro Santilli 54111fa7e1 Fixed more tests
git-svn-id: http://svn.osgeo.org/postgis/trunk@1297 b70326c6-7e19-0410-871a-916f4a2858ee
2005-01-13 10:44:33 +00:00
Sandro Santilli 883618e5b1 Changed astext() calls with asewkt() to mach expected results.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1296 b70326c6-7e19-0410-871a-916f4a2858ee
2005-01-13 10:37:45 +00:00
Sandro Santilli d523eb9773 Finished cleanup of main regression test.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1115 b70326c6-7e19-0410-871a-916f4a2858ee
2004-11-26 15:50:05 +00:00
Sandro Santilli 1b1d509ae7 Initial regress tests adaptation for lwgeom
git-svn-id: http://svn.osgeo.org/postgis/trunk@1111 b70326c6-7e19-0410-871a-916f4a2858ee
2004-11-26 13:04:39 +00:00
No Body 3cda119445 Initial revision
git-svn-id: http://svn.osgeo.org/postgis/trunk@2 b70326c6-7e19-0410-871a-916f4a2858ee
2001-06-22 17:39:29 +00:00