Mark Cave-Ayland
0a0d67f93e
Commit slightly altered regression tests for the above.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4906 b70326c6-7e19-0410-871a-916f4a2858ee
2009-11-26 17:56:28 +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
43a8513e27
Update behavior of lwgeom_same to match "orderingequals" semantics ( #289 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4789 b70326c6-7e19-0410-871a-916f4a2858ee
2009-11-11 19:57:24 +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 Cave-Ayland
f86114f64c
Add new lwmessage_truncate() function to liblwgeom that will truncate a string to a maximum number of characters, adding a "..." to indicate where the string has been trimmed. Truncation can be specified to occur from either the start or end of the string as required. Also update the parser error handler to use the new function.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3373 b70326c6-7e19-0410-871a-916f4a2858ee
2008-12-10 12:32:40 +00:00
Mark Cave-Ayland
8e173fb266
Update the LWGEOM parser to provide error HINTs when being called from PostgreSQL, and update regression tests accordingly.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3113 b70326c6-7e19-0410-871a-916f4a2858ee
2008-10-15 15:03:54 +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
2814ab187e
used a consistent construct for out_and_err redirect,
...
added rule to make [eE][-+]0+[0-9]+ become e[-+][1-9]+
git-svn-id: http://svn.osgeo.org/postgis/trunk@2230 b70326c6-7e19-0410-871a-916f4a2858ee
2005-12-19 10:39:49 +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
14cb4bea55
- Fixed Z presence detection in GEOS funcions (C++ and C wrappers).
...
- NEW BuildArea(any_geometry) function
- NEW OGC BdPolyFromText(linestring_wkt, srid) function
- NEW OGC BdMPolyFromText(linestring_wkt, srid) function
- Updated postgis manual and added regression tests for new functions.
- Reworked regress test runner to be more succint and report
a summary of test results
git-svn-id: http://svn.osgeo.org/postgis/trunk@2165 b70326c6-7e19-0410-871a-916f4a2858ee
2005-12-12 17:40:50 +00:00
Sandro Santilli
a6128a34b8
Skipped checks of SQL command outputs (INSERT,UPDATE,CREATE,DROP).
...
Cleaned up postgis_reg after tests run.
git-svn-id: http://svn.osgeo.org/postgis/trunk@2116 b70326c6-7e19-0410-871a-916f4a2858ee
2005-12-01 14:07:52 +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
342e349113
Fixed expected ERROR and NOTICEs
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2072 b70326c6-7e19-0410-871a-916f4a2858ee
2005-11-25 15:34:54 +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
aa3caec966
Updated expected error message on !closed polygon rings to match current one.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1301 b70326c6-7e19-0410-871a-916f4a2858ee
2005-01-13 13:37:27 +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
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