Commit graph

97 commits

Author SHA1 Message Date
Olivier Courtin 927028f23c Add SFCGAL support cf #2254. Include SFCGAL support, postgis backend handling (GEOS/SFCGAL). Regress tests, documentation prototypes and also additional force_sfs function.
git-svn-id: http://svn.osgeo.org/postgis/trunk@11389 b70326c6-7e19-0410-871a-916f4a2858ee
2013-05-09 19:38:17 +00:00
Regina Obe 673fcda434 #2118: ST_Boundary support for Triangle type
git-svn-id: http://svn.osgeo.org/postgis/trunk@11358 b70326c6-7e19-0410-871a-916f4a2858ee
2013-05-05 16:24:09 +00:00
Regina Obe 4ab040c95d #1818: geohash patch hashbox to geom
git-svn-id: http://svn.osgeo.org/postgis/trunk@11341 b70326c6-7e19-0410-871a-916f4a2858ee
2013-05-03 04:04:22 +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
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
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
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 29e2d6a299 Change @rm to rm for visibility
git-svn-id: http://svn.osgeo.org/postgis/trunk@9523 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-21 21:36:59 +00:00
Paul Ramsey cf8753bd36 Make distclean should remove all the Makefile's generated by ./configure
git-svn-id: http://svn.osgeo.org/postgis/trunk@9522 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-21 20:32:29 +00:00
Paul Ramsey e589b94396 Fix need to hack regress source path
git-svn-id: http://svn.osgeo.org/postgis/trunk@9424 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-07 20:47:38 +00:00
Sandro Santilli 9b4a6e70e5 Actually run GeoJSON input tests when libjson is available
git-svn-id: http://svn.osgeo.org/postgis/trunk@9419 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-07 11:39:46 +00:00
Sandro Santilli 38f653b4f2 Add regression test for legacy.sql and uninstall_legacy.sql (#915)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9318 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-27 17:36:45 +00:00
Sandro Santilli 9ebead2ba3 Have staged-install install comments when possible (#1532)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9163 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-13 10:58:28 +00:00
Pierre Racine f92b129006 Have perl to backup the file before editing. 'make check' is failing on Windows 7 without that.
See http://postgis.refractions.net/pipermail/postgis-devel/2012-February/018482.html

git-svn-id: http://svn.osgeo.org/postgis/trunk@9146 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-10 17:05:25 +00:00
Paul Ramsey 6b4147d1b0 Complete #737
git-svn-id: http://svn.osgeo.org/postgis/trunk@8939 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-26 20:25:29 +00:00
Sandro Santilli a04e35997a Do not run the upgrade test if the normal test failed
git-svn-id: http://svn.osgeo.org/postgis/trunk@8872 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-19 08:16:39 +00:00
Sandro Santilli b798e45d87 Test canonical binary output for geometry (#850)
NOTE: big-endian machines are expected to fail this new test
      please send your actual output for a fix

git-svn-id: http://svn.osgeo.org/postgis/trunk@8859 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-17 19:15:48 +00:00
Sandro Santilli 3a61ab1f87 Run the testsuite again after upgrading (#1326)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8855 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-17 17:52:57 +00:00
Sandro Santilli 419470fc86 Enhance staged install to include raster, topology and all scripts
Add an --upgrade switch to regress/run_test in preparation of
regress testing upgrade scripts (#1326)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8853 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-17 17:13:32 +00:00
Sandro Santilli a075c7eb3b Keep UTM zone numbers in range, regress-test _ST_BestSRID (#1234)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8846 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-16 17:00:50 +00:00
Sandro Santilli 6c3c6a8f7b First draft of a test for typmod (#1085)
This version simply creates the tables and checks geometry_columns.
Should be enhanced to test effectiveness of constraints.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8803 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-13 17:33:26 +00:00
Sandro Santilli 9540a582f6 Add regress test for WKB (#1448) and enable the existing one for WKT
git-svn-id: http://svn.osgeo.org/postgis/trunk@8770 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-11 11:17:10 +00:00
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