Paul Ramsey
cc70f099f6
Fix for collection vs collection distance behavior. Per Nicklas Avén. GBT #146
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3967 b70326c6-7e19-0410-871a-916f4a2858ee
2009-04-05 16:48:11 +00:00
Mark Cave-Ayland
5c9f6a77d2
Fix for GBT#132: Make check should run CUnit. This is to aid developers as we move the majority of the testing framework over to CUnit.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3842 b70326c6-7e19-0410-871a-916f4a2858ee
2009-03-10 20:25:09 +00:00
Paul Ramsey
4a0aa3ee8e
Fix tests to match current geohash signatures (lon/lat) and precisions (odd and even)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3789 b70326c6-7e19-0410-871a-916f4a2858ee
2009-03-03 18:00:52 +00:00
Paul Ramsey
87ee4ab726
Bind ST_GeoHash into SQL.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3688 b70326c6-7e19-0410-871a-916f4a2858ee
2009-02-11 21:48:13 +00:00
Paul Ramsey
54be933339
GeoHash implementation first cut.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3685 b70326c6-7e19-0410-871a-916f4a2858ee
2009-02-11 02:11:24 +00:00
Paul Ramsey
50dd669d16
Formating
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3638 b70326c6-7e19-0410-871a-916f4a2858ee
2009-02-04 00:23:38 +00:00
Paul Ramsey
95b47138a2
Fix boundary conditions with from==to hitting first/list vertex.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3637 b70326c6-7e19-0410-871a-916f4a2858ee
2009-02-03 20:51:04 +00:00
Mark Cave-Ayland
d88132f39f
Fix compile warnings for the cunit tests (unused variables).
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3523 b70326c6-7e19-0410-871a-916f4a2858ee
2009-01-13 13:12:15 +00:00
Paul Ramsey
6744f68423
Rename lwfree_* to *_free.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3510 b70326c6-7e19-0410-871a-916f4a2858ee
2009-01-09 17:41:23 +00:00
Mark Cave-Ayland
5d1472ea60
Allow CPPFLAGS/LDFLAGS parameters from the command line to be passed into the CUnit Makefile, since CUnit is the only dependency that cannot determine its own flags using a --with-X parameter. This allows CUnit to be installed in a non-standard location if required.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3494 b70326c6-7e19-0410-871a-916f4a2858ee
2009-01-05 20:54:12 +00:00
Mark Cave-Ayland
7aff0181c9
Rework the CUnit detection infrastructure as you can't locate include files based on an absolute path. This is because autoconf and the compiler have differing ideas of the current paths (this totally breaks the Win32 build since you have the extra mapping between UNIX-type MingW paths and Windows-type paths). Hopefully this should not affect existing users at all - if so, please post a report on -devel. I'll try running this on MingW at a later date.
...
I've also enforced "make check" to run the unit tests, rather than "make test". This is a fallout from the early days when strk committed the regression test suite to run using "make test" by accident which appears to have stuck :(
.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3492 b70326c6-7e19-0410-871a-916f4a2858ee
2009-01-05 00:08:26 +00:00
Mark Cave-Ayland
51d64b41ec
Update the cunit tests to use the proper parser flag PARSER_CHECK_NONE rather than the hard-coded zero.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3490 b70326c6-7e19-0410-871a-916f4a2858ee
2009-01-04 20:11:03 +00:00
Mark Cave-Ayland
10e549d288
Add -lm to the cu_tester link line - we must always add this to the link line for anything that links agains liblwgeom.a (at least on my Linux system here)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3489 b70326c6-7e19-0410-871a-916f4a2858ee
2009-01-04 19:54:47 +00:00
Paul Ramsey
761363721f
Fix based on test case from MAC.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3482 b70326c6-7e19-0410-871a-916f4a2858ee
2009-01-01 00:31:47 +00:00
Paul Ramsey
884fb23dca
Add support for multilinestring to st_locatebetweenelevations
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3481 b70326c6-7e19-0410-871a-916f4a2858ee
2008-12-27 22:58:08 +00:00
Paul Ramsey
8d86d8a685
Add lwfree_geom to generically deep-free lwgeometries.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3478 b70326c6-7e19-0410-871a-916f4a2858ee
2008-12-24 17:37:53 +00:00
Paul Ramsey
ef07ad13f5
Add lwgeom_from_ewkt and change larger cunit tests to create candidate geometries from text instead of by hand.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3477 b70326c6-7e19-0410-871a-916f4a2858ee
2008-12-24 17:09:18 +00:00
Paul Ramsey
7f7be31b65
Add CUnit to main 'make test' build and check for existance of CUnit.h as part of ./configure
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3472 b70326c6-7e19-0410-871a-916f4a2858ee
2008-12-22 23:37:58 +00:00
Paul Ramsey
f95ff43d43
Add ST_LineClipZ(geometry, from, to) SQL and C functions.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3456 b70326c6-7e19-0410-871a-916f4a2858ee
2008-12-21 06:37:16 +00:00
Paul Ramsey
2d6e86fd95
Complete c-level line clipping routines, and unit tests.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3455 b70326c6-7e19-0410-871a-916f4a2858ee
2008-12-19 19:21:37 +00:00
Paul Ramsey
0cef5b2262
Partial work commit for safety
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3446 b70326c6-7e19-0410-871a-916f4a2858ee
2008-12-18 20:22:07 +00:00
Paul Ramsey
724161d19c
Partial work saved back for later.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3440 b70326c6-7e19-0410-871a-916f4a2858ee
2008-12-18 00:54:04 +00:00
Paul Ramsey
b93970cd9b
Re-locate cunit, add a STYLE guideline draft and some TODO notes.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3435 b70326c6-7e19-0410-871a-916f4a2858ee
2008-12-17 18:20:18 +00:00