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
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
ebc424f290
ST_MakeValid : turn collapsed lines into points [RT-SIGTA]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@5363 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-02 21:32:09 +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
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
Sandro Santilli
1975106d03
Don't let ST_RemoveRepeatedPoint collapse LINESTRINGs (not sure why, but someone doesn't want them in the db)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@5322 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-23 19:42:15 +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
Olivier Courtin
287fbffddd
move ST_AsSVG from postgis to lwgeom dir. write cun it tests. related to #377
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@5289 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-22 18:43:06 +00:00
Olivier Courtin
ab6afbcfb4
Move ST_AsGeoJson from postgis to liblwgeom dir. Use as most as cunit test as possible. Related to #377 .
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@5283 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-22 14:03:19 +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
Olivier Courtin
b534ff8a2f
Move ST_AsKML from postgis to liblwgeom dir. Use as most cunit test as possible. Few related corrections on GML similar implementation. cf #377
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@5277 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-21 20:32:11 +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
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
Olivier Courtin
accf1a9722
Use lwgeom_homogenize in in_kml stuff. Related to #375
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@5266 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-20 18:26:59 +00:00
Sandro Santilli
25b77f3f92
Allow retaining badly collapsed rings (single-point) as points in ST_MakeValid. Add testcase for it [RT-SIGTA]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@5258 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-17 21:02:49 +00:00
Sandro Santilli
d4efe9b20e
Add origin field for the clean dataset table, so we can add PG-specific ones w/out caring about visualizing them:)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@5254 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-16 09:08:11 +00:00
Sandro Santilli
3b23616022
Add a test for input being invalid (a test of the test)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@5253 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-16 09:06:48 +00:00
Sandro Santilli
120e78a679
Drop the optional parameter to ST_MakeValid, we always want to collect collapses (users can always filter later) [RT-SIGTA].
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@5249 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-16 08:07:39 +00:00
Sandro Santilli
756dca2e79
Rework the regress test to make it easier for curious people to keep the test dataset for inspection with some GUI (give it a try, it's a nice one).
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@5242 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-15 20:21:09 +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
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
Olivier Courtin
15b944bf9c
Fix non NULL terminated string in ST_AsSVG with GEOMETRYCOLLECTION EMPTY, cf #409 reported by sdikiy. Add related unit test
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@5211 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-06 10:49:22 +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
Paul Ramsey
91be7cc89d
Add --no-psqlrc to run_test ( #405 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@5193 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-02 23:47:46 +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
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
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
Olivier Courtin
1acbdbc10a
Add http://www.epsg.org/6.11.2/4326 srsName pattern support (related to CITE WFS 1.1 GetFeature-tc17.2. Add related unit tests
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@5050 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-23 15:48:18 +00:00
Olivier Courtin
b8d4342ffc
remove the #273 test, as it already the same than point_1
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@5033 b70326c6-7e19-0410-871a-916f4a2858ee
2009-12-18 19:28:40 +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
Paul Ramsey
2365dbab02
Add NL to end of expected file.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4946 b70326c6-7e19-0410-871a-916f4a2858ee
2009-11-30 20:49:01 +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
Mark Cave-Ayland
0a0d67f93e
Commit slightly altered regression tests for the above.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4906 b70326c6-7e19-0410-871a-916f4a2858ee
2009-11-26 17:56:28 +00:00
Paul Ramsey
6700d1da91
Merge Nicklas Aven's distance spike into trunk. ( #63 , #231 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4894 b70326c6-7e19-0410-871a-916f4a2858ee
2009-11-25 19:15:57 +00:00
Mark Cave-Ayland
358145833b
Alter regression test harness so that shp2pgsql/pgsql2shp can be tested without being installed.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4862 b70326c6-7e19-0410-871a-916f4a2858ee
2009-11-19 15:39:27 +00:00
Paul Ramsey
b3d2b3c9f9
Implement ST_CollectionExtract() to pull specific homogeneous collections out of heterogeneous collections. Regressions and documentation included. ( #218 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4847 b70326c6-7e19-0410-871a-916f4a2858ee
2009-11-17 20:03:50 +00:00
Paul Ramsey
e05eff13b0
Trim the binary versions of geometries to try and remove regressions from other platforms.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4846 b70326c6-7e19-0410-871a-916f4a2858ee
2009-11-17 17:23:16 +00:00
Mark Cave-Ayland
1bb2f3a2e6
Properly fix #219 by creating a separate "mini install" of PostGIS into the PGXS regression directory that can be used for regression. This is because different architectures have different naming conventions, and so Paul's original hack isn't guaranteed to work. By using PGXS to perform the install, we eliminate the problem of having to know the final architecture library name.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4845 b70326c6-7e19-0410-871a-916f4a2858ee
2009-11-17 14:00:09 +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
Paul Ramsey
10dbae5167
Add identifying lines to SQL so that error lines are easier to find.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4842 b70326c6-7e19-0410-871a-916f4a2858ee
2009-11-16 23:30:47 +00:00
Paul Ramsey
cea471ce0c
Remove trailing space from libname
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4841 b70326c6-7e19-0410-871a-916f4a2858ee
2009-11-16 23:22:09 +00:00
Paul Ramsey
e3eb939893
Add in hack to match the library .so substition name to the one produced by a particular PgSQL version. ( #219 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4840 b70326c6-7e19-0410-871a-916f4a2858ee
2009-11-16 22:01:21 +00:00
Paul Ramsey
7ae605bfc2
Add in tests for MapServer/Geoserver-style SQL calls. ( #224 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4839 b70326c6-7e19-0410-871a-916f4a2858ee
2009-11-16 21:13:44 +00:00
Kevin Neufeld
3d4a54a77a
Ticket #76 .
...
- added a modified version of a plpgsql implementation for ST_DumpPoints() proposed by Maxime van Noppen.
- added regression tests
git-svn-id: http://svn.osgeo.org/postgis/trunk@4836 b70326c6-7e19-0410-871a-916f4a2858ee
2009-11-16 19:47:33 +00:00
Paul Ramsey
c212442dff
Add doco and regression tests for ST_MakeEnvelope() ( #199 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4832 b70326c6-7e19-0410-871a-916f4a2858ee
2009-11-16 18:46:38 +00:00
Paul Ramsey
4c0b4741b6
Add locale handling by setting to 'C' ( #303 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4815 b70326c6-7e19-0410-871a-916f4a2858ee
2009-11-15 19:32:07 +00:00
Paul Ramsey
43a8513e27
Update behavior of lwgeom_same to match "orderingequals" semantics ( #289 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4789 b70326c6-7e19-0410-871a-916f4a2858ee
2009-11-11 19:57:24 +00:00
Olivier Courtin
9e3a51f601
Initial version of ST_GeomFromKML function and related units tests
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4769 b70326c6-7e19-0410-871a-916f4a2858ee
2009-11-08 19:05:50 +00:00
Paul Ramsey
d4b40a910d
Drop database when function loads fail in regression tests. ( #77 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4764 b70326c6-7e19-0410-871a-916f4a2858ee
2009-11-07 01:47:02 +00:00
Paul Ramsey
6f547e3120
Make ~= be a bounding box only operator and upgrade ST_Equals() and ST_OrderingEquals() to match the new behavior. Update regression tests to match new behavior. ( #282 ) See also #289 for an odd quirk discovered while updating regression tests.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4763 b70326c6-7e19-0410-871a-916f4a2858ee
2009-11-07 01:31:07 +00:00
Olivier Courtin
fa590aee0a
finalize Xlink support (GML SF-2 fully compliant). Fix typo on PointProperty/Point. Few comments and style corrections. Update unit tests.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4759 b70326c6-7e19-0410-871a-916f4a2858ee
2009-11-06 22:49:09 +00:00
Paul Ramsey
d374db48d3
Fix for new LRS regression ( #283 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4751 b70326c6-7e19-0410-871a-916f4a2858ee
2009-11-05 19:29:23 +00:00
Paul Ramsey
1375e2ddc5
Implement RFC3 ( #195 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4750 b70326c6-7e19-0410-871a-916f4a2858ee
2009-11-05 19:04:45 +00:00
Olivier Courtin
8d09ad000f
Allow a double to not have digit after dot (related to #175 ). Update unit test case
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4741 b70326c6-7e19-0410-871a-916f4a2858ee
2009-11-04 21:10:40 +00:00
Olivier Courtin
638856d1d8
Initial support of Xlink. Add related units tests. Few cleaning
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4731 b70326c6-7e19-0410-871a-916f4a2858ee
2009-11-03 22:26:25 +00:00
Olivier Courtin
23d3574fc9
Add namespace support. Add pointProperty and pointRep support. Fix pos and posList spaces inside coordinates issue. Comments update. Update unit tests
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4725 b70326c6-7e19-0410-871a-916f4a2858ee
2009-11-03 13:36:47 +00:00
Olivier Courtin
1f54920bfb
Change dimension to srsDimension (GML 3.1.1)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4705 b70326c6-7e19-0410-871a-916f4a2858ee
2009-10-29 20:31:02 +00:00
Olivier Courtin
b79d225e62
Change attribute dimension into srsDimension (GML 3.1.1), cf #276
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4704 b70326c6-7e19-0410-871a-916f4a2858ee
2009-10-29 20:21:15 +00:00
Olivier Courtin
cf4d25428c
Add mixed GML srs support. Add ability to deal with lat/lon issue in GML 3. Fix GML collection units tests. Update units tests
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4699 b70326c6-7e19-0410-871a-916f4a2858ee
2009-10-29 18:42:17 +00:00
Olivier Courtin
793bed0412
Update unit test result, related to error message change (r4662 in lwgeom_transform.c)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4697 b70326c6-7e19-0410-871a-916f4a2858ee
2009-10-29 14:21:09 +00:00
Olivier Courtin
6e36099797
Add attribute dimension in gml:pos and gml:posList. Fix geometrycollection invalid GML output. Update units test. Cf #276
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4696 b70326c6-7e19-0410-871a-916f4a2858ee
2009-10-29 14:08:16 +00:00
Olivier Courtin
2c6e06417e
Add multi data coordinates support. Add unit test case data_1
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4680 b70326c6-7e19-0410-871a-916f4a2858ee
2009-10-24 16:37:12 +00:00
Olivier Courtin
c20bc78be5
Use ptarray_isclosed3d to check if 3D rings are closed also on Z. Update units tests cases
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4671 b70326c6-7e19-0410-871a-916f4a2858ee
2009-10-22 14:08:09 +00:00
Olivier Courtin
5178422626
Add initial version of GeomFromGML function, and units tests cases.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4667 b70326c6-7e19-0410-871a-916f4a2858ee
2009-10-20 12:54:01 +00:00
Sandro Santilli
867210851c
Ensure lwcollection_segmentize2d always return a NEW geometry. Fixes ticket #254 . Add regression test for that bug.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4542 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-29 13:31:20 +00:00
Mark Leslie
2c33167122
Removing accidental commit from r4366.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4397 b70326c6-7e19-0410-871a-916f4a2858ee
2009-08-13 00:37:30 +00:00
Mark Leslie
3eddf6078b
Fix for ticket #234
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4366 b70326c6-7e19-0410-871a-916f4a2858ee
2009-08-07 03:38:24 +00:00
Mark Cave-Ayland
adf4763a73
Remove quotes from PATH in regression Makefile, as it seems that the last MingW hack doesn't need this any more.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4338 b70326c6-7e19-0410-871a-916f4a2858ee
2009-07-30 16:03:55 +00:00
Mark Cave-Ayland
33ee9fcb58
Fix for Windows combining stdout/stderr when executing the $(shell) command.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4322 b70326c6-7e19-0410-871a-916f4a2858ee
2009-07-18 20:01:52 +00:00
Mark Cave-Ayland
13c6bee1ec
Apply fix to allow regression tests to run on MingW by fixing PATH and removing trailing CR/LFs on some outputs.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4321 b70326c6-7e19-0410-871a-916f4a2858ee
2009-07-18 19:01:31 +00:00
Mark Cave-Ayland
ba0962fc9f
Fix regression regex listings so that the newer "LINE n:" lines and lines containing just a position indicator (^) introduced in PostgreSQL 8.4 are removed from the regression output.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4319 b70326c6-7e19-0410-871a-916f4a2858ee
2009-07-18 18:45:42 +00:00
Sandro Santilli
572d23937c
Pre-install check rule by Paul cleaned up to allow top-level run and correct dependencies. See issue #219 .
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4284 b70326c6-7e19-0410-871a-916f4a2858ee
2009-07-08 16:03:36 +00:00
Sandro Santilli
73bfa93284
For buffer parameters: accept 'butt' as a synonim for 'flat', 'miter' for 'mitre' and 'miter_limit' for 'mitre_limit'.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4266 b70326c6-7e19-0410-871a-916f4a2858ee
2009-07-07 15:03:50 +00:00
Mark Leslie
10d24712cd
Making the changes from r4244 and r4245 onto trunk, addressing ticket 212.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4246 b70326c6-7e19-0410-871a-916f4a2858ee
2009-07-02 08:31:24 +00:00
Mark Leslie
38518df9a3
First swing at ticket 212.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4231 b70326c6-7e19-0410-871a-916f4a2858ee
2009-06-30 07:35:37 +00:00
Mark Cave-Ayland
c503926042
Unbreak the PostGIS universe for people who aren't using GEOS SVN (will be 3.2).
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4218 b70326c6-7e19-0410-871a-916f4a2858ee
2009-06-26 09:35:43 +00:00
Paul Ramsey
81fc797550
Add support for hausdorff distance calculations. Requires GEOS 3.2+. ( #209 ) From Vincent Picavet.
...
If you are working off of GEOS trunk, svn up, compile and install!
git-svn-id: http://svn.osgeo.org/postgis/trunk@4208 b70326c6-7e19-0410-871a-916f4a2858ee
2009-06-24 22:08:33 +00:00
Sandro Santilli
db528c5188
Add tests for parametrized buffer
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4206 b70326c6-7e19-0410-871a-916f4a2858ee
2009-06-24 13:32:46 +00:00
Sandro Santilli
1ca8b4052f
Yet another buffer auto-cast test. With a different quadSegs this time to be really sure the argument is being used.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4192 b70326c6-7e19-0410-871a-916f4a2858ee
2009-06-23 16:38:10 +00:00
Sandro Santilli
9bf0f74075
Add test for third argument to buffer() being a string (based on auto-cast)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4191 b70326c6-7e19-0410-871a-916f4a2858ee
2009-06-23 16:36:23 +00:00
Sandro Santilli
f2e22b4309
Add tests for area() called against empty geometries
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4188 b70326c6-7e19-0410-871a-916f4a2858ee
2009-06-20 21:26:04 +00:00
Paul Ramsey
f31941735b
Fix for #192 .
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4134 b70326c6-7e19-0410-871a-916f4a2858ee
2009-06-04 14:17:07 +00:00
Paul Ramsey
bc9640ffcb
Fix for issue #186
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4131 b70326c6-7e19-0410-871a-916f4a2858ee
2009-06-03 23:07:48 +00:00
Kevin Neufeld
18c2e66d92
dropping a table that's not there causes an ERROR in the logs
...
- 8.1 does not support DROP TABLE IF EXISTS, so first test if the table is there, then drop it.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4040 b70326c6-7e19-0410-871a-916f4a2858ee
2009-04-29 19:22:18 +00:00
Olivier Courtin
f7efab822a
Add a new option for ST_AsGML related to axis order, and lat lon inversion in GML 3.1.1, cf #161 . Add unit test on this new option bit field. Update documentation. Fix also wrong option value in ST_AsGML for CRS, and outdated example output (still for ST_AsGML).
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4039 b70326c6-7e19-0410-871a-916f4a2858ee
2009-04-28 19:13:26 +00:00
Paul Ramsey
f8ae273e9d
Final fix to remove cpp requirement
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3889 b70326c6-7e19-0410-871a-916f4a2858ee
2009-03-19 00:48:57 +00:00
Paul Ramsey
7ad30d98c7
Remove preproc step for sql-mm curve regression.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3888 b70326c6-7e19-0410-871a-916f4a2858ee
2009-03-19 00:38:34 +00:00
Paul Ramsey
6ba139d4fd
Remove USE_JTS and cpp preproc from sql-mm regression
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3887 b70326c6-7e19-0410-871a-916f4a2858ee
2009-03-19 00:37:21 +00:00
Olivier Courtin
447f68e2cd
updated SVG unit to reduce to max 2 decimal digits
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3847 b70326c6-7e19-0410-871a-916f4a2858ee
2009-03-10 21:05:19 +00:00
Olivier Courtin
2d6bdb6b9d
Add SVG unit test file
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3845 b70326c6-7e19-0410-871a-916f4a2858ee
2009-03-10 20:49:27 +00:00
Olivier Courtin
cf10a0eccc
update GML unit test according to AsGML option related to CRS output option
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3840 b70326c6-7e19-0410-871a-916f4a2858ee
2009-03-10 20:15:22 +00:00
Olivier Courtin
ebcd77343f
Update unit test upon previous GeoJson CRS change
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3838 b70326c6-7e19-0410-871a-916f4a2858ee
2009-03-10 19:30:52 +00:00
Mark Leslie
488d11cba9
Moving parser changes from spike/mleslie/parser to allow the proper nesting of compound curves within curve polygons and the validation of compound curve continuity. This also resolves GBT#124.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3821 b70326c6-7e19-0410-871a-916f4a2858ee
2009-03-10 00:29:32 +00:00
Paul Ramsey
84ede471af
Fix for GBT#96.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3817 b70326c6-7e19-0410-871a-916f4a2858ee
2009-03-09 18:40:23 +00:00
Mark Cave-Ayland
e78a1a96d9
Fix for GBT#93: ST_Extent() and ST_Estimated_Extent() return BOX2DFLOAT4s. This is currently done using a horrible hack for backwards compatibility which introduces a new type just for ST_Extent(). See GBT email to postgis-devel and code comments for more detail.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3811 b70326c6-7e19-0410-871a-916f4a2858ee
2009-03-08 22:33:31 +00:00
Paul Ramsey
ddfe100a7c
Change references from ./lwgeom to ./postgis
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3687 b70326c6-7e19-0410-871a-916f4a2858ee
2009-02-11 18:28:53 +00:00
Olivier Courtin
ce49b5fe54
KML output: use decimal places rather than significant digit, trim trailing zeros, update documentation, update unit test
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3677 b70326c6-7e19-0410-871a-916f4a2858ee
2009-02-10 08:00:39 +00:00
Olivier Courtin
f2743b91e4
GeoJson output: trim trailing zero, add forgotten free on subgemotry inspect. GML output: precision no more as a global one, decimal places rather than significant digits, trim trailing zero, add unit test, doc update with output example
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3676 b70326c6-7e19-0410-871a-916f4a2858ee
2009-02-10 07:54:19 +00:00
Mark Leslie
0974feec6b
Fix for Issue 108 and regress test.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3605 b70326c6-7e19-0410-871a-916f4a2858ee
2009-02-02 06:01:27 +00:00
Mark Cave-Ayland
feef574560
Part 1 of GBT#94: Rename folders/files to be more consistent. Embed the MAJOR.MINOR version in the PostgreSQL shared library name (to allow different databases to contain different PostGIS versions) and also rename lwpostgis.sql to postgis.sql. Update documentation in various files to reflect the new names at the same time.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3534 b70326c6-7e19-0410-871a-916f4a2858ee
2009-01-15 18:35:06 +00:00
Mark Cave-Ayland
baa7ea483b
Fix regression tests to account for changes made in r3522 (rename 'Curve' to 'CircularString')
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3525 b70326c6-7e19-0410-871a-916f4a2858ee
2009-01-13 15:11:19 +00:00
Paul Ramsey
288e02f21a
Remove LFs from regression files per MCA.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3438 b70326c6-7e19-0410-871a-916f4a2858ee
2008-12-17 20:22:07 +00:00
Mark Cave-Ayland
f86114f64c
Add new lwmessage_truncate() function to liblwgeom that will truncate a string to a maximum number of characters, adding a "..." to indicate where the string has been trimmed. Truncation can be specified to occur from either the start or end of the string as required. Also update the parser error handler to use the new function.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3373 b70326c6-7e19-0410-871a-916f4a2858ee
2008-12-10 12:32:40 +00:00
Paul Ramsey
748b0772df
Prepared geometry mixed-types bug fix ported forward from 1.3.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3279 b70326c6-7e19-0410-871a-916f4a2858ee
2008-11-07 17:07:12 +00:00
Mark Cave-Ayland
5ee18ad684
Fix regression tests reporting incorrect failures due to a change of output caused by r3243.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3255 b70326c6-7e19-0410-871a-916f4a2858ee
2008-11-05 11:25:14 +00:00
Mark Cave-Ayland
686af70aac
Fix regression test differences between different platforms in the AsGeoJSON regression code. There were two issues: firstly, the original regression tests included precision information > 15 significant figures, and secondly the GeoJSON code was exposing BOX2DFLOAT4 information to the client instead of calculating the true bounding box. With thanks to Olivier Courtin.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3221 b70326c6-7e19-0410-871a-916f4a2858ee
2008-10-30 23:13:13 +00:00
Mark Cave-Ayland
e86ae33578
Remove postgis_jts_version() function call from regression tests as the function no longer exists (prevents warning being displayed at the start of the test run)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3140 b70326c6-7e19-0410-871a-916f4a2858ee
2008-10-18 08:33:15 +00:00
Mark Cave-Ayland
8e173fb266
Update the LWGEOM parser to provide error HINTs when being called from PostgreSQL, and update regression tests accordingly.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3113 b70326c6-7e19-0410-871a-916f4a2858ee
2008-10-15 15:03:54 +00:00
Mark Cave-Ayland
e28c430e58
Nearly finish work on the new parser API. The key part of this patch is to alter the behaviour of the parser so that instead of generating errors directly, it returns an error code, error location and an error message. Hence the caller is now in charge of the behaviour when parsing invalid geometries, and so can ignore errors or proceed onto the next geometry if required. The regression test change is due to a change in an error message, since the error is now returned from the unparser before it even gets to GEOS.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3106 b70326c6-7e19-0410-871a-916f4a2858ee
2008-10-14 19:51:24 +00:00
Paul Ramsey
f2a42d94ca
Prepared geometries getting closer to readiness. Integrated into standard functions, regression tests added.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3085 b70326c6-7e19-0410-871a-916f4a2858ee
2008-10-10 04:39:54 +00:00
Mark Leslie
1db757c225
Updating the regression test README file with details about the c preprocessing step and the formatting of the _expected file results.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3084 b70326c6-7e19-0410-871a-916f4a2858ee
2008-10-10 01:35:58 +00:00
Mark Leslie
e23659e1a0
Rebuilt the box3d generation for circular strings to account for a special large-arc case. Fix for issue 58, includes regression test for the case.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3080 b70326c6-7e19-0410-871a-916f4a2858ee
2008-10-08 10:14:46 +00:00
Mark Cave-Ayland
7b89b5c5e8
Update regression tests to include test cases for GBT#21.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3032 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-30 13:29:49 +00:00
Paul Ramsey
a9109daf57
Apply GeoJSON patch from Olivier Courtin.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2842 b70326c6-7e19-0410-871a-916f4a2858ee
2008-07-13 23:47:54 +00:00
Mark Cave-Ayland
cee1f271e5
Commit new build system based upon PGXS. Due to the large number of changes, please refer to http://postgis.refractions.net/pipermail/postgis-devel/2008-May/003010.html .
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2774 b70326c6-7e19-0410-871a-916f4a2858ee
2008-05-14 17:10:19 +00:00
Paul Ramsey
db69c6e6cd
ST_AsGeoJSon patch from Olivier Courtin <olivier.courtin@camptocamp.com>.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2772 b70326c6-7e19-0410-871a-916f4a2858ee
2008-04-24 01:04:52 +00:00
Paul Ramsey
5ad75bd11b
Fix the ST_AsKML regression tests.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2757 b70326c6-7e19-0410-871a-916f4a2858ee
2008-04-07 19:47:21 +00:00
Paul Ramsey
fd9fceb57f
Allow conditional regression tests based on GEOS_VERNUM and move the
...
cover/prepared tests into the appropriate buckets. Fix the AT_AsKML
regression tests.
git-svn-id: http://svn.osgeo.org/postgis/trunk@2756 b70326c6-7e19-0410-871a-916f4a2858ee
2008-04-07 19:47:05 +00:00
Paul Ramsey
b653974a3f
Removed regress_ogc_prep from tests temporarily until a new GEOS is released with support
...
for new predicates.
git-svn-id: http://svn.osgeo.org/postgis/trunk@2741 b70326c6-7e19-0410-871a-916f4a2858ee
2008-03-28 17:05:04 +00:00
Ben Jubb
9f2acdc13d
Changed the interface for the GEOS prepared predicates.
...
ST_contains, ST_containsProperly, ST_covers, and ST_intersects are now overloaded.
The new arguments style is ( geometry, geometry, integer). The third argument is used to determine when the first argument changes. The assumption is that when the third argument changes, the first argument is assumed to have changed too. This side-steps the issue of determining when the identity of the first geometry changes.
git-svn-id: http://svn.osgeo.org/postgis/trunk@2735 b70326c6-7e19-0410-871a-916f4a2858ee
2008-01-29 01:24:34 +00:00
Ben Jubb
103a48cd3e
Tests for the prepared geometry predicates.
...
The tests were copied from regress_ogc, and modified.
Most of the tests use a pattern where the same function is invoked three times with the same argument.
This tests the prepared geometry caching mechanism.
This testfile haven't been added to regress/Makefile yet, as it fails for one case. This
probably due to a bug in GEOS.
git-svn-id: http://svn.osgeo.org/postgis/trunk@2729 b70326c6-7e19-0410-871a-916f4a2858ee
2008-01-18 00:59:13 +00:00
Paul Ramsey
1ac4070cb0
KML credits patch <yecarrillo>
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2711 b70326c6-7e19-0410-871a-916f4a2858ee
2007-10-23 00:19:54 +00:00
Mark Leslie
b74075b770
Updated the regression tests for curved geoms to avoid the byte ordering problems.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2680 b70326c6-7e19-0410-871a-916f4a2858ee
2007-08-09 16:56:37 +00:00
Mark Leslie
e8e9d4ffc9
Resurrected the ST_LineToCurve regression tests, but commented them out until ST_SnapToGrid excepts curves.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2663 b70326c6-7e19-0410-871a-916f4a2858ee
2007-07-16 18:26:58 +00:00
Mark Leslie
495c97b173
Removing the unsnappable test calls to LineToCurve.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2654 b70326c6-7e19-0410-871a-916f4a2858ee
2007-07-12 17:20:24 +00:00
Mark Leslie
e4236983db
Added ST_Covers and ST_CoveredBy functions, as discussed at http://lin-ear-th-inking.blogspot.com . Added regression tests and documention for the new functions.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2635 b70326c6-7e19-0410-871a-916f4a2858ee
2007-06-28 22:46:08 +00:00
Mark Leslie
3741f4e3dd
Updated the regression test suite to allow variable results depending on jts/geos availability.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2625 b70326c6-7e19-0410-871a-916f4a2858ee
2007-06-15 19:06:11 +00:00
Mark Leslie
5313b69c4f
Added versions of functions with standard ST (Spatial Type) prefixes to any functions that were lacking them. Updated the regression tests to include the new functions.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2616 b70326c6-7e19-0410-871a-916f4a2858ee
2007-06-04 23:06:28 +00:00
Mark Leslie
aad405de80
Ongoing PIP trauma. Addressed the issue of points in line with a boundary segment, but not actually on it. Added appropriate unit tests.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2614 b70326c6-7e19-0410-871a-916f4a2858ee
2007-06-01 20:56:58 +00:00
Mark Leslie
5624dc6444
Added curve handling to getType, numGeometries, geometryN, dimension, exteriorRing, numInteriorRings, interiorRingN, closed (lwgeom_ogc.c) lwgeom_clone (lwgeom.c) and area. Added function ST_CurveToLine and ST_LineToCurve. Added regression tests for sql-mm geometries and related functions.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2609 b70326c6-7e19-0410-871a-916f4a2858ee
2007-05-28 15:34:04 +00:00
Mark Leslie
99ed2d6186
Added short-circuit calls for the point-in-polygon cases of disjoint and intersect calls. Added regression tests for the new short-circuits.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2608 b70326c6-7e19-0410-871a-916f4a2858ee
2007-05-22 22:10:33 +00:00
Mark Cave-Ayland
e3e346a894
Fix broken regress_proj expected results by removing the extra DELETE at the end of the file.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2606 b70326c6-7e19-0410-871a-916f4a2858ee
2007-05-14 17:55:58 +00:00
Mark Leslie
68d1d48c0a
Bug 143 code fix and regression case.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2598 b70326c6-7e19-0410-871a-916f4a2858ee
2007-03-09 00:33:58 +00:00
Sandro Santilli
e20cf2d03f
* regress/run_test: discard CONTEXT and DELETE
...
lines from test outputs.
Patch by Eduin Carrillo, sliglty modified to take precision
into account:
* regress/: Makefile, kml.sql, kml_expected:
Regression test for asKML().
git-svn-id: http://svn.osgeo.org/postgis/trunk@2595 b70326c6-7e19-0410-871a-916f4a2858ee
2007-02-26 09:03:52 +00:00
Kevin Neufeld
f005e965d6
initial load
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2567 b70326c6-7e19-0410-871a-916f4a2858ee
2007-01-03 17:28:03 +00:00
Sandro Santilli
4a2931ef66
* regress/README: wrote info about adding regression tests
...
(plus some ChangeLog formatting)
git-svn-id: http://svn.osgeo.org/postgis/trunk@2561 b70326c6-7e19-0410-871a-916f4a2858ee
2006-12-20 20:43:05 +00:00
Kevin Neufeld
65959e6974
Added test to fix that permitted gist indexes to have more than 459 null geometries in a table
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2559 b70326c6-7e19-0410-871a-916f4a2858ee
2006-12-20 18:44:55 +00:00
Mark Leslie
c40a30b516
Added typedefs and serialization/deserialization functionality for sql-mm defined curved geometry types. Added a point_in_polygon short-circuit for contains and within functions.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2532 b70326c6-7e19-0410-871a-916f4a2858ee
2006-12-01 22:16:44 +00:00
Markus Schaber
5a0d4e643d
Make regress test build loader and dumper as it needs them
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2516 b70326c6-7e19-0410-871a-916f4a2858ee
2006-10-25 09:57:41 +00:00
Sandro Santilli
e827fe7fae
Fixed regress tests to pass with GEOS-3.0.0
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2474 b70326c6-7e19-0410-871a-916f4a2858ee
2006-09-18 09:16:22 +00:00
Sandro Santilli
27ddf609cf
Added tests for makeline, makebox2d and makebox3d
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2462 b70326c6-7e19-0410-871a-916f4a2858ee
2006-07-28 13:07:52 +00:00
Sandro Santilli
f366330cdb
Marked shapefiles as binary, corrected accidentally mangled ones
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2458 b70326c6-7e19-0410-871a-916f4a2858ee
2006-07-27 15:06:11 +00:00
Sandro Santilli
3ef2104106
Fixed bug in collect() function discarding SRID of input
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2413 b70326c6-7e19-0410-871a-916f4a2858ee
2006-07-25 20:16:00 +00:00
Sandro Santilli
9443f0ac46
replaced ROLLBACK with COMMIT in psql output to hide differences with 7.4 and lower pgsql versions.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2402 b70326c6-7e19-0410-871a-916f4a2858ee
2006-06-26 01:02:28 +00:00
Sandro Santilli
c2e09db19d
qualified all geometry arguments.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2399 b70326c6-7e19-0410-871a-916f4a2858ee
2006-06-26 00:40:45 +00:00
Sandro Santilli
c9ab560b5b
Added Long Transaction Support routines, dox and regress test.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2398 b70326c6-7e19-0410-871a-916f4a2858ee
2006-06-25 23:59:33 +00:00
Sandro Santilli
3f57847e2e
Fixed the lc_messages failure by avoiding attempts at setting it when run against a postgresql version < 8.0. Also fixed a path in a message from run_test.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2397 b70326c6-7e19-0410-871a-916f4a2858ee
2006-06-25 23:45:30 +00:00
Sandro Santilli
44e7d93655
Removed -0 values from polygon doubles
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2389 b70326c6-7e19-0410-871a-916f4a2858ee
2006-06-19 10:42:40 +00:00
Sandro Santilli
c684f79b9d
Changed -e test with -f, for Solaris support
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2388 b70326c6-7e19-0410-871a-916f4a2858ee
2006-06-18 11:29:21 +00:00
Sandro Santilli
629575f5d2
removed spurious newline
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2387 b70326c6-7e19-0410-871a-916f4a2858ee
2006-06-17 11:46:03 +00:00
Sandro Santilli
c8095e4047
Fixed portability issues in the new run_test code, added loader test
...
for all supported shapefile types
git-svn-id: http://svn.osgeo.org/postgis/trunk@2386 b70326c6-7e19-0410-871a-916f4a2858ee
2006-06-17 11:44:12 +00:00
Sandro Santilli
3690108345
New regress test cases and support for loader/dumper.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2384 b70326c6-7e19-0410-871a-916f4a2858ee
2006-06-16 14:13:06 +00:00
Sandro Santilli
4f9f590c8f
Moved 'measures' query into a specific file, added a test for bug #108
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2367 b70326c6-7e19-0410-871a-916f4a2858ee
2006-05-22 15:29:19 +00:00
Sandro Santilli
2504bfda8c
Additional bbox tests for transcale, rotateX and rotateY
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2352 b70326c6-7e19-0410-871a-916f4a2858ee
2006-05-17 07:52:55 +00:00
Sandro Santilli
c54bcc654c
Added tests for translate and scale bbox computation
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2351 b70326c6-7e19-0410-871a-916f4a2858ee
2006-05-16 19:11:37 +00:00
Sandro Santilli
74a0dcbffd
Added test for wkt parser
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2332 b70326c6-7e19-0410-871a-916f4a2858ee
2006-04-18 12:30:46 +00:00
Sandro Santilli
f0eea2ca89
Mangled Self-intersection message to remove 'at or near point'
...
so that test works with both GEOS 2.x (w/out point spec) and 3.x (with point spec)
git-svn-id: http://svn.osgeo.org/postgis/trunk@2321 b70326c6-7e19-0410-871a-916f4a2858ee
2006-03-28 08:39:38 +00:00
Sandro Santilli
f17c883dd0
Used a larger grid for buffer() test, to account for rounding changes between
...
GEOS-2.2 and GEOS-3.0
git-svn-id: http://svn.osgeo.org/postgis/trunk@2320 b70326c6-7e19-0410-871a-916f4a2858ee
2006-03-27 09:33:03 +00:00
Sandro Santilli
f7e6040466
Fixed 'clean' rule to succeed also when tree already cleaned (rm -f)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2314 b70326c6-7e19-0410-871a-916f4a2858ee
2006-03-01 09:10:22 +00:00
Markus Schaber
2da9b850ab
documented affine(), rewrote transscale() to use affine()
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2312 b70326c6-7e19-0410-871a-916f4a2858ee
2006-02-23 11:48:08 +00:00
Sandro Santilli
945d8543c4
Added affine() internal function.
...
Provided rotate{Z,X,Y}() internally using affine().
Made scale() and translate() internally use affine().
Obsoleted transscale() function.
Fixed a bbox-related bug in transscale()
Added a test for affine transformations.
git-svn-id: http://svn.osgeo.org/postgis/trunk@2311 b70326c6-7e19-0410-871a-916f4a2858ee
2006-02-22 14:06:20 +00:00
Sandro Santilli
f1d0146ec7
Qualified args of difference() to avoid clashes with other packages
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2310 b70326c6-7e19-0410-871a-916f4a2858ee
2006-02-15 08:38:06 +00:00
Sandro Santilli
22be39982a
Made regress/run_test create and drop it's regress database
...
unless otherwise specified using --nocreate and --nodrop switches.
git-svn-id: http://svn.osgeo.org/postgis/trunk@2300 b70326c6-7e19-0410-871a-916f4a2858ee
2006-02-01 22:15:32 +00:00
Sandro Santilli
b0bd31e6f8
Fixed bug in SnapToGrid() bbox computation.
...
Previous policy (WHEN SIMPLE) turned out to be non-simple,
so this has been changed to TAINING.
Bbox will then be recomputed by scanning output coordinates
iff input had a bbox cache.
AUTOCACHE_BBOX define (the default) will still force a
computation of output box if worth it.
Regress tests added for the case reported on postgis-users
Run of regress tests do not require postgis install
anymore. The library build in source tree will be
used for this purpose.
Version bumped to 1.1.2 and CHANGES file updated.
git-svn-id: http://svn.osgeo.org/postgis/trunk@2298 b70326c6-7e19-0410-871a-916f4a2858ee
2006-01-29 13:54:38 +00:00
Sandro Santilli
eafb517fd7
Separated 'export' from assignment, for Solaris support - reported by Michael Fuhr
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2294 b70326c6-7e19-0410-871a-916f4a2858ee
2006-01-21 08:40:41 +00:00
Sandro Santilli
804f7947e7
Added a couple of line_interpolate_point tests
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2292 b70326c6-7e19-0410-871a-916f4a2858ee
2006-01-19 19:13:46 +00:00
Sandro Santilli
cff08737ef
Made line_substring() handle corner case of start/end having the same
...
value. A point is returned in that case.
git-svn-id: http://svn.osgeo.org/postgis/trunk@2290 b70326c6-7e19-0410-871a-916f4a2858ee
2006-01-19 18:26:32 +00:00
Sandro Santilli
615748762b
Added more regress tests for line_substring
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2289 b70326c6-7e19-0410-871a-916f4a2858ee
2006-01-19 18:17:26 +00:00
Sandro Santilli
3fdcc7037b
Added -v switch to show differences inline
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2286 b70326c6-7e19-0410-871a-916f4a2858ee
2006-01-19 18:15:45 +00:00
Sandro Santilli
81943a774a
Forced lc_messages to be 'C' during regress tests
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2285 b70326c6-7e19-0410-871a-916f4a2858ee
2006-01-18 21:06:07 +00:00
Sandro Santilli
396e28401d
Fixed out-of-bound condition in ptarray_substring during copy of
...
unaltered points.
Added regress test for the case (postgis-devel/2006-January/001951.html)
git-svn-id: http://svn.osgeo.org/postgis/trunk@2284 b70326c6-7e19-0410-871a-916f4a2858ee
2006-01-18 10:19:11 +00:00
Sandro Santilli
9f2c7bdcab
Fixed bug in ptarray_locate_point() - added regress test for specific case
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2277 b70326c6-7e19-0410-871a-916f4a2858ee
2006-01-13 09:11:14 +00:00
Sandro Santilli
2d4f6d2188
Added simplify() test unit
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2270 b70326c6-7e19-0410-871a-916f4a2858ee
2006-01-09 15:09:42 +00:00
Sandro Santilli
f6974b482b
Used more portable sed syntax, submitted by Michael Fuhr.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2236 b70326c6-7e19-0410-871a-916f4a2858ee
2005-12-20 09:17:22 +00:00
Sandro Santilli
2814ab187e
used a consistent construct for out_and_err redirect,
...
added rule to make [eE][-+]0+[0-9]+ become e[-+][1-9]+
git-svn-id: http://svn.osgeo.org/postgis/trunk@2230 b70326c6-7e19-0410-871a-916f4a2858ee
2005-12-19 10:39:49 +00:00
Sandro Santilli
2818121925
Applied patch for MingW support (buffering and INF representation problems)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2229 b70326c6-7e19-0410-871a-916f4a2858ee
2005-12-19 10:17:10 +00:00
Sandro Santilli
a237fda4ee
Infinite->Infinity
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2198 b70326c6-7e19-0410-871a-916f4a2858ee
2005-12-15 09:28:30 +00:00
Sandro Santilli
4933426663
Added PROJ version in output - would change the whole thing to postgis_full_version() if it only fit into 80 cols
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2197 b70326c6-7e19-0410-871a-916f4a2858ee
2005-12-15 01:27:32 +00:00
Sandro Santilli
d13b2d4a5a
Made PROJ test be run only if USE_PROJ=1
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2196 b70326c6-7e19-0410-871a-916f4a2858ee
2005-12-15 01:21:32 +00:00
Sandro Santilli
fceec8099c
Moved GEOS/JTS function from regress to ogc test
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2195 b70326c6-7e19-0410-871a-916f4a2858ee
2005-12-15 01:19:24 +00:00
Sandro Santilli
ba7dc20771
Removed call to replace(text,text,text) in regress.sql
...
(unsupported by pgsql 7.2)
Used sed in run_test to Transform Infinite to inf and Inf to inf
git-svn-id: http://svn.osgeo.org/postgis/trunk@2194 b70326c6-7e19-0410-871a-916f4a2858ee
2005-12-15 01:07:28 +00:00
Sandro Santilli
a18f5a23c7
typo fixed
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2191 b70326c6-7e19-0410-871a-916f4a2858ee
2005-12-15 00:28:50 +00:00
Sandro Santilli
dbb5ca9400
Snapped buffer() output to a grid of 1.0E-14 grid to account for slightly
...
different floating number behaviours on Solaris.
Normalized Infinity to inf to account for different libc outputs.
git-svn-id: http://svn.osgeo.org/postgis/trunk@2179 b70326c6-7e19-0410-871a-916f4a2858ee
2005-12-14 11:13:13 +00:00
Sandro Santilli
ccdc1a7506
Regression tests output made much more concise
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2178 b70326c6-7e19-0410-871a-916f4a2858ee
2005-12-14 00:26:31 +00:00
Sandro Santilli
d827086167
Added GEOS/JTS version info when available
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2176 b70326c6-7e19-0410-871a-916f4a2858ee
2005-12-13 22:04:02 +00:00
Sandro Santilli
b1f3c15704
Fixed a misnamed test
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2175 b70326c6-7e19-0410-871a-916f4a2858ee
2005-12-13 21:16:47 +00:00
Sandro Santilli
2bd9a8294d
Renamed ReplacePoint() to SetPoint()
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2174 b70326c6-7e19-0410-871a-916f4a2858ee
2005-12-13 19:01:18 +00:00
Sandro Santilli
bd80617203
Added RemovePoint() and ReplacePoint() to complete Geometry editiong function.
...
Added regress tests for them.
git-svn-id: http://svn.osgeo.org/postgis/trunk@2173 b70326c6-7e19-0410-871a-916f4a2858ee
2005-12-13 18:39:08 +00:00
Sandro Santilli
bf9f126ae6
Handled common invokation mistake (accept trailing .sql in test names)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2167 b70326c6-7e19-0410-871a-916f4a2858ee
2005-12-12 20:41:04 +00:00
Sandro Santilli
021aafcfd8
Changed math statements to be compatible with solaris shell, fixed typo
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2166 b70326c6-7e19-0410-871a-916f4a2858ee
2005-12-12 20:31:22 +00:00
Sandro Santilli
14cb4bea55
- Fixed Z presence detection in GEOS funcions (C++ and C wrappers).
...
- NEW BuildArea(any_geometry) function
- NEW OGC BdPolyFromText(linestring_wkt, srid) function
- NEW OGC BdMPolyFromText(linestring_wkt, srid) function
- Updated postgis manual and added regression tests for new functions.
- Reworked regress test runner to be more succint and report
a summary of test results
git-svn-id: http://svn.osgeo.org/postgis/trunk@2165 b70326c6-7e19-0410-871a-916f4a2858ee
2005-12-12 17:40:50 +00:00
Sandro Santilli
e19fc98d93
Added a couple of polygonize tests
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2153 b70326c6-7e19-0410-871a-916f4a2858ee
2005-12-09 10:14:24 +00:00
Sandro Santilli
eace497117
Added check for successfully postgis installation before running tests
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2142 b70326c6-7e19-0410-871a-916f4a2858ee
2005-12-06 14:56:25 +00:00
Sandro Santilli
60e81ab1ac
Added user-reported intersects() test
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2141 b70326c6-7e19-0410-871a-916f4a2858ee
2005-12-06 14:51:51 +00:00
Sandro Santilli
661e210e05
Had regress_ogc test skipped if no GEOS nor JTS support is compiled in
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2139 b70326c6-7e19-0410-871a-916f4a2858ee
2005-12-02 15:11:51 +00:00
Sandro Santilli
607aca9033
Fixed SnapToGrid output expectance (higher dims no more discarded)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2135 b70326c6-7e19-0410-871a-916f4a2858ee
2005-12-02 14:15:38 +00:00
Sandro Santilli
73374e8889
Quoted grep pattern (Solaris' shell threats carets as pipes).
...
Added a sleep 1 before dropping DB (to avoid "database being accessed" errors).
git-svn-id: http://svn.osgeo.org/postgis/trunk@2127 b70326c6-7e19-0410-871a-916f4a2858ee
2005-12-02 08:26:54 +00:00
Sandro Santilli
51be74b6e5
Changed back 'tests' to 'test'
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2126 b70326c6-7e19-0410-871a-916f4a2858ee
2005-12-01 22:29:25 +00:00
Sandro Santilli
e7a15414f7
Renamed clean: to cleanup:, provided empty clean: to make things work
...
from toplevel makefile.
git-svn-id: http://svn.osgeo.org/postgis/trunk@2118 b70326c6-7e19-0410-871a-916f4a2858ee
2005-12-01 15:53:02 +00:00
Sandro Santilli
a6128a34b8
Skipped checks of SQL command outputs (INSERT,UPDATE,CREATE,DROP).
...
Cleaned up postgis_reg after tests run.
git-svn-id: http://svn.osgeo.org/postgis/trunk@2116 b70326c6-7e19-0410-871a-916f4a2858ee
2005-12-01 14:07:52 +00:00
Sandro Santilli
fcbc9b133e
Fixed test to cleanup after run
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2111 b70326c6-7e19-0410-871a-916f4a2858ee
2005-12-01 13:37:35 +00:00
Sandro Santilli
fb77264004
Added missing proj tests
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2109 b70326c6-7e19-0410-871a-916f4a2858ee
2005-11-30 21:02:52 +00:00
Sandro Santilli
d61e0f45b3
Fixed error message on non-readable expected file
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2107 b70326c6-7e19-0410-871a-916f4a2858ee
2005-11-30 18:24:05 +00:00
Sandro Santilli
cc0707acbf
Added proj tests, curtesy of Alex Mayrhofer
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2101 b70326c6-7e19-0410-871a-916f4a2858ee
2005-11-30 16:57:14 +00:00
Sandro Santilli
cba2beb4de
Added geom_accum(NULL,NULL) test
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2091 b70326c6-7e19-0410-871a-916f4a2858ee
2005-11-28 15:59:27 +00:00
Sandro Santilli
ca569300f5
Added force_collection test
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2083 b70326c6-7e19-0410-871a-916f4a2858ee
2005-11-28 11:27:40 +00:00
Sandro Santilli
41ee316c41
Added ExteriorRing and Segmentize tests
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2079 b70326c6-7e19-0410-871a-916f4a2858ee
2005-11-28 11:04:17 +00:00
Sandro Santilli
1065b653a7
Added unite_garray() test
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2074 b70326c6-7e19-0410-871a-916f4a2858ee
2005-11-25 15:43:33 +00:00
Sandro Santilli
1430c2dfe7
Added database version info
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2073 b70326c6-7e19-0410-871a-916f4a2858ee
2005-11-25 15:43:22 +00:00
Sandro Santilli
342e349113
Fixed expected ERROR and NOTICEs
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2072 b70326c6-7e19-0410-871a-916f4a2858ee
2005-11-25 15:34:54 +00:00
Sandro Santilli
6f8f519d3b
Added postgis library version and builddate, to make sure the existing database
...
being used is equipped with the library we are willing to test.
git-svn-id: http://svn.osgeo.org/postgis/trunk@2069 b70326c6-7e19-0410-871a-916f4a2858ee
2005-11-25 14:14:26 +00:00
Sandro Santilli
0031bd2e50
Changed locate_between_measures() to return simpler types
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2060 b70326c6-7e19-0410-871a-916f4a2858ee
2005-11-23 15:30:04 +00:00
Sandro Santilli
188cb33999
Changed M() and Z() to return NULL when input doesn't have
...
the requested dimension. Updated regress tests with a few
of these cases.
git-svn-id: http://svn.osgeo.org/postgis/trunk@2059 b70326c6-7e19-0410-871a-916f4a2858ee
2005-11-23 14:52:39 +00:00
Sandro Santilli
fa515a991b
Added usage dox and check for required input files
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2058 b70326c6-7e19-0410-871a-916f4a2858ee
2005-11-23 14:44:37 +00:00
Sandro Santilli
cd0a408a93
Reworked regress tests to avoid multiple database creations
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2057 b70326c6-7e19-0410-871a-916f4a2858ee
2005-11-23 14:38:00 +00:00
Sandro Santilli
88878ef27c
Added a few regression tests for LRS functions
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2055 b70326c6-7e19-0410-871a-916f4a2858ee
2005-11-23 13:46:35 +00:00
Sandro Santilli
8f417b1c5c
Fixed a bug in getPoint{3dm,3dz,4d}_p() api calls automatically
...
fixing bugs in force_{3dm,3dz,4d}() user functions, for which
tests have been added in regress dir.
Wrapped paranoid checks in PARANOIA_LEVEL preprocessor blocks.
Updated release notes and CHANGES file.
git-svn-id: http://svn.osgeo.org/postgis/trunk@2053 b70326c6-7e19-0410-871a-916f4a2858ee
2005-11-22 21:29:41 +00:00
Sandro Santilli
87ca119cf5
Added some dimensionality changes tests
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2027 b70326c6-7e19-0410-871a-916f4a2858ee
2005-11-11 17:03:28 +00:00
Sandro Santilli
1635cf59cd
Added linemerge test
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2026 b70326c6-7e19-0410-871a-916f4a2858ee
2005-11-11 17:02:31 +00:00
Sandro Santilli
059e1c65b3
Added index concurrency tester
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1794 b70326c6-7e19-0410-871a-916f4a2858ee
2005-06-28 22:01:27 +00:00
Sandro Santilli
91dafda902
Added isvalid(empty) test
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1753 b70326c6-7e19-0410-871a-916f4a2858ee
2005-06-10 09:54:00 +00:00
Sandro Santilli
2bef4b40d8
Added test for line_locate_point
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1748 b70326c6-7e19-0410-871a-916f4a2858ee
2005-06-09 16:00:37 +00:00
Sandro Santilli
eefdbcfe66
Added regress tests for multi()
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1575 b70326c6-7e19-0410-871a-916f4a2858ee
2005-03-28 09:45:11 +00:00
Sandro Santilli
19c66c7f9a
Added box3d computation tests
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1557 b70326c6-7e19-0410-871a-916f4a2858ee
2005-03-23 16:29:17 +00:00
Sandro Santilli
fe7a1d54d0
Added extent(), extent3d() and collect() tests - should really
...
give this tests a new layout ...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1543 b70326c6-7e19-0410-871a-916f4a2858ee
2005-03-18 10:47:12 +00:00
Sandro Santilli
40fb8da773
Added test for translate()
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1530 b70326c6-7e19-0410-871a-916f4a2858ee
2005-03-11 17:47:33 +00:00
Sandro Santilli
23d27d988f
Added process id to output files. Removed 'clean' rule.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1496 b70326c6-7e19-0410-871a-916f4a2858ee
2005-03-07 13:58:04 +00:00
Sandro Santilli
97af7875f7
Parametrized test output dir and added Makefile
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1478 b70326c6-7e19-0410-871a-916f4a2858ee
2005-03-04 14:13:23 +00:00
Sandro Santilli
f7e75cda40
Corrected expected results.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1455 b70326c6-7e19-0410-871a-916f4a2858ee
2005-03-01 13:20:10 +00:00
Sandro Santilli
813184fbb5
Added GEOS/JTS provided functions test
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1454 b70326c6-7e19-0410-871a-916f4a2858ee
2005-03-01 11:41:36 +00:00
Sandro Santilli
eb1c17938c
Added a couple of distance() tests.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1392 b70326c6-7e19-0410-871a-916f4a2858ee
2005-02-10 17:38:20 +00:00
Sandro Santilli
1cce996382
Added X(), Y() and Z() tests.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1389 b70326c6-7e19-0410-871a-916f4a2858ee
2005-02-10 10:03:59 +00:00
Sandro Santilli
aa3caec966
Updated expected error message on !closed polygon rings to match current one.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1301 b70326c6-7e19-0410-871a-916f4a2858ee
2005-01-13 13:37:27 +00:00
Sandro Santilli
c92dcaee13
changed asText to asEWKT for lossless conversions
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1299 b70326c6-7e19-0410-871a-916f4a2858ee
2005-01-13 10:54:06 +00:00
Sandro Santilli
b0358209d5
Added GEOSexception test
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1298 b70326c6-7e19-0410-871a-916f4a2858ee
2005-01-13 10:45:57 +00:00
Sandro Santilli
54111fa7e1
Fixed more tests
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1297 b70326c6-7e19-0410-871a-916f4a2858ee
2005-01-13 10:44:33 +00:00
Sandro Santilli
883618e5b1
Changed astext() calls with asewkt() to mach expected results.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1296 b70326c6-7e19-0410-871a-916f4a2858ee
2005-01-13 10:37:45 +00:00
Sandro Santilli
a9d2269d6a
Moved basic LWGEOM parsing tests in mainstream regress dir.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1119 b70326c6-7e19-0410-871a-916f4a2858ee
2004-11-26 17:06:36 +00:00
Sandro Santilli
27eddae777
Ported index regress test to lwgeom
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1117 b70326c6-7e19-0410-871a-916f4a2858ee
2004-11-26 16:26:51 +00:00
Sandro Santilli
0586781f7d
Added regressions test notes
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1116 b70326c6-7e19-0410-871a-916f4a2858ee
2004-11-26 15:52:57 +00:00
Sandro Santilli
d523eb9773
Finished cleanup of main regression test.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1115 b70326c6-7e19-0410-871a-916f4a2858ee
2004-11-26 15:50:05 +00:00
Sandro Santilli
1b1d509ae7
Initial regress tests adaptation for lwgeom
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1111 b70326c6-7e19-0410-871a-916f4a2858ee
2004-11-26 13:04:39 +00:00
Paul Ramsey
446220e554
Added transaction begin and end.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@276 b70326c6-7e19-0410-871a-916f4a2858ee
2003-06-12 22:25:04 +00:00
David Blasby
d3b5b75256
test data for isvalid()
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@255 b70326c6-7e19-0410-871a-916f4a2858ee
2003-04-09 18:34:06 +00:00
David Blasby
23cbce7ad7
simple table to test relate(g1,g2). Taken from JTS/GEOS regression test.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@250 b70326c6-7e19-0410-871a-916f4a2858ee
2003-04-08 21:23:51 +00:00
No Body
3cda119445
Initial revision
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2 b70326c6-7e19-0410-871a-916f4a2858ee
2001-06-22 17:39:29 +00:00