Commit graph

75 commits

Author SHA1 Message Date
Sandro Santilli 7761d221f0 run_test doesn't need USE_VERSION anymore
git-svn-id: http://svn.osgeo.org/postgis/trunk@8557 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-24 10:42:48 +00:00
Sandro Santilli 0d867ed67b Put staged postgis.sql with other staged intsall objects
git-svn-id: http://svn.osgeo.org/postgis/trunk@8492 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-21 17:09:45 +00:00
Sandro Santilli ed841457ad Return empty geoms snapped to a grid as immutated (#1089)
Also introduces an "empty" regression test

git-svn-id: http://svn.osgeo.org/postgis/trunk@8408 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-14 14:37:18 +00:00
Paul Ramsey 07b03da783 Add ST_GeomFromGeoJSON (#376)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8167 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-18 00:17:56 +00:00
Sandro Santilli 29b697dbc8 Add SQL-level tests for ST_Node (#1206)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8093 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-04 18:24:54 +00:00
Sandro Santilli 6a184b663c Add test for ST_Summary
git-svn-id: http://svn.osgeo.org/postgis/trunk@8083 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-02 16:53:09 +00:00
Sandro Santilli 0571e6c211 With libtool for loader/dumper there's no need to stage-install them
Fixes ticket #1177 [RT-SIGTA]

git-svn-id: http://svn.osgeo.org/postgis/trunk@7795 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-31 07:06:57 +00:00
Sandro Santilli 429d9910b8 Fix support for MULTICURVEZM and make TIN spelling conformant to other (MixedCase). Add cohomprensive regress test for postgis_type_name(). Closes bug #1096 once again.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7576 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-04 11:24:46 +00:00
Sandro Santilli 755cf362ed Well, let's run the ST_OffsetCurve regress test only against GEOS-3.3. After all it's known to fail against 3.2 ... (due to http://trac.osgeo.org/geos/ticket/455#comment:1)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7538 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-01 10:36:22 +00:00
Sandro Santilli 7edd2a57f1 Add ST_OffsetCurve function supporting both GEOS-3.2 and GEOS-3.3+. Uses distance parameter sign to derive left/right side. Includes regress testing and documentation. Based on patch by Rafal Magda.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7534 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-01 09:56:11 +00:00
Regina Obe 739089d4e0 version garden test files so now named raster_gardentest_20.sql, postgis_gardentest_20.sql. Add reclassarg type example to raster garden objects
git-svn-id: http://svn.osgeo.org/postgis/trunk@7494 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-27 01:53:51 +00:00
Sandro Santilli e38fac3d06 Add support for a RUNTESTFLAGS variable so you can do something like: 'make check RUNTESTFLAGS=-v' and get the problems printed w/out having to look at logs.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7015 b70326c6-7e19-0410-871a-916f4a2858ee
2011-04-11 09:54:06 +00:00
Regina Obe 3cc1d00614 Get rid of some tests in _ST_ConcaveHull and only attempt to make a polygon if the line is simple. ST_Covers is causing me quite a bit of greif as a testing tool. don't recall so many topo node this and that in GEOS 3.2 ST_Covers. Also add in some regress tests for ST_ConcaveHull -- more to come.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7006 b70326c6-7e19-0410-871a-916f4a2858ee
2011-04-05 22:26:45 +00:00
Sandro Santilli 3fcf312af1 Add test for ST_Polygonize with nested collection input (see ticket #878)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6951 b70326c6-7e19-0410-871a-916f4a2858ee
2011-03-21 16:33:14 +00:00
Paul Ramsey 9b394f152f Jeff Adams: Added regression test for LATIN1 encoding, fixed failure to convert to UTF8. (#808)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6932 b70326c6-7e19-0410-871a-916f4a2858ee
2011-03-18 19:13:26 +00:00
Paul Ramsey c94ae0b2b9 Jeff Adams: Adding a regression test for the loader that uses a schema-qualified table name.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6928 b70326c6-7e19-0410-871a-916f4a2858ee
2011-03-18 17:36:01 +00:00
Paul Ramsey a2c725a6fb Fixes the following shp2pgsql issues:
#229: A new "-r" command line parameter to specify a "from" SRID for reprojecting (the existing -s is the "to").
#779: -S now works for points, and -w is documented.
#864: MULTIPOINT shapefiles with single-vertex points now correctly load with all MULTIPOINTs.
#865: no longer crashes when both -g and -G are used.



git-svn-id: http://svn.osgeo.org/postgis/trunk@6922 b70326c6-7e19-0410-871a-916f4a2858ee
2011-03-18 15:40:31 +00:00
Paul Ramsey 2db8d4de0e Jeff Adams patch to add command line flag to not use a transaction. (#110)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6909 b70326c6-7e19-0410-871a-916f4a2858ee
2011-03-16 17:16:47 +00:00
Regina Obe aa1e714482 Add regress tests for populate_geometry_columns,DropGeometryTable
git-svn-id: http://svn.osgeo.org/postgis/trunk@6901 b70326c6-7e19-0410-871a-916f4a2858ee
2011-03-15 14:04:45 +00:00
Sandro Santilli ab43b6a552 Ticket #844: add support for boundary node rule specification in ST_Relate [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@6882 b70326c6-7e19-0410-871a-916f4a2858ee
2011-03-08 10:23:42 +00:00
Sandro Santilli 67823f089f Enable a very old relate test which for some reason was never automatically run
git-svn-id: http://svn.osgeo.org/postgis/trunk@6881 b70326c6-7e19-0410-871a-916f4a2858ee
2011-03-08 08:16:16 +00:00
Sandro Santilli 9d03ce5921 Only run ST_isValidDetail if GEOS is >= 3.3 -- Reduce tests for GEOS version grouping togheter tests depending on the same version [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@6827 b70326c6-7e19-0410-871a-916f4a2858ee
2011-02-16 09:12:50 +00:00
Sandro Santilli 574772c087 Regression test for ST_isValidDetail (including "ESRI" flag) [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@6826 b70326c6-7e19-0410-871a-916f4a2858ee
2011-02-16 08:54:03 +00:00
Sandro Santilli 415c0aef9b ST_UnaryUnion and test
git-svn-id: http://svn.osgeo.org/postgis/trunk@6816 b70326c6-7e19-0410-871a-916f4a2858ee
2011-02-14 17:26:38 +00:00
Regina Obe 9f425ed040 make relatematch a conditional GEOS 3.3 test
git-svn-id: http://svn.osgeo.org/postgis/trunk@6596 b70326c6-7e19-0410-871a-916f4a2858ee
2011-01-11 17:18:05 +00:00
Regina Obe 45c5c85a3a Add another type, add missing element, update make check example in installation. Fix error introduced in regress that prevented all tests from running.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6595 b70326c6-7e19-0410-871a-916f4a2858ee
2011-01-11 15:53:16 +00:00
Regina Obe 19d0b9763d remove wmsservers_old so its failure doesn't halt further make check
git-svn-id: http://svn.osgeo.org/postgis/trunk@6581 b70326c6-7e19-0410-871a-916f4a2858ee
2011-01-07 13:38:14 +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
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
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
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 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
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 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
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
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 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 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 4a7cb9dd18 Initial work on ST_SplitGeometry. Split line by point implemented.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5396 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-10 15:33:33 +00:00
Sandro Santilli 2d61c313c5 Node lineal geometries resulting invalid. Re-enable automated testcase for st_MakeValid [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@5360 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-28 23:11:08 +00:00
Olivier Courtin 2ad8b5bd08 Add new 'make garden' rule to launch full Garden test regression tests
git-svn-id: http://svn.osgeo.org/postgis/trunk@5349 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-26 15:05:55 +00:00
Olivier Courtin 8f04172b79 Fix 443. Move all regress export functions test files in a single one. add geography output regression tests (SVG/KML/GML/GeoJSON)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5314 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-23 14:52:28 +00:00
Sandro Santilli 6c6a13875e Disable 'clean' test (still deciding on what's the expected output); keep only cut-lines that have vertices not shared with boundary of final area; move 'clean' code in separate file [RT-SIGTA].
git-svn-id: http://svn.osgeo.org/postgis/trunk@5278 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-21 21:11:03 +00:00
Sandro Santilli f6ac58c764 ST_RemoveRepeatedPoints [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@5273 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-21 12:22:08 +00:00
Sandro Santilli 6e33fce0d2 Implement ST_MakeValid(geom_in, collect_collapses) and stub ST_CleanGeometry. Add regression test for ST_MakeValid and polygons [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@5240 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-14 22:59:57 +00:00
Nicklas Avén 2a46f5271b Fix for make check on MingW #389
git-svn-id: http://svn.osgeo.org/postgis/trunk@5148 b70326c6-7e19-0410-871a-916f4a2858ee
2010-01-21 07:19:31 +00:00
Paul Ramsey 7d94c6fd13 Make GEOS 3.1 the mandatory minimum (#385)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5129 b70326c6-7e19-0410-871a-916f4a2858ee
2010-01-15 17:54:52 +00:00
Olivier Courtin 1358086804 Libxml become mandatory. Cf #344. Modify configure step, remove all HAVE_LIBXML2 from code, sql and unit tests. Update documentation
git-svn-id: http://svn.osgeo.org/postgis/trunk@5032 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-18 19:08:20 +00:00