Commit graph

130 commits

Author SHA1 Message Date
Sandro Santilli 7325caadf5 Fix equality operator between EMPTY and point on origin (#2110)
git-svn-id: http://svn.osgeo.org/postgis/trunk@11142 b70326c6-7e19-0410-871a-916f4a2858ee
2013-03-04 17:57:55 +00:00
Paul Ramsey a69e0edb02 #1292, go back to nudging geodetic coordinates (realityexists)
git-svn-id: http://svn.osgeo.org/postgis/trunk@11109 b70326c6-7e19-0410-871a-916f4a2858ee
2013-02-22 18:26:55 +00:00
Sandro Santilli b8b3a16c0d Have ST_Summary advertise presence of known srid with an [S] flag
Closes #2178

git-svn-id: http://svn.osgeo.org/postgis/trunk@11004 b70326c6-7e19-0410-871a-916f4a2858ee
2013-01-18 18:09:22 +00:00
Sandro Santilli be8369ada3 Put JSON input test where it belongs (#2156)
This time do not include other unrelated changes...

git-svn-id: http://svn.osgeo.org/postgis/trunk@10861 b70326c6-7e19-0410-871a-916f4a2858ee
2012-12-19 18:18:57 +00:00
Sandro Santilli ec4425d172 Revert "Move JSON input test where it belons (#2156)"
Accidentally committed an unrelated patch..

git-svn-id: http://svn.osgeo.org/postgis/trunk@10860 b70326c6-7e19-0410-871a-916f4a2858ee
2012-12-19 18:06:17 +00:00
Sandro Santilli 701c3bc5eb Move JSON input test where it belons (#2156)
git-svn-id: http://svn.osgeo.org/postgis/trunk@10859 b70326c6-7e19-0410-871a-916f4a2858ee
2012-12-19 18:01:19 +00:00
Paul Ramsey 4fee20abd3 #2145, ST_Segmentize(geography, dist) fails with redundant coordinates
git-svn-id: http://svn.osgeo.org/postgis/trunk@10820 b70326c6-7e19-0410-871a-916f4a2858ee
2012-12-09 19:59:42 +00:00
Paul Ramsey 651570c723 #945, expose and add selectivity to the 3d/4d index (&&&) bindings
git-svn-id: http://svn.osgeo.org/postgis/trunk@10796 b70326c6-7e19-0410-871a-916f4a2858ee
2012-12-04 19:54:29 +00:00
Sandro Santilli 3d5b47b4c4 Fix memory error in MultiPolygon GeoJson parsing (#2130)
git-svn-id: http://svn.osgeo.org/postgis/trunk@10786 b70326c6-7e19-0410-871a-916f4a2858ee
2012-12-03 16:19:04 +00:00
Sandro Santilli a1df0584c3 Ensure ST_Line_Interpolate_Point always returns POINT (#2108)
git-svn-id: http://svn.osgeo.org/postgis/trunk@10757 b70326c6-7e19-0410-871a-916f4a2858ee
2012-11-29 18:30:48 +00:00
Sandro Santilli 58a11eb5af Ensure ST_PointOnSurface always returns POINT (#2117)
git-svn-id: http://svn.osgeo.org/postgis/trunk@10755 b70326c6-7e19-0410-871a-916f4a2858ee
2012-11-29 18:13:47 +00:00
Sandro Santilli 460eab4e82 Ensure ST_Centroid always returns POINT (#2109)
git-svn-id: http://svn.osgeo.org/postgis/trunk@10751 b70326c6-7e19-0410-871a-916f4a2858ee
2012-11-29 17:49:27 +00:00
Nicklas Avén 7535e82658 #2112
git-svn-id: http://svn.osgeo.org/postgis/trunk@10747 b70326c6-7e19-0410-871a-916f4a2858ee
2012-11-28 22:35:56 +00:00
Paul Ramsey bb8563c627 #2035, Strange behavior when using left (<<) and right (>>) operators
git-svn-id: http://svn.osgeo.org/postgis/trunk@10677 b70326c6-7e19-0410-871a-916f4a2858ee
2012-11-14 23:01:32 +00:00
Paul Ramsey 0b735b027b #2028, ST_Multi(<triangle>) does not make a TIN
git-svn-id: http://svn.osgeo.org/postgis/trunk@10675 b70326c6-7e19-0410-871a-916f4a2858ee
2012-11-14 22:29:23 +00:00
Paul Ramsey cd86fc540a #2001, ST_CurveToLine has no effect if the geometry doesn't actually contain an arc
git-svn-id: http://svn.osgeo.org/postgis/trunk@10671 b70326c6-7e19-0410-871a-916f4a2858ee
2012-11-14 21:25:52 +00:00
Paul Ramsey f6580e93a1 #799, make geographic coordinates in range
git-svn-id: http://svn.osgeo.org/postgis/trunk@10670 b70326c6-7e19-0410-871a-916f4a2858ee
2012-11-14 20:45:16 +00:00
Paul Ramsey 7c859fa99f #2048, add regression test
git-svn-id: http://svn.osgeo.org/postgis/trunk@10648 b70326c6-7e19-0410-871a-916f4a2858ee
2012-11-06 00:27:16 +00:00
Paul Ramsey 5d014027e7 #1996, ST_AsGeoJSON('POINT EMPTY') produces invalid JSON
git-svn-id: http://svn.osgeo.org/postgis/trunk@10628 b70326c6-7e19-0410-871a-916f4a2858ee
2012-11-02 19:15:05 +00:00
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
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
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
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 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
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
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 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 e8263f6807 ST_SnapToGrid: retain type on empty return (#1695)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9516 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-19 12:07:39 +00:00
Sandro Santilli 03de589457 Fix UTM zone reserved SRID interpretation (#1680)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9476 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-12 17:45:48 +00:00
Sandro Santilli 3e26b06206 Use rounder numbers in tests (fixes a regression on 32bit system)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9320 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-27 18:07:38 +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
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 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 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
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 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