Commit graph

639 commits

Author SHA1 Message Date
Paul Ramsey 8f23a2efd6 Remove odd srs error line from expected
git-svn-id: http://svn.osgeo.org/postgis/trunk@10425 b70326c6-7e19-0410-871a-916f4a2858ee
2012-10-12 20:06:29 +00:00
Paul Ramsey e9bf8eeb82 Improve support for ST_Area(geography) over dateline and poles (#2006, #2039)
git-svn-id: http://svn.osgeo.org/postgis/trunk@10407 b70326c6-7e19-0410-871a-916f4a2858ee
2012-10-11 22:48:11 +00:00
Sandro Santilli 3d25e2ea85 Accept array properties in GML input multi-geom input (#1928)
Patch by Kashif Rasul and Shoaib Burq / SpacialDB

git-svn-id: http://svn.osgeo.org/postgis/trunk@10354 b70326c6-7e19-0410-871a-916f4a2858ee
2012-10-01 09:28:46 +00:00
Paul Ramsey 7ccb5cc62b Add casts from geometry::path, geometry::point, geometry::polygon, polygon::geometry, path::geometry, point::geometry to allow easier migration to PostGIS for folks who start with the Pg types.
git-svn-id: http://svn.osgeo.org/postgis/trunk@10336 b70326c6-7e19-0410-871a-916f4a2858ee
2012-09-28 17:03:46 +00:00
Regina Obe b0ff7abc07 #2012: Change client_min_messages to warning instead of relying on default notice. 9.3's idea of notice doesn't seem to include notice about create of new tables.
git-svn-id: http://svn.osgeo.org/postgis/trunk@10326 b70326c6-7e19-0410-871a-916f4a2858ee
2012-09-25 02:45:28 +00:00
Paul Ramsey 5bea346fa1 Test for #1780
git-svn-id: http://svn.osgeo.org/postgis/trunk@10280 b70326c6-7e19-0410-871a-916f4a2858ee
2012-09-13 19:23:42 +00:00
Sandro Santilli 456df7ed2c ST_Estimated_Extent renamed to ST_EstimatedExtent (#1994)
ST_Estimated_Extent is kept but deprecated, testcases test both
signatures. Documentation documents the new name and warns about
it being renamed in 2.1.0

git-svn-id: http://svn.osgeo.org/postgis/trunk@10279 b70326c6-7e19-0410-871a-916f4a2858ee
2012-09-13 09:53:02 +00:00
Paul Ramsey b34346b012 correct length for closed circles (#1978)
git-svn-id: http://svn.osgeo.org/postgis/trunk@10257 b70326c6-7e19-0410-871a-916f4a2858ee
2012-09-07 22:20:00 +00:00
Paul Ramsey 66dacff9f2 ST_GeomFromGML on CurvePolygon causes server crash (#1936)
git-svn-id: http://svn.osgeo.org/postgis/trunk@10255 b70326c6-7e19-0410-871a-916f4a2858ee
2012-09-07 20:05:25 +00:00
Paul Ramsey db8385a18c ST_Distance to a one-point LineString returns NULL (#1957)
git-svn-id: http://svn.osgeo.org/postgis/trunk@10251 b70326c6-7e19-0410-871a-916f4a2858ee
2012-09-07 18:27:49 +00:00
Regina Obe eab2bf6bc9 1963: Cast text to geometry for ST_Segmentize -- introduction of geography means no more laziness allowed
git-svn-id: http://svn.osgeo.org/postgis/trunk@10198 b70326c6-7e19-0410-871a-916f4a2858ee
2012-08-23 07:16:36 +00:00
Paul Ramsey 44c3240252 Add in test for node splitting with nulls and empties (#1905)
git-svn-id: http://svn.osgeo.org/postgis/trunk@10051 b70326c6-7e19-0410-871a-916f4a2858ee
2012-07-12 17:24:36 +00:00
Paul Ramsey 8a3458ae56 Complete geography performance work (#1796), move testing functions into _ST_* name space for privacy, add regression tests for issues encountered during development.
git-svn-id: http://svn.osgeo.org/postgis/trunk@10044 b70326c6-7e19-0410-871a-916f4a2858ee
2012-07-11 18:15:50 +00:00
Paul Ramsey 256159f3b9 Handle best SRID finding for shapes the cross the poles and dateline. Also add some new larger zones in gnomic for larger shapes. (#1610)
git-svn-id: http://svn.osgeo.org/postgis/trunk@10038 b70326c6-7e19-0410-871a-916f4a2858ee
2012-07-06 23:50:33 +00:00
Sandro Santilli cec03e6f9f Be tolerant with regressing against GEOS-3.2.0
git-svn-id: http://svn.osgeo.org/postgis/trunk@10009 b70326c6-7e19-0410-871a-916f4a2858ee
2012-07-03 13:58:10 +00:00
Sandro Santilli d69d283450 Let testing temp dir be settable using PGIS_REG_TMPDIR
Prior to this change you could change it using the TMPDIR variable
but that one could have been used by other software as well.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9999 b70326c6-7e19-0410-871a-916f4a2858ee
2012-06-29 17:10:36 +00:00
Sandro Santilli 5c78167ece Add ST_DelaunayTriangles (#1215)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9994 b70326c6-7e19-0410-871a-916f4a2858ee
2012-06-27 15:53:53 +00:00
Sandro Santilli 930fb6770d Really accept collections and multipoints from ST_MakeValid (#1719)
Also updates documentation and SQL level tests.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9894 b70326c6-7e19-0410-871a-916f4a2858ee
2012-06-12 09:30:34 +00:00
Regina Obe d3155b2df1 part fix for #1860 ST_SRID not unique
git-svn-id: http://svn.osgeo.org/postgis/trunk@9891 b70326c6-7e19-0410-871a-916f4a2858ee
2012-06-12 08:29:27 +00:00
Regina Obe 8353915043 snaptogrid to get rid of false failures on mingw-64 resulting from single digit rounding differences
git-svn-id: http://svn.osgeo.org/postgis/trunk@9871 b70326c6-7e19-0410-871a-916f4a2858ee
2012-06-08 17:18:37 +00:00
Sandro Santilli ead09f8358 Properly set permissions on backend temp dir
git-svn-id: http://svn.osgeo.org/postgis/trunk@9860 b70326c6-7e19-0410-871a-916f4a2858ee
2012-06-07 23:08:41 +00:00
Sandro Santilli 6cb4ee19c7 Fix scoping of TEST variable (#1853)
I didn't really understand why it is only TEST needing to be "our"
but it seems to work.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9854 b70326c6-7e19-0410-871a-916f4a2858ee
2012-06-07 06:55:58 +00:00
Sandro Santilli 85f79819a6 Have run_test.pl use strict mode
git-svn-id: http://svn.osgeo.org/postgis/trunk@9851 b70326c6-7e19-0410-871a-916f4a2858ee
2012-06-06 15:24:23 +00:00
Paul Ramsey 6caa800404 Convert to using run_test.pl instead of run_test.sh
git-svn-id: http://svn.osgeo.org/postgis/trunk@9847 b70326c6-7e19-0410-871a-916f4a2858ee
2012-05-31 22:49:56 +00:00
Paul Ramsey 5b691ebbf9 Works for MinGW now
git-svn-id: http://svn.osgeo.org/postgis/trunk@9846 b70326c6-7e19-0410-871a-916f4a2858ee
2012-05-31 22:16:02 +00:00
Sandro Santilli 393a055b36 Use our own diff, avoid using Which. Works for me. Tests welcome.
git-svn-id: http://svn.osgeo.org/postgis/trunk@9844 b70326c6-7e19-0410-871a-916f4a2858ee
2012-05-31 20:11:53 +00:00
Regina Obe 5bc8126a7a #1812 change to use sT_Equals to account for polygon order difference under windows (mingw)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9832 b70326c6-7e19-0410-871a-916f4a2858ee
2012-05-31 01:44:50 +00:00
Paul Ramsey 2e8e022297 Update the run_test.pl script to handle the raster loader pre/post rules
git-svn-id: http://svn.osgeo.org/postgis/trunk@9827 b70326c6-7e19-0410-871a-916f4a2858ee
2012-05-30 18:58:45 +00:00
Paul Ramsey 33308920ad Add upgrade mode and start to get raster working. Bah, going to need to handle pre/post actions after all.
git-svn-id: http://svn.osgeo.org/postgis/trunk@9782 b70326c6-7e19-0410-871a-916f4a2858ee
2012-05-22 15:13:51 +00:00
Paul Ramsey db1d76147f Initial commit of the run_test.pl perl port of the regression harness.
This version runs the postgis loader and sql tests. It does not yet run in --upgrade mode or handle the raster or topology tests.


git-svn-id: http://svn.osgeo.org/postgis/trunk@9774 b70326c6-7e19-0410-871a-916f4a2858ee
2012-05-22 08:49:12 +00:00
Paul Ramsey 5dc20a53ba Back out ST_CollectionExtract changes, too many regression failures
git-svn-id: http://svn.osgeo.org/postgis/trunk@9766 b70326c6-7e19-0410-871a-916f4a2858ee
2012-05-21 10:57:13 +00:00
Paul Ramsey 57137849df Harmonize regression to new ST_CollectionExtract behavior
git-svn-id: http://svn.osgeo.org/postgis/trunk@9765 b70326c6-7e19-0410-871a-916f4a2858ee
2012-05-21 10:13:43 +00:00
Sandro Santilli 7fd44f4381 Cleanly handle database creation error
git-svn-id: http://svn.osgeo.org/postgis/trunk@9740 b70326c6-7e19-0410-871a-916f4a2858ee
2012-05-16 19:39:26 +00:00
Sandro Santilli 18d16a288c Make ST_MakeValid tests immune by coordinates order (using ST_Equals)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9728 b70326c6-7e19-0410-871a-916f4a2858ee
2012-05-08 16:47:33 +00:00
Sandro Santilli 4ef0b834d7 Protect ST_Segmentize from max_length=0 (#1799)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9712 b70326c6-7e19-0410-871a-916f4a2858ee
2012-05-04 08:06:16 +00:00
Paul Ramsey d01ab58291 Restrict the coverage of the geography polar interesction slightly.
git-svn-id: http://svn.osgeo.org/postgis/trunk@9705 b70326c6-7e19-0410-871a-916f4a2858ee
2012-04-30 17:27:09 +00:00
Sandro Santilli b9063c49f3 Give ST_Azimuth a chance with close but distinct points (#1791)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9682 b70326c6-7e19-0410-871a-916f4a2858ee
2012-04-26 16:30:18 +00:00
Paul Ramsey 8c81fc4e16 st_dwithin(geog, geog, 0) doesn't work (#1264)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9669 b70326c6-7e19-0410-871a-916f4a2858ee
2012-04-25 18:49:42 +00:00
Paul Ramsey 264b1c1847 Forward port test from #1170
git-svn-id: http://svn.osgeo.org/postgis/trunk@9666 b70326c6-7e19-0410-871a-916f4a2858ee
2012-04-25 17:54:57 +00:00
Paul Ramsey 6e1cef07fb run_test hangs on MSYS (#1788)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9662 b70326c6-7e19-0410-871a-916f4a2858ee
2012-04-24 20:02:54 +00:00
Paul Ramsey a7941df3ea run_test hangs on MSYS (#1788)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9661 b70326c6-7e19-0410-871a-916f4a2858ee
2012-04-24 19:56:35 +00:00
Sandro Santilli 5a74e2c988 fix ST_SymDifference(empty, geom) to return geom (#1776)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9641 b70326c6-7e19-0410-871a-916f4a2858ee
2012-04-13 21:04:15 +00:00
Sandro Santilli e7f244c94e Do not consider RESET outputs
git-svn-id: http://svn.osgeo.org/postgis/trunk@9635 b70326c6-7e19-0410-871a-916f4a2858ee
2012-04-12 10:28:11 +00:00
Sandro Santilli c1a7bd366f Fix NaN from ptarray_locate_point with zero-length lines (#1772)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9630 b70326c6-7e19-0410-871a-916f4a2858ee
2012-04-12 07:21:38 +00:00
Paul Ramsey 7174640cc5 Geometry has Z dimension but column does not (#1755)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9615 b70326c6-7e19-0410-871a-916f4a2858ee
2012-04-05 18:25:22 +00:00
Sandro Santilli 37299b7198 Threat Infinite and 1.#INF the same (#1736)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9612 b70326c6-7e19-0410-871a-916f4a2858ee
2012-04-05 09:11:43 +00:00
Sandro Santilli 504c4ac404 Fix crash on NULL item in ND index (#1734)
Add regression testing for the case

git-svn-id: http://svn.osgeo.org/postgis/trunk@9577 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-29 12:37:42 +00:00
Sandro Santilli d95b1cf3ec Add regression test for GiST index crash on empty (#1697)
Also tests you can query all empty items from an index

git-svn-id: http://svn.osgeo.org/postgis/trunk@9567 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-28 09:19:22 +00:00
Sandro Santilli 5b12e331cd Have uninstall scripts drop created schemas, regress test it
git-svn-id: http://svn.osgeo.org/postgis/trunk@9558 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-27 18:14:39 +00:00
Sandro Santilli 7021eebac9 Accept POINT types in ST_MakeValid (#1719)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9554 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-27 14:32:33 +00:00