Commit graph

130 commits

Author SHA1 Message Date
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
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 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
Paul Ramsey 72cecc3d76 Fix regression failure in standard serialization mode. (#735)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6523 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-28 18:00:34 +00:00
Paul Ramsey 396d028672 T_Distance_Spheroid is kinda broken (#677)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6517 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-28 00:27:37 +00:00
Paul Ramsey 1e2f558d94 ST_MakeLine aggregate function crashes with empty geometries (#729)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6515 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-27 22:41:57 +00:00
Paul Ramsey eb97c07737 Add more tickets tests up to #700
git-svn-id: http://svn.osgeo.org/postgis/trunk@6495 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-23 22:49:03 +00:00
Paul Ramsey 82dea69283 Add some tickets from the trac into regression
git-svn-id: http://svn.osgeo.org/postgis/trunk@6493 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-23 19:06:25 +00:00
Paul Ramsey 581a67df60 Add regression test for #723
git-svn-id: http://svn.osgeo.org/postgis/trunk@6457 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-20 23:34:23 +00:00
Paul Ramsey d7e2ffc703 Add in test for #720
git-svn-id: http://svn.osgeo.org/postgis/trunk@6445 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-18 15:31:25 +00:00
Paul Ramsey bb5a15fc54 Review to prepare generic index bindings for geography, then geometry
git-svn-id: http://svn.osgeo.org/postgis/trunk@6439 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-17 22:03:36 +00:00
Paul Ramsey ebc5208d24 Harmonize some index support functions to be more generic gserialized functions and less specific geography functions.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6438 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-17 21:32:11 +00:00
Paul Ramsey 5b3fb97af4 ST_CollectionExtract returns non-requested type (#457)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6363 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-13 21:31:29 +00:00
Paul Ramsey 4cc4123357 Replace the old WKB/WKT parser and emitters with the new ones.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6291 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-07 21:08:05 +00:00
Paul Ramsey d2e7bc9908 Forward port regression fixes for pgSQL 9.0 support
git-svn-id: http://svn.osgeo.org/postgis/trunk@6017 b70326c6-7e19-0410-871a-916f4a2858ee
2010-09-24 18:41:16 +00:00
Sandro Santilli af239f0e5e Fix crash on invalid polygon rings conversion to geos
git-svn-id: http://svn.osgeo.org/postgis/trunk@5563 b70326c6-7e19-0410-871a-916f4a2858ee
2010-04-17 08:26:39 +00:00
Olivier Courtin aca9512afb Add few more lwgeom_typename, and update regress test if needed. Restore initial lwnotice behaviour in remove_repeated_points on unknown types (instead of lwerror).
git-svn-id: http://svn.osgeo.org/postgis/trunk@5347 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-26 00:16:25 +00:00
Olivier Courtin 738fe292c6 Move ST_AsGML from postgis dir to liblwgeom. Rewrite most units test with cunit. cf #377
git-svn-id: http://svn.osgeo.org/postgis/trunk@5275 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-21 18:18:37 +00:00
Sandro Santilli d2acb20860 Add another validity test [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@5236 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-13 15:29:01 +00:00
Sandro Santilli 5f67d6b4a9 Don't refuse to unparse malformed geometries. Fixes #411. Didn't seem to expose the crash in #168, the testcase for it was expanded to extract invalidity reason.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5214 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-08 18:54:47 +00:00
Sandro Santilli 42283ab8a1 Add another test for #407
git-svn-id: http://svn.osgeo.org/postgis/trunk@5212 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-06 13:48:44 +00:00
Sandro Santilli f82e241795 Register a buffer-logger as error-reporter from ST_isValidReason and ST_isValidDetail so to catch exceptions thrown by GEOS at postgis->geos conversion for the sake of reporting actual error. Fixes ticket #408. Completed with testcase.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5207 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-05 20:55:54 +00:00
Olivier Courtin fbec01c10c revert r5175 commit about points results on #304. Related to #395
git-svn-id: http://svn.osgeo.org/postgis/trunk@5176 b70326c6-7e19-0410-871a-916f4a2858ee
2010-01-28 15:51:28 +00:00
Olivier Courtin 71f4c88c47 In regress/tickets* Add missing srid 32702 and 32602. Add results from #304 tests. Related to #395
git-svn-id: http://svn.osgeo.org/postgis/trunk@5175 b70326c6-7e19-0410-871a-916f4a2858ee
2010-01-28 15:28:04 +00:00
Olivier Courtin 00b73f896f Round decimal part in #58 ticket unit test. As the previous result was not cross platform compliant
git-svn-id: http://svn.osgeo.org/postgis/trunk@5127 b70326c6-7e19-0410-871a-916f4a2858ee
2010-01-15 08:13:19 +00:00
Mark Cave-Ayland 901d61196c Fix ST_Envelope() and ST_Expand() so that they use double precision arithmetic rather than single precision arithmetic for their calculations. The internal BOX2DFLOAT4s should *never* be used for calculation purposes.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5080 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-30 14:52:52 +00:00
Paul Ramsey 214aa172b5 Move the fromGML test into the in_gml.sql file, so that it will be properly excluded when libxml2 is not available.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4945 b70326c6-7e19-0410-871a-916f4a2858ee
2009-11-30 20:44:56 +00:00
Paul Ramsey 820541da85 Add tests from #210 to the tickets.sql
git-svn-id: http://svn.osgeo.org/postgis/trunk@4844 b70326c6-7e19-0410-871a-916f4a2858ee
2009-11-17 04:28:11 +00:00
Paul Ramsey 09e70c585e Add tickets.sql and expected tests derived from old trac entries (#214)
git-svn-id: http://svn.osgeo.org/postgis/trunk@4843 b70326c6-7e19-0410-871a-916f4a2858ee
2009-11-17 04:25:26 +00:00