Commit graph

402 commits

Author SHA1 Message Date
Regina Obe 986fd1cc2a #722 remove deprecated functions (part): boundary, GeomUnion, intersects, IsRing, IsSimple,
length2d_spheroid, locate_along_measure, relate,PointOnSurface, SnapToGrid, symmetricdifference, touches

git-svn-id: http://svn.osgeo.org/postgis/trunk@6575 b70326c6-7e19-0410-871a-916f4a2858ee
2011-01-05 22:25:25 +00:00
Regina Obe 094d763b28 #722 (part): Down with really really dumb constructors :)
GeomCollFromText,LineFromText,LineFromWKB,LineStringFromText,LinestringFromWKB,LineMerge,MLineFromText
,MLineFromWKB,MPointFromText,MPolyFromWKB,MultiLineFromWKB,MultiLineStringFromText,MultiPointFromWKB,
ST_Polygonize_GArray,PolyFromText,PolyFromWKB,PolygonFromWKB,PointFromText,PointFromWKB

git-svn-id: http://svn.osgeo.org/postgis/trunk@6571 b70326c6-7e19-0410-871a-916f4a2858ee
2011-01-05 14:56:36 +00:00
Regina Obe 67f7c64e50 remove deprecated functions: bdpolyfromtext,bdmpolyfromtext,collect,disjoint,memcollect,memgeomunion,
unite_garray,st_unit_garray .
reshuffle legacy.sql.in.c so aggregates and dependencies are together

git-svn-id: http://svn.osgeo.org/postgis/trunk@6564 b70326c6-7e19-0410-871a-916f4a2858ee
2011-01-04 13:59:57 +00:00
Regina Obe 479cfc9241 remove more deprecated: dimension,exteriorring, geometryn,interiorringn, isempty,isclosed,
m,numinteriorring, numinteriorrings,pointn,x,y,z

git-svn-id: http://svn.osgeo.org/postgis/trunk@6563 b70326c6-7e19-0410-871a-916f4a2858ee
2011-01-04 13:35:31 +00:00
Regina Obe 46a7427696 remove more deprecated functions
git-svn-id: http://svn.osgeo.org/postgis/trunk@6561 b70326c6-7e19-0410-871a-916f4a2858ee
2011-01-04 12:51:45 +00:00
Regina Obe c55a22c471 get rid of more deprecated functions
git-svn-id: http://svn.osgeo.org/postgis/trunk@6560 b70326c6-7e19-0410-871a-916f4a2858ee
2011-01-03 19:26:19 +00:00
Regina Obe 355419c141 remove more deprecated functions
git-svn-id: http://svn.osgeo.org/postgis/trunk@6559 b70326c6-7e19-0410-871a-916f4a2858ee
2011-01-03 18:52:13 +00:00
Nicklas Avén 16051b5c97 rounding precision difference in measures regress test #703, #735, #607
git-svn-id: http://svn.osgeo.org/postgis/trunk@6543 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-30 18:31:04 +00:00
Regina Obe da8487b76b get rid of more deprecated calls, but keep old deprecated wmsservers and rename to wmsservers_old. Create a new version wmsservers_new that doesn't use deprecated calls. the old will fail once I pull the switch on old deprecated calls, but the new should work.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6535 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-29 15:37:47 +00:00
Regina Obe d7ec3dcd83 remove deprecated tests
git-svn-id: http://svn.osgeo.org/postgis/trunk@6534 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-29 15:17:08 +00:00
Regina Obe 3ddc3acda8 forgot these
git-svn-id: http://svn.osgeo.org/postgis/trunk@6533 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-29 14:50:16 +00:00
Regina Obe cf190d08da get rid of more deprecated
git-svn-id: http://svn.osgeo.org/postgis/trunk@6532 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-29 14:48:52 +00:00
Regina Obe 2d7e0aa5d4 Get rid of more deprecated calls
git-svn-id: http://svn.osgeo.org/postgis/trunk@6531 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-29 14:14:45 +00:00
Paul Ramsey 1545b8e8b7 Update test to reflect that polygons are now supported.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6530 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-29 14:07:37 +00:00
Regina Obe 9d9f2436b2 Get rid of deprecated calls
git-svn-id: http://svn.osgeo.org/postgis/trunk@6526 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-28 18:24:39 +00:00
Regina Obe 9c473a09e2 get rid of deprecated calls
git-svn-id: http://svn.osgeo.org/postgis/trunk@6525 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-28 18:24:04 +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
Regina Obe a9a27d3944 miscellaneous
git-svn-id: http://svn.osgeo.org/postgis/trunk@6479 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-22 20:02:14 +00:00
Regina Obe bc13a6e597 Goodbye length
git-svn-id: http://svn.osgeo.org/postgis/trunk@6478 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-22 19:41:10 +00:00
Regina Obe 4c778208b0 Good bye simplify
git-svn-id: http://svn.osgeo.org/postgis/trunk@6477 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-22 19:15:02 +00:00
Regina Obe c63e74019e get rid of addbbox,dropbbox,hasbbox (and replace occurrences in regress with newer postgis_addbbox etc)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6473 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-22 18:42:38 +00:00
Regina Obe 62ab050080 move all deprecated Affine functoins to legach.sql.in.c, remove use in non-deprecated functions and in regress tests
git-svn-id: http://svn.osgeo.org/postgis/trunk@6470 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-22 17:08:41 +00:00
Paul Ramsey 4a8cccc765 Remove some ST_ variants of cast-support functions (#302), and start legacy.sql.in.c (#722)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6467 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-21 23:56:23 +00:00
Sandro Santilli e7907020fa Implement ST_RelateMatch, see ticket #717. [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@6459 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-21 10:32:39 +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 fd6d759590 Re-orgs to push the geodetic/cartesian divide a little further under the covers as part of the geometry/geography group hug at the index bindings level.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6437 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-17 20:10:36 +00:00
Sandro Santilli 4a10bd7cfd Return number of failures as exit status
git-svn-id: http://svn.osgeo.org/postgis/trunk@6422 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-16 18:02:16 +00:00
Sandro Santilli 0e1c6d0a8a Have run_test exit code reflect presence of failures.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6421 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-16 18:00:31 +00:00
Sandro Santilli 7c71e830fc Remove duplicated check rule
git-svn-id: http://svn.osgeo.org/postgis/trunk@6420 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-16 17:52:08 +00:00
Sandro Santilli 4c7022bd85 Turn 'regress' dir into a first class subdir, fixes ticket #715
git-svn-id: http://svn.osgeo.org/postgis/trunk@6418 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-16 17:30:39 +00:00
Sandro Santilli 125cfa0573 Allow run_test calls from foreign directories
git-svn-id: http://svn.osgeo.org/postgis/trunk@6394 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-15 14:14:29 +00:00
Sandro Santilli 3790492ecb Do not read ~/.psqlrc when creating database
git-svn-id: http://svn.osgeo.org/postgis/trunk@6393 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-15 14:09:45 +00:00
Sandro Santilli 5fe7180b2d Add a --topology switch to equip regression db with topology support when requested
git-svn-id: http://svn.osgeo.org/postgis/trunk@6392 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-15 14:04:45 +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
Nicklas Avén 7ab86c96e3 3d distance functions for line-line cases
git-svn-id: http://svn.osgeo.org/postgis/trunk@6343 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-12 22:42:19 +00:00
Paul Ramsey c7697e2359 Issues with TRIANGLE AND TIN EMPTY collections - hmm do they exist? (#686)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6335 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-10 20:22:19 +00:00
Paul Ramsey a2dbab5b3f Fix cunit failures on Polyhedral surface (#697)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6333 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-10 19:10:16 +00:00
Paul Ramsey ce028a39f0 Fix crash in ST_MakeLine (#690)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6319 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-09 18:00:18 +00:00
Paul Ramsey 0152eeedc2 Handle empty geometries in ST_Buffer(). If argument empty, return empty. (#682)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6301 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-08 18:20:18 +00:00
Sandro Santilli 03088d59b5 Use unified diffs for expected/obtained (easier to read)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6292 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-07 21:55:07 +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
Sandro Santilli 35f8533793 Add a couple more cases provided by RT-SITA
git-svn-id: http://svn.osgeo.org/postgis/trunk@6278 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-06 15:07:48 +00:00
Sandro Santilli ac0d74c59b Add SNAP test reported on JTS mailing list
git-svn-id: http://svn.osgeo.org/postgis/trunk@6272 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-03 10:13:38 +00:00
Sandro Santilli ab461267c9 Add test for bug 670
git-svn-id: http://svn.osgeo.org/postgis/trunk@6269 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-03 09:00:54 +00:00
Paul Ramsey 49ddf44404 Remove LWGEOM_INSPECTED from pointn, startpoint, endpoint, and migrate functionality to liblwgeom.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6264 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-02 18:52:26 +00:00
Sandro Santilli 62a8c48dcc ST_Snap and regress testing
git-svn-id: http://svn.osgeo.org/postgis/trunk@6263 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-02 18:12:39 +00:00
Paul Ramsey 1219a391b7 Remove INSPECTED from numpoints
git-svn-id: http://svn.osgeo.org/postgis/trunk@6258 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-02 17:18:42 +00:00
Paul Ramsey 9f713a95b6 Remove LWGEOM_INSPECTED from ST_Union
git-svn-id: http://svn.osgeo.org/postgis/trunk@6253 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-02 15:55:41 +00:00
Sandro Santilli d3d19cc3a5 Add regression testing for ST_SharedPaths
git-svn-id: http://svn.osgeo.org/postgis/trunk@6236 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-01 18:13:49 +00:00
Sandro Santilli 7e126fda68 Test dumping an insanely _empty_ geometry
git-svn-id: http://svn.osgeo.org/postgis/trunk@6227 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-01 14:56:45 +00:00
Sandro Santilli 528cf352cd Test ST_Dump(EMPTY)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6226 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-01 14:44:01 +00:00
Sandro Santilli 2e3fb76f0a Add test for ST_Dump
git-svn-id: http://svn.osgeo.org/postgis/trunk@6225 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-01 14:41:30 +00:00
Paul Ramsey 562fc263bb Move spheroid length calculation to using same function as geography
git-svn-id: http://svn.osgeo.org/postgis/trunk@6217 b70326c6-7e19-0410-871a-916f4a2858ee
2010-11-30 23:44:09 +00:00
Paul Ramsey 5e326a074b Revert GML change. Hm.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6179 b70326c6-7e19-0410-871a-916f4a2858ee
2010-11-19 22:12:26 +00:00
Paul Ramsey bd3aac3f23 Change in gml regression to match what seems to be the right answers.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6178 b70326c6-7e19-0410-871a-916f4a2858ee
2010-11-19 21:51:06 +00:00
Sandro Santilli 47e4a75f09 Snap ShortestLine to 1e-14 grid (fixes failure on opensuse)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6083 b70326c6-7e19-0410-871a-916f4a2858ee
2010-10-18 13:15:04 +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
Paul Ramsey 38b049d6a3 Use 'the_geom' as geometry column when running regression tests to match the old regression fragments.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6007 b70326c6-7e19-0410-871a-916f4a2858ee
2010-09-22 22:30:14 +00:00
Olivier Courtin d6eb43bf76 Revert changes on PointN and Numpoints to remove TRIANGLE support. Add ExteriorRing support to TRIANGLE. Changes DumpPoint behaviour to reflect exteriorRing. Update unit tests
git-svn-id: http://svn.osgeo.org/postgis/trunk@5910 b70326c6-7e19-0410-871a-916f4a2858ee
2010-09-05 17:01:27 +00:00
Nicklas Avén d5b2e25d6d 3D Distance functions, only point-point and point line. #576
git-svn-id: http://svn.osgeo.org/postgis/trunk@5889 b70326c6-7e19-0410-871a-916f4a2858ee
2010-09-01 19:55:11 +00:00
Olivier Courtin 3ee57e952a Add St_NumPoints and ST_PointN support for Triangle. Add ST_DumpPoints support for Triangle, Tin and Polyhedral Surface, and related unit tests. Tks to yabo for patch. Related to #564
git-svn-id: http://svn.osgeo.org/postgis/trunk@5830 b70326c6-7e19-0410-871a-916f4a2858ee
2010-08-15 18:54:05 +00:00
Olivier Courtin 193dcbfc66 Add Tin and Triangle support for ST_GeomFromGML. Add related unit tests
git-svn-id: http://svn.osgeo.org/postgis/trunk@5827 b70326c6-7e19-0410-871a-916f4a2858ee
2010-08-15 13:57:21 +00:00
Sandro Santilli f76e0c45c3 Drop spurious empty line
git-svn-id: http://svn.osgeo.org/postgis/trunk@5795 b70326c6-7e19-0410-871a-916f4a2858ee
2010-08-08 22:20:24 +00:00
Sandro Santilli f9e4bc2788 'pushd' is not guaranteed to be provided by all shells (Ubuntu 8.10 has /bin/sh point to dash(1) which doesn't provide it)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5794 b70326c6-7e19-0410-871a-916f4a2858ee
2010-08-08 22:20:01 +00:00
Olivier Courtin 7e30a49390 Add function aliases for ST_NumPatches and ST_PatchN (both SFS 1.2 and SQL/MM). Add PolyhedralSurface for ST_IsClosed (surface vs volume). Update ST_Dimension support to be consistent. Add unit tests.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5793 b70326c6-7e19-0410-871a-916f4a2858ee
2010-08-08 20:41:17 +00:00
Olivier Courtin 1961544717 Add PolyhedralSurface support to ST_GeomFromGML. Add related unit tests. related to #430
git-svn-id: http://svn.osgeo.org/postgis/trunk@5789 b70326c6-7e19-0410-871a-916f4a2858ee
2010-08-06 20:08:34 +00:00
Olivier Courtin 02e9731e2a Remove Integer deprecaded types (POINTTYPEI, LINETYPEI, POLYGONTYPEI) and lwgi related stuff. As a consequence EWKB of CURVEPOLYTYPE, MULTICURVETYPE and MULTISURFACETYPE is changed/impacted (geometry type bits). Now we have 3 new free geometry type available. Preliminary work to #427
git-svn-id: http://svn.osgeo.org/postgis/trunk@5752 b70326c6-7e19-0410-871a-916f4a2858ee
2010-07-24 10:55:34 +00:00
Sandro Santilli 827113edc2 Add ST_isCollection (see ticket #549)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5718 b70326c6-7e19-0410-871a-916f4a2858ee
2010-07-01 13:20:43 +00:00
Sandro Santilli 7f8e86fbf8 Test splitting 3d line by 2d blade
git-svn-id: http://svn.osgeo.org/postgis/trunk@5703 b70326c6-7e19-0410-871a-916f4a2858ee
2010-06-25 07:41:42 +00:00
Sandro Santilli 39d52c2db1 Add a 'staged-install' rule, helpful when you want to run a single test after changing the core lib ...
git-svn-id: http://svn.osgeo.org/postgis/trunk@5602 b70326c6-7e19-0410-871a-916f4a2858ee
2010-05-03 16:02:19 +00:00
Sandro Santilli c5962cc957 ST_MakeValid: don't choke on MULTILINESTRING containing invalid LINESTRING elements
git-svn-id: http://svn.osgeo.org/postgis/trunk@5601 b70326c6-7e19-0410-871a-916f4a2858ee
2010-05-03 15:59:16 +00:00
Sandro Santilli 3d207a49b8 Merge SRID-retainment tests with some of the other tests
git-svn-id: http://svn.osgeo.org/postgis/trunk@5600 b70326c6-7e19-0410-871a-916f4a2858ee
2010-05-03 12:11:09 +00:00
Sandro Santilli ba2c3d1b60 Do not drop polygon boundaries collapsed to points
git-svn-id: http://svn.osgeo.org/postgis/trunk@5599 b70326c6-7e19-0410-871a-916f4a2858ee
2010-05-03 11:31:18 +00:00
Olivier Courtin 23d4eb80c3 Add new option to ST_AsGML: ability to remove srsDimension attribute in GML 3. cf #508
git-svn-id: http://svn.osgeo.org/postgis/trunk@5575 b70326c6-7e19-0410-871a-916f4a2858ee
2010-04-27 15:26:08 +00:00
Olivier Courtin d3b3479ad7 Fix wrong OGC URN in GeoJson and GML output. Cf #507
git-svn-id: http://svn.osgeo.org/postgis/trunk@5572 b70326c6-7e19-0410-871a-916f4a2858ee
2010-04-27 13:58:41 +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 fa69a73149 Add optional namespace to ST_AsKML function. related in a way to #460
git-svn-id: http://svn.osgeo.org/postgis/trunk@5532 b70326c6-7e19-0410-871a-916f4a2858ee
2010-04-12 08:48:02 +00:00
Olivier Courtin 8936c39d15 Add geography support to ST_AsGML with prefix namespace option. Update doc and unit tests. cf #460
git-svn-id: http://svn.osgeo.org/postgis/trunk@5471 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-30 12:32:24 +00:00
Sandro Santilli 834d325343 Expose custom prefix arg for ST_asGML to SQL, add tests and dox
git-svn-id: http://svn.osgeo.org/postgis/trunk@5459 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-23 19:35:26 +00:00
Sandro Santilli be71022db0 Add test for GEOMETRYCOLLECTION and ST_Split
git-svn-id: http://svn.osgeo.org/postgis/trunk@5448 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-17 08:27:26 +00:00
Sandro Santilli ad5ca36e9a Add support for MULTI* in ST_Split
git-svn-id: http://svn.osgeo.org/postgis/trunk@5444 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-16 22:18:59 +00:00
Sandro Santilli 4f0c8d8d5f Rename ST_SplitGeometry to ST_Split (better now than never)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5438 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-15 18:03:11 +00:00
Sandro Santilli b7e1ad5dd1 Implement split-poly-by-line
git-svn-id: http://svn.osgeo.org/postgis/trunk@5437 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-15 18:00:12 +00:00
Sandro Santilli 30fe3142f4 Reword exception message, make algorithm more robust not relying on constructive functions to detect relation between inputs
git-svn-id: http://svn.osgeo.org/postgis/trunk@5436 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-13 12:55:00 +00:00
Sandro Santilli 36e109773a Split-line-by-line: handle overlap cases by raising an exception
git-svn-id: http://svn.osgeo.org/postgis/trunk@5434 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-13 11:16:53 +00:00
Sandro Santilli 87798fdd85 Implement split-line-by-line
git-svn-id: http://svn.osgeo.org/postgis/trunk@5433 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-13 10:59:19 +00:00
Sandro Santilli 6dea288dfb Trigger reconstruction of regress' postgis.sql when original one changes
git-svn-id: http://svn.osgeo.org/postgis/trunk@5426 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-12 15:14:01 +00:00
Sandro Santilli 9d115d0b1e Add support for simple geometries in ST_GeometryN and ST_NumGeometries
git-svn-id: http://svn.osgeo.org/postgis/trunk@5423 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-12 13:50:22 +00:00
Sandro Santilli 645634d9a3 Set interface specs in stone within the implementation file, add a testcase to show what's "left" and what's "right" in the split-line-by-point
git-svn-id: http://svn.osgeo.org/postgis/trunk@5414 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-11 20:34:01 +00:00
Sandro Santilli a9a589d65b *always* return a collection from ST_SplitGeometry
git-svn-id: http://svn.osgeo.org/postgis/trunk@5413 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-11 20:28:24 +00:00
Sandro Santilli e44c62ca56 Have ST_SplitGeometry return a collection of at most 2 elements (original part, cut-away part) so it's easier to handle by callers
git-svn-id: http://svn.osgeo.org/postgis/trunk@5412 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-11 20:19:14 +00:00
Sandro Santilli 4cd7232685 Add SRID retainment testcase for removerepeatedpoint (paranoia)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5411 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-11 17:53:20 +00:00
Sandro Santilli f5a2df405b Add SRID retainment testcases
git-svn-id: http://svn.osgeo.org/postgis/trunk@5410 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-11 17:51:00 +00:00