Commit graph

406 commits

Author SHA1 Message Date
Paul Ramsey c8d72b79fd Bounding box calculation for straight CircString fails (#668)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7416 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-17 22:18:59 +00:00
Paul Ramsey a15d906c1d Move from GSERIALIZED off by default to on by default. Adjust minor regression changes as necessary.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7389 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-13 21:31:49 +00:00
Paul Ramsey e01f1fd579 Minor change to work with gserialzed
git-svn-id: http://svn.osgeo.org/postgis/trunk@7353 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-09 21:27:47 +00:00
Sandro Santilli 5c758a4fa9 The box2d of an empty geometry is NULL, not a point. Closes ticket #938 and regress-tests it.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7307 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-01 12:31:58 +00:00
Regina Obe c008162436 treating as executable didn't help - going to reinit my db as utf-8 instead
git-svn-id: http://svn.osgeo.org/postgis/trunk@7204 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-20 20:18:59 +00:00
Sandro Santilli 7b8f8ce255 Strip 'SELECT' feedback from regression test outputs
git-svn-id: http://svn.osgeo.org/postgis/trunk@7173 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-17 15:58:34 +00:00
Chris Hodgson 76e7146ef7 added regess test for #884
git-svn-id: http://svn.osgeo.org/postgis/trunk@7139 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-12 22:05:03 +00:00
Sandro Santilli 60df85bce6 Fix path to raster (regress) enabler script. Fixes ticket #947.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7115 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-09 14:07:12 +00:00
Chris Hodgson bf60906378 merged changes r7092 to fix null handling in st_collect for #912, #630 in 1.5 branch into trunk
git-svn-id: http://svn.osgeo.org/postgis/trunk@7093 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-04 23:56:34 +00:00
Regina Obe 2ab25a9867 Use strk's suggestion of quieting hudson reqress by adding a \set VERBOSITY terse
git-svn-id: http://svn.osgeo.org/postgis/trunk@7080 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-03 12:45:31 +00:00
Olivier Courtin 09700c3845 Fix #933. Update related unit test. Add a convenient way to trace error in ST_GeomFromGML function
git-svn-id: http://svn.osgeo.org/postgis/trunk@7074 b70326c6-7e19-0410-871a-916f4a2858ee
2011-04-30 08:29:09 +00:00
Olivier Courtin c97e322a94 Add LinearRing unit test for ST_GeomFromGML. Related to #905
git-svn-id: http://svn.osgeo.org/postgis/trunk@7072 b70326c6-7e19-0410-871a-916f4a2858ee
2011-04-29 18:39:38 +00:00
Olivier Courtin c21dad8b29 Add an srid default value as second optional parameter for ST_GeomFromGML. Related to #906. Remove a wrong srsName definition. Update doc and unit test
git-svn-id: http://svn.osgeo.org/postgis/trunk@7071 b70326c6-7e19-0410-871a-916f4a2858ee
2011-04-29 17:44:00 +00:00
Sandro Santilli c7ec501ef9 Implement SnapToGrid for CIRCULARSTRING and COMPOUNDCURVE. Just enough to fix #183.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7029 b70326c6-7e19-0410-871a-916f4a2858ee
2011-04-14 11:07:33 +00:00
Sandro Santilli 84f1a5af38 Add test for ticket #834
git-svn-id: http://svn.osgeo.org/postgis/trunk@7024 b70326c6-7e19-0410-871a-916f4a2858ee
2011-04-13 11:21:31 +00:00
Regina Obe 0d1e1ca68a Quiet quiet Hudson
git-svn-id: http://svn.osgeo.org/postgis/trunk@7019 b70326c6-7e19-0410-871a-916f4a2858ee
2011-04-12 12:34:12 +00:00
Sandro Santilli e38fac3d06 Add support for a RUNTESTFLAGS variable so you can do something like: 'make check RUNTESTFLAGS=-v' and get the problems printed w/out having to look at logs.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7015 b70326c6-7e19-0410-871a-916f4a2858ee
2011-04-11 09:54:06 +00:00
Sandro Santilli f14cf72b71 Do not raise an exception from DropGeometryTable if a non-existing table is given. Patch by Andrea Peri. Regress test mine. Closes ticket #861.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7014 b70326c6-7e19-0410-871a-916f4a2858ee
2011-04-11 09:53:55 +00:00
Regina Obe 3cc1d00614 Get rid of some tests in _ST_ConcaveHull and only attempt to make a polygon if the line is simple. ST_Covers is causing me quite a bit of greif as a testing tool. don't recall so many topo node this and that in GEOS 3.2 ST_Covers. Also add in some regress tests for ST_ConcaveHull -- more to come.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7006 b70326c6-7e19-0410-871a-916f4a2858ee
2011-04-05 22:26:45 +00:00
Jorge Arévalo e3dba3f6ca Raster testing added to core testing. Related ticket #762.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6994 b70326c6-7e19-0410-871a-916f4a2858ee
2011-04-01 05:18:45 +00:00
Regina Obe eecdd1859a try to save as utf-8
git-svn-id: http://svn.osgeo.org/postgis/trunk@6990 b70326c6-7e19-0410-871a-916f4a2858ee
2011-03-29 14:58:53 +00:00
Regina Obe 5e10e8dbd7 that didn't work. Try resaving as latin1 and then repull down.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6989 b70326c6-7e19-0410-871a-916f4a2858ee
2011-03-29 14:10:39 +00:00
Regina Obe 6c4895a005 mark this as an executable then maybe just mamber it won't try to inherit the encoding of my OS
git-svn-id: http://svn.osgeo.org/postgis/trunk@6988 b70326c6-7e19-0410-871a-916f4a2858ee
2011-03-29 13:57:48 +00:00
Regina Obe 7df07b93b1 attempt to quiet floating point erros in reprojection by roudning the coordinates (worked on mingw and still works after change). I assume -ws are when using -w switch?
git-svn-id: http://svn.osgeo.org/postgis/trunk@6977 b70326c6-7e19-0410-871a-916f4a2858ee
2011-03-28 20:21:46 +00:00
Nicklas Avén 517bd984db Renaming of 3D functions, #817
git-svn-id: http://svn.osgeo.org/postgis/trunk@6974 b70326c6-7e19-0410-871a-916f4a2858ee
2011-03-27 17:50:58 +00:00
Sandro Santilli 3fcf312af1 Add test for ST_Polygonize with nested collection input (see ticket #878)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6951 b70326c6-7e19-0410-871a-916f4a2858ee
2011-03-21 16:33:14 +00:00
Paul Ramsey 732500cbca Jeff Adams: Removed not-really-necessary -m1 parameter from grep call because it does not work on MingW.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6933 b70326c6-7e19-0410-871a-916f4a2858ee
2011-03-18 19:22:43 +00:00
Paul Ramsey 9b394f152f Jeff Adams: Added regression test for LATIN1 encoding, fixed failure to convert to UTF8. (#808)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6932 b70326c6-7e19-0410-871a-916f4a2858ee
2011-03-18 19:13:26 +00:00
Paul Ramsey 66501d2ca8 Jeff Adams: Added dumping tests for -G versions of loader regress tests.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6930 b70326c6-7e19-0410-871a-916f4a2858ee
2011-03-18 18:30:23 +00:00
Paul Ramsey a262bdacbb Jeff Adams: Now runs all the normal regression tests with the -G option as well. (#358)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6929 b70326c6-7e19-0410-871a-916f4a2858ee
2011-03-18 18:21:25 +00:00
Paul Ramsey c94ae0b2b9 Jeff Adams: Adding a regression test for the loader that uses a schema-qualified table name.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6928 b70326c6-7e19-0410-871a-916f4a2858ee
2011-03-18 17:36:01 +00:00
Paul Ramsey 359ab99a41 Jeff Adams: Increasing precision due to tests failing in automatic build.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6925 b70326c6-7e19-0410-871a-916f4a2858ee
2011-03-18 16:24:33 +00:00
Paul Ramsey a2c725a6fb Fixes the following shp2pgsql issues:
#229: A new "-r" command line parameter to specify a "from" SRID for reprojecting (the existing -s is the "to").
#779: -S now works for points, and -w is documented.
#864: MULTIPOINT shapefiles with single-vertex points now correctly load with all MULTIPOINTs.
#865: no longer crashes when both -g and -G are used.



git-svn-id: http://svn.osgeo.org/postgis/trunk@6922 b70326c6-7e19-0410-871a-916f4a2858ee
2011-03-18 15:40:31 +00:00
Paul Ramsey 5138704f4c Jeff Adams: Only automatically run -D tests if no custom parameters have been set.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6912 b70326c6-7e19-0410-871a-916f4a2858ee
2011-03-16 19:16:00 +00:00
Paul Ramsey 2db8d4de0e Jeff Adams patch to add command line flag to not use a transaction. (#110)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6909 b70326c6-7e19-0410-871a-916f4a2858ee
2011-03-16 17:16:47 +00:00
Paul Ramsey 723ec49f79 Jeff Adams new testing of loader with cmd line options.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6907 b70326c6-7e19-0410-871a-916f4a2858ee
2011-03-16 14:06:54 +00:00
Paul Ramsey e6a6199ff7 Jeff Adams patch to allow pre/post actions in regression tests
git-svn-id: http://svn.osgeo.org/postgis/trunk@6906 b70326c6-7e19-0410-871a-916f4a2858ee
2011-03-16 13:03:12 +00:00
Regina Obe aa1e714482 Add regress tests for populate_geometry_columns,DropGeometryTable
git-svn-id: http://svn.osgeo.org/postgis/trunk@6901 b70326c6-7e19-0410-871a-916f4a2858ee
2011-03-15 14:04:45 +00:00
Sandro Santilli e1995b0a7a Add a --raster flag to run_test
git-svn-id: http://svn.osgeo.org/postgis/trunk@6892 b70326c6-7e19-0410-871a-916f4a2858ee
2011-03-10 18:53:57 +00:00
Sandro Santilli ab43b6a552 Ticket #844: add support for boundary node rule specification in ST_Relate [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@6882 b70326c6-7e19-0410-871a-916f4a2858ee
2011-03-08 10:23:42 +00:00
Sandro Santilli 67823f089f Enable a very old relate test which for some reason was never automatically run
git-svn-id: http://svn.osgeo.org/postgis/trunk@6881 b70326c6-7e19-0410-871a-916f4a2858ee
2011-03-08 08:16:16 +00:00
Sandro Santilli 02ca0487d2 Improve precision of point_in_ring. Fixes and regress-tests bug #845.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6857 b70326c6-7e19-0410-871a-916f4a2858ee
2011-02-24 15:17:37 +00:00
Sandro Santilli 24d063a3bd Ticket #816: flag to select <LineString> over <Curve> for GML3 line output [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@6852 b70326c6-7e19-0410-871a-916f4a2858ee
2011-02-22 14:52:51 +00:00
Sandro Santilli c55e590545 Stop on first error when creating the regress db
git-svn-id: http://svn.osgeo.org/postgis/trunk@6829 b70326c6-7e19-0410-871a-916f4a2858ee
2011-02-16 10:19:28 +00:00
Sandro Santilli 876edb5576 Expose versions of ST_IsValid and ST_IsValidReason accepting "the ESRI flag" and implemented as wrappers to ST_IsValidDetail. Only available when building against GEOS-3.3+. Commit includes documentation and regress-testing. Closes ticket #831 [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@6828 b70326c6-7e19-0410-871a-916f4a2858ee
2011-02-16 10:19:22 +00:00
Sandro Santilli 9d03ce5921 Only run ST_isValidDetail if GEOS is >= 3.3 -- Reduce tests for GEOS version grouping togheter tests depending on the same version [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@6827 b70326c6-7e19-0410-871a-916f4a2858ee
2011-02-16 09:12:50 +00:00
Sandro Santilli 574772c087 Regression test for ST_isValidDetail (including "ESRI" flag) [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@6826 b70326c6-7e19-0410-871a-916f4a2858ee
2011-02-16 08:54:03 +00:00
Sandro Santilli 415c0aef9b ST_UnaryUnion and test
git-svn-id: http://svn.osgeo.org/postgis/trunk@6816 b70326c6-7e19-0410-871a-916f4a2858ee
2011-02-14 17:26:38 +00:00
Sandro Santilli 9168166117 Also set LANG (see ticket #819) [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@6786 b70326c6-7e19-0410-871a-916f4a2858ee
2011-02-07 17:03:11 +00:00
Sandro Santilli 60931579e5 Add test for ST_AsGML with long srsName. Expects what at first sight looked like a bug (#804).
git-svn-id: http://svn.osgeo.org/postgis/trunk@6697 b70326c6-7e19-0410-871a-916f4a2858ee
2011-01-22 18:46:13 +00:00