Commit graph

21 commits

Author SHA1 Message Date
Paul Ramsey c90d7682d7 Add circular tree calculations and associated tests in support of faster geography calculations.
git-svn-id: http://svn.osgeo.org/postgis/trunk@9916 b70326c6-7e19-0410-871a-916f4a2858ee
2012-06-15 22:51:57 +00:00
Paul Ramsey 1ce64dcce5 Make numerical stability fix actually be present
git-svn-id: http://svn.osgeo.org/postgis/trunk@8666 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-03 23:42:03 +00:00
Sandro Santilli 809ae790e4 Move LWDEBUG macros in a new lwgeom_log.h header file (see #1220)
Update all implementation files accordingly.
Fix some misuses out of liblwgeom.
Add missing copyright notices in a few files.

git-svn-id: http://svn.osgeo.org/postgis/trunk@7907 b70326c6-7e19-0410-871a-916f4a2858ee
2011-09-28 10:05:36 +00:00
Paul Ramsey fd6d759590 Re-orgs to push the geodetic/cartesian divide a little further under the covers as part of the geometry/geography group hug at the index bindings level.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6437 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-17 20:10:36 +00:00
Paul Ramsey 537e0b0a59 Update geography functions to use the in-build .flags attribute on LWGEOM
git-svn-id: http://svn.osgeo.org/postgis/trunk@6193 b70326c6-7e19-0410-871a-916f4a2858ee
2010-11-23 23:47:44 +00:00
Olivier Courtin 931390d022 #658 part 1. Enhance LWGEOM struct (type, flags and GBOX) and related functions call.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6180 b70326c6-7e19-0410-871a-916f4a2858ee
2010-11-21 19:02:23 +00:00
Paul Ramsey 32e4d5caee Clean out scruft from my G_ phase and start attempting to separate _internal from external liblwgeom functions.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6157 b70326c6-7e19-0410-871a-916f4a2858ee
2010-10-31 02:31:34 +00:00
Olivier Courtin c09ea80cd2 Astyle session on whole trunk
git-svn-id: http://svn.osgeo.org/postgis/trunk@5825 b70326c6-7e19-0410-871a-916f4a2858ee
2010-08-15 08:30:08 +00:00
Paul Ramsey 068abf02b5 Fix for st_area(geography) over the dateline (#450)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5339 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-25 13:41:02 +00:00
Olivier Courtin 049a0e262a make astyle session
git-svn-id: http://svn.osgeo.org/postgis/trunk@5274 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-21 12:36:27 +00:00
Paul Ramsey 8cabdcf81f 1.5 astyle pass
git-svn-id: http://svn.osgeo.org/postgis/trunk@5181 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-01 17:35:55 +00:00
Paul Ramsey 3c9467dda4 Extra debugging information in spheroid area calculation.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5178 b70326c6-7e19-0410-871a-916f4a2858ee
2010-01-29 18:00:16 +00:00
Paul Ramsey 68c55afc7e Replace pow(,2.0) with POW2 macro.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4879 b70326c6-7e19-0410-871a-916f4a2858ee
2009-11-22 04:28:01 +00:00
Paul Ramsey 0ed71c1737 Move from pass-by-value to pass-by-const-pointer. What can I say, I have no control over myself.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4877 b70326c6-7e19-0410-871a-916f4a2858ee
2009-11-21 06:08:40 +00:00
Paul Ramsey 9cddf4d6b9 File headers and property setting.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4729 b70326c6-7e19-0410-871a-916f4a2858ee
2009-11-03 21:24:53 +00:00
Paul Ramsey 9742ff9fbc Re-enable other geodetic unit tests and remove Java code block.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4720 b70326c6-7e19-0410-871a-916f4a2858ee
2009-11-03 02:58:03 +00:00
Paul Ramsey fba1c9c339 First cut of ST_Area(geography) on spheroid. Currently not default, use ST_Area(geog, true) to enable it. Beware of limitations over poles and eequator.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4719 b70326c6-7e19-0410-871a-916f4a2858ee
2009-11-03 00:36:02 +00:00
Paul Ramsey 6dd39806d5 Add ST_Length() implementation on spheroid and rationalize the sphere/spheroid implementations into
a smaller shared set of functions.


git-svn-id: http://svn.osgeo.org/postgis/trunk@4710 b70326c6-7e19-0410-871a-916f4a2858ee
2009-10-31 00:01:45 +00:00
Paul Ramsey 260b853a58 Add in spheroid calculations for ST_Distance and ST_DWithin.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4709 b70326c6-7e19-0410-871a-916f4a2858ee
2009-10-30 20:45:50 +00:00
Paul Ramsey 33861fea7d Minor changes for numerical stability. Remove logging.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4702 b70326c6-7e19-0410-871a-916f4a2858ee
2009-10-29 19:53:53 +00:00
Paul Ramsey ac8f490ddb Spheroid distance calculation between points added.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4700 b70326c6-7e19-0410-871a-916f4a2858ee
2009-10-29 19:24:06 +00:00