Paul Ramsey
a2d5be9c33
Ignore LF/CRLF differences when differencing sql output files in raster tests.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9319 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-27 17:48:46 +00:00
Sandro Santilli
38f653b4f2
Add regression test for legacy.sql and uninstall_legacy.sql ( #915 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9318 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-27 17:36:45 +00:00
Sandro Santilli
d74c49e369
Properly cleanup spatial_ref_sys after loader tests
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9317 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-27 17:36:36 +00:00
Sandro Santilli
c0817ada7c
Properly cleanup spatial_ref_sys
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9316 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-27 17:36:27 +00:00
Paul Ramsey
154d3402be
Compress sed calls into one to make life better for MSYS
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9300 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-25 19:46:00 +00:00
Paul Ramsey
fce22f0c5a
Correct fix for win32 crasher, it was proj returning a null error string.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9299 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-25 17:10:23 +00:00
Paul Ramsey
74c6e1f5a9
Match to new behavior on null proj4text
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9297 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-25 05:49:34 +00:00
Sandro Santilli
8976506406
Make sure the created backend temp directory is world writeable
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9290 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-24 20:17:38 +00:00
Paul Ramsey
2231700fde
Make sure the regress tmp directory exists before trying to write to it.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9287 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-24 18:49:09 +00:00
Sandro Santilli
b8d152cd66
Rename the backend temp dir and drop with brute force
...
Avoids errors when no test writes anything in there (so no dir)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9284 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-24 15:23:13 +00:00
Sandro Santilli
5117b2c5c3
Properly drop the temporary directory setup for backend output
...
This prevents errors when running "make check" against backends
owned by different users.
git-svn-id: http://svn.osgeo.org/postgis/trunk@9283 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-24 10:21:17 +00:00
Sandro Santilli
e879837de2
Set the default regression temp dir to /tmp/pgis_reg ( #1607 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9277 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-23 13:28:16 +00:00
Paul Ramsey
46bbc14bfb
Switch to evaluating tests using psql with verbosity=terse
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9260 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-22 18:59:09 +00:00
Sandro Santilli
b37b7ccd99
Fix ST_Polygonize aggregate to retain Z ( #1602 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9258 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-22 17:19:42 +00:00
Sandro Santilli
892ff3af4a
Check SRID passed to UpdateGeometrySRID, patch by Mike Toews ( #1596 )
...
Adds regression testing
git-svn-id: http://svn.osgeo.org/postgis/trunk@9253 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-22 12:49:08 +00:00
Sandro Santilli
f8baf9f5ec
Add an --extensions switch to run_test ( #964 )
...
When passing that switch the install and uninstall of spatial db
happens using the EXTENSION model. It's currently not run as part
of "make check" because some tests fail due to use of ambiguos
calls when both core and raster modules are installed (there's no
way to separate them in the EXTENSION model).
git-svn-id: http://svn.osgeo.org/postgis/trunk@9243 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-21 09:43:22 +00:00
Sandro Santilli
9d6bb652bc
Put prepare/upgrade/uninstall operations in their own functions
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9242 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-21 09:07:59 +00:00
Sandro Santilli
bc47761f48
Do not take PROJ4 errno value as a sign of error ( #1580 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9194 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-15 15:59:52 +00:00
Sandro Santilli
2936722b2a
Fix crash with empty polygons in P-I-P tests ( #1578 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9191 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-14 17:57:45 +00:00
Sandro Santilli
f9662411e8
Make one-point lines convertible to GEOS, see #1543
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9184 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-14 13:31:22 +00:00
Sandro Santilli
3a01a0b486
Install topology comments too, when regressing topology
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9178 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-13 20:44:40 +00:00
Sandro Santilli
0c5e19d99e
Have regress install comments adn throw an error on failure ( #1532 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9164 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-13 10:58:35 +00:00
Sandro Santilli
9ebead2ba3
Have staged-install install comments when possible ( #1532 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9163 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-13 10:58:28 +00:00
Sandro Santilli
09f2037a16
Report svn revision
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9162 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-13 10:16:39 +00:00
Pierre Racine
f92b129006
Have perl to backup the file before editing. 'make check' is failing on Windows 7 without that.
...
See http://postgis.refractions.net/pipermail/postgis-devel/2012-February/018482.html
git-svn-id: http://svn.osgeo.org/postgis/trunk@9146 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-10 17:05:25 +00:00
Bborie Park
03ee5561c2
Added regression tests for raster2pgsql loader. Ticket is #1388
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9098 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-08 16:11:13 +00:00
Paul Ramsey
8902ea4a60
loader/Latin1 regression failure with database SQL_ASCII encoding ( #1465 ) from Greg Troxel
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9088 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-08 00:23:11 +00:00
Paul Ramsey
90fbf399ec
ST_MinimumBoundingCircle needs regression test ( #1042 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9082 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-07 23:49:15 +00:00
Paul Ramsey
dc50908ce4
Test non-empty new types in regress/wkb ( #1477 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9075 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-07 21:14:41 +00:00
Paul Ramsey
c1f7407a09
Geography should support SRIDs other than 4326 ( #1538 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9029 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-04 01:30:14 +00:00
Paul Ramsey
6f7d7ff0d1
Enhance ST_Rotate by adding offset origin parameters ( #1251 ) from mwtoews
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9006 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-01 21:27:01 +00:00
Paul Ramsey
6d7805f287
ST_Azimuth, ST_Project regression tests ( #1398 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9005 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-01 21:17:10 +00:00
Paul Ramsey
f9976f0977
GML for empty geometries should be NULL ( #1377 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8966 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-30 00:37:45 +00:00
Nicklas Avén
75ce3f50f8
Increase robustness in distance-calculations when point is on segment.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8965 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-29 23:30:18 +00:00
Paul Ramsey
e191c1b467
Be more liberal in accepting "empty" tags in constructing geometries from GML ( #1059 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8963 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-29 19:57:34 +00:00
Paul Ramsey
723625e4ab
#920 (ST_LineToCurve generating invalid CURVEPOLYGON)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8945 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-27 18:54:37 +00:00
Paul Ramsey
6b4147d1b0
Complete #737
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8939 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-26 20:25:29 +00:00
Sandro Santilli
94924ea69c
Change expectations from tests involving ST_MakeLine
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8937 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-26 18:09:57 +00:00
Sandro Santilli
f74cdad7df
Add support for linestrings in ST_MakeLine ( #1500 )
...
Affects both the aggregate and the 2-parameters function.
Regression testing included.
Documentation was updated, but lacks examples.
git-svn-id: http://svn.osgeo.org/postgis/trunk@8931 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-26 13:00:08 +00:00
Paul Ramsey
2e723cb276
SVG empty geometries gives invalid memory alloc ( #1038 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8920 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-24 22:23:53 +00:00
Paul Ramsey
b2ec478bd1
Test for #1150 , null entry in spatial_ref_sys
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8913 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-24 17:20:57 +00:00
Sandro Santilli
6ef84a957a
Don't let ST_Multi create collections of a single EMPTY ( #1489 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8892 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-20 14:47:24 +00:00
Sandro Santilli
6fcfe1cd01
Test new types in regress/wkt ( #1476 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8890 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-20 10:02:24 +00:00
Sandro Santilli
8a31acd642
Change ST_Equals to use the ~= operator ( #1453 )
...
Doing so it will consistently return TRUE for EMPTY-EMPTY, while
previously _ST_Equals returned TRUE but ST_Equals returned FALSE.
The commit also changes signature of the C function
from 'geomequals' to 'ST_Equals' and marks an SQL 'Equals'
signature as a candidate for dropping before 2.0.0 final
git-svn-id: http://svn.osgeo.org/postgis/trunk@8886 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-20 08:12:15 +00:00
Sandro Santilli
aafbcf5eb3
Add test for cached version of point_in_ring ( #852 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8874 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-19 09:48:57 +00:00
Sandro Santilli
f50d10ed8d
Drop use of tolerance in PIP ( #852 )
...
Affects point_in_ring and point_in_ring_rtree.
Includes regress test but not hitting the cache.
git-svn-id: http://svn.osgeo.org/postgis/trunk@8873 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-19 08:59:41 +00:00
Sandro Santilli
a04e35997a
Do not run the upgrade test if the normal test failed
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8872 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-19 08:16:39 +00:00
Sandro Santilli
449a50d5e7
Oops, forgot to cleanup after debugging (triggered testsuite failure)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8871 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-19 08:16:34 +00:00
Sandro Santilli
e926170dfd
Rework st_estimated_extent to deal with analyzed empty tables ( #818 )
...
Still doesn't distinguish between empty and not analyzed recently
(might be improved in that reguard)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8870 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-18 15:47:45 +00:00
Sandro Santilli
47ff517045
Complete binary IO testing in presence of typmod ( #850 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8867 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-18 13:46:50 +00:00