Paul Ramsey
5635299b47
Add lwgeom_is_empty() test
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4507 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-17 02:33:49 +00:00
Paul Ramsey
6699aa3199
Work on tracking down bug in casting geometry->geography
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4506 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-17 00:01:53 +00:00
Paul Ramsey
c9c61193ca
Fix some test cases crossing the date line
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4505 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-16 22:43:20 +00:00
Paul Ramsey
2f24c23327
Add gbox string constructor for testing purposes
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4504 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-16 21:09:24 +00:00
Paul Ramsey
154a0f5bcb
More tests pass
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4503 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-16 20:19:20 +00:00
Paul Ramsey
bedb088622
Change back to less intensive cartesian clairaut
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4502 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-16 18:54:24 +00:00
Paul Ramsey
40cd5b1e72
Fix errors in calculating geocentric bounds. Early test cases now pass!
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4501 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-16 18:50:54 +00:00
Paul Ramsey
e153da7079
Hook geocentric calculation into gbox routines, start testing
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4500 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-15 21:21:27 +00:00
Paul Ramsey
03cbe95845
Geocentric bounding box roughed in and compiles.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4499 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-15 19:50:24 +00:00
Paul Ramsey
34f03aa8cd
Start the geodetic machinery. Add an internal API header for eventual API rationalisation
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4498 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-14 20:30:35 +00:00
Paul Ramsey
06568b44d1
Crib index penalty tweak from pgsphere.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4497 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-14 18:33:54 +00:00
Paul Ramsey
82acc2b19c
Add FP_EQUALS and bracket arguments for a little extra safety
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4496 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-14 18:15:18 +00:00
Mark Cave-Ayland
b7d587678b
Merge Paul's geodetic (geography) branch into trunk, as per discussions on postgis-devel. Most of the merge was automatic (albeit quite slow), with a few manual touch-ups where the merge algorithm couldn't handle this automatically. "make check" runs and passes, so I hope I haven't managed to break too much ;)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4494 b70326c6-7e19-0410-871a-916f4a2858ee
2009-09-14 10:54:33 +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
91a55bceb1
Move SERIALIZED_FORM to lwgeom_pg.h from liblwgeom.h since it references a PostgreSQL-only structure. Per report from Nicklas Aven.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4310 b70326c6-7e19-0410-871a-916f4a2858ee
2009-07-16 21:32:48 +00:00
Paul Ramsey
491022206d
MinGW fix for loader ( #222 ), Mark Cave-Ayland
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4293 b70326c6-7e19-0410-871a-916f4a2858ee
2009-07-13 17:27:41 +00:00
Mark Cave-Ayland
ec12af9d42
Fix #112 : ST_CurveToLine sometimes crashes server. While the circle segmentiser detected colinear circle points, it didn't check for the
...
NULL pointer returned in this case. Since we are converting to a line, the current behaviour is to simply append the circle points as s
tandard line points.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4272 b70326c6-7e19-0410-871a-916f4a2858ee
2009-07-08 04:59:19 +00:00
Mark Cave-Ayland
5812cc0cbe
Fix #183 : ST_LineToCurve gives getPoint4d_p offset error. This was due to the lookahead in the curve segmentising code going off the end of the point array.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4270 b70326c6-7e19-0410-871a-916f4a2858ee
2009-07-08 04:48:54 +00:00
Mark Cave-Ayland
02fb778cb7
Fix compile problems on non-GNU systems by using va_copy as an alias onto the real version. Per report from Stefano Bonnin.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4264 b70326c6-7e19-0410-871a-916f4a2858ee
2009-07-07 10:33:23 +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
ecdf5dbad3
Enabling the compound curve parsing for segmentisation; reported in ticket 213
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4232 b70326c6-7e19-0410-871a-916f4a2858ee
2009-06-30 07:46:40 +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
Regina Obe
089c55720d
fix commenting style so function descriptions are picked up by doxygen
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4210 b70326c6-7e19-0410-871a-916f4a2858ee
2009-06-25 03:03:42 +00:00
Sandro Santilli
85eee8d457
Handle empty polygon rings
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4187 b70326c6-7e19-0410-871a-916f4a2858ee
2009-06-20 21:25:15 +00:00
Paul Ramsey
cfb44a749f
astyle --style=ansi --indent=tab ( #133 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4168 b70326c6-7e19-0410-871a-916f4a2858ee
2009-06-11 16:44:03 +00:00
Mark Cave-Ayland
709784580a
Further fix for #156 , and also #167 it seems. Looks like I forgot to apply the fix to the WKB routines aswell.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4165 b70326c6-7e19-0410-871a-916f4a2858ee
2009-06-11 13:28:39 +00:00
Mark Cave-Ayland
2c9c365a5c
Remove a double-free bug caused if the unparser finds an invalid geometry ( fixes #168 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4078 b70326c6-7e19-0410-871a-916f4a2858ee
2009-05-09 12:34:55 +00:00
Regina Obe
75bded91e6
more doxygen comment cleanup
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4064 b70326c6-7e19-0410-871a-916f4a2858ee
2009-05-04 18:00:05 +00:00
Regina Obe
c0f793bb3d
make function doc doxygen friendly
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4060 b70326c6-7e19-0410-871a-916f4a2858ee
2009-05-03 03:58:20 +00:00
Regina Obe
dcf59b11bb
make function descriptor doxygen friendly
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4059 b70326c6-7e19-0410-871a-916f4a2858ee
2009-05-03 03:50:27 +00:00
Regina Obe
abf5606427
change commenting style to javadoc style
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4057 b70326c6-7e19-0410-871a-916f4a2858ee
2009-05-03 03:16:42 +00:00
Regina Obe
03a2f489ee
make function descriptions doxygen friendly
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4053 b70326c6-7e19-0410-871a-916f4a2858ee
2009-05-02 07:13:14 +00:00
Regina Obe
5d6d32a28e
Experimenting with Doxygen hyperlinking tags
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4052 b70326c6-7e19-0410-871a-916f4a2858ee
2009-05-02 06:27:31 +00:00
Regina Obe
9ca2b3a643
More experimentation with doxygen commenting styles
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4051 b70326c6-7e19-0410-871a-916f4a2858ee
2009-05-01 22:47:19 +00:00
Regina Obe
6a7aeb06ab
More auto doc friendlying
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4049 b70326c6-7e19-0410-871a-916f4a2858ee
2009-05-01 04:26:12 +00:00
Regina Obe
d19c4c6578
typo
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4048 b70326c6-7e19-0410-871a-916f4a2858ee
2009-05-01 04:24:41 +00:00
Regina Obe
5711186fe7
experiment with making our inline comments more doxygen friendly
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4047 b70326c6-7e19-0410-871a-916f4a2858ee
2009-05-01 04:24:13 +00:00
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
f7de53897c
More cleanup work based upon Mateusz's MSVC patches; remove references to unistd.h and sys/param.h since they are no longer required for determining endian-ness.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3877 b70326c6-7e19-0410-871a-916f4a2858ee
2009-03-16 23:06:58 +00:00
Mark Cave-Ayland
7cbd1b301d
More MSVC fixes from Mateusz related to ISO C++ vs. C99 variable initialisation.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3848 b70326c6-7e19-0410-871a-916f4a2858ee
2009-03-10 21:29:14 +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
Mark Cave-Ayland
1431cf1cf9
Remove compiler warning from commit r3821.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3839 b70326c6-7e19-0410-871a-916f4a2858ee
2009-03-10 19:37:47 +00:00
Mark Cave-Ayland
7172fef0d5
Augment comment related to Paul's fix for GBT#130 as I'm bound to forget why we decided to do this at a later date...
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3831 b70326c6-7e19-0410-871a-916f4a2858ee
2009-03-10 16:26:09 +00:00
Olivier Courtin
3590185d1a
Add circstring release and LWGEOM conversion entry
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3830 b70326c6-7e19-0410-871a-916f4a2858ee
2009-03-10 16:24:50 +00:00
Mark Cave-Ayland
b5b6d21a4e
Remove some GCC-isms from the unparser related to setting array sizes at run-time rather than compile time. Per report from Mateusz Loskot.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3828 b70326c6-7e19-0410-871a-916f4a2858ee
2009-03-10 16:18:52 +00:00
Paul Ramsey
3ce0132d1e
Fix for GBT #130 , remove bdpoly regression failure.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3826 b70326c6-7e19-0410-871a-916f4a2858ee
2009-03-10 15:12:11 +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
Paul Ramsey
d51eb698c6
More camel-case changes.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3814 b70326c6-7e19-0410-871a-916f4a2858ee
2009-03-09 15:34:00 +00:00
Paul Ramsey
d982ee5a01
Remove some camelCase function signatures from liblwgeom
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3812 b70326c6-7e19-0410-871a-916f4a2858ee
2009-03-09 14:36:15 +00:00