Commit graph

23 commits

Author SHA1 Message Date
Paul Ramsey 0e4b650737 Replace MAXFLOAT with more "standard" FLT_MAX
git-svn-id: http://svn.osgeo.org/postgis/trunk@12988 b70326c6-7e19-0410-871a-916f4a2858ee
2014-09-19 16:27:20 +00:00
Paul Ramsey d03e576e17 CircNode compare function needs to deference inputs
git-svn-id: http://svn.osgeo.org/postgis/trunk@12365 b70326c6-7e19-0410-871a-916f4a2858ee
2014-03-26 15:04:01 +00:00
Paul Ramsey 001ab8c8f4 #2634, should fix geography-tree-distance errors in cases
where polygons interact with collections.


git-svn-id: http://svn.osgeo.org/postgis/trunk@12340 b70326c6-7e19-0410-871a-916f4a2858ee
2014-03-24 15:25:39 +00:00
Paul Ramsey 44cf4543aa #2636, Regress ST_Distance_Sphere between 2.1.2dev and 2.0.4 with 2D
git-svn-id: http://svn.osgeo.org/postgis/trunk@12307 b70326c6-7e19-0410-871a-916f4a2858ee
2014-03-08 00:45:32 +00:00
Paul Ramsey 2506552da8 Add more info to circtree structures
git-svn-id: http://svn.osgeo.org/postgis/trunk@12211 b70326c6-7e19-0410-871a-916f4a2858ee
2014-02-04 05:57:22 +00:00
Sandro Santilli 7d7ea5caf5 Remove warnings from liblwgeom
These are mostly unused variables

git-svn-id: http://svn.osgeo.org/postgis/trunk@11511 b70326c6-7e19-0410-871a-916f4a2858ee
2013-06-03 08:26:51 +00:00
Sandro Santilli 8845553fa7 Fix memory leak in circ_tree_new
git-svn-id: http://svn.osgeo.org/postgis/trunk@10865 b70326c6-7e19-0410-871a-916f4a2858ee
2012-12-19 20:52:22 +00:00
Paul Ramsey dd03422897 Remove many warnings from -pedantic build, and clean up parser globals a little more thoroughly.
git-svn-id: http://svn.osgeo.org/postgis/trunk@10661 b70326c6-7e19-0410-871a-916f4a2858ee
2012-11-09 00:09:35 +00:00
Paul Ramsey fcf7bb2699 Whoops make sure the test macros match the library ones
git-svn-id: http://svn.osgeo.org/postgis/trunk@10545 b70326c6-7e19-0410-871a-916f4a2858ee
2012-10-24 18:54:23 +00:00
Paul Ramsey 635f217ae7 (#2063) fix the vertex-crossing logic in the circular tree code to use the new edge_intersects routine
git-svn-id: http://svn.osgeo.org/postgis/trunk@10532 b70326c6-7e19-0410-871a-916f4a2858ee
2012-10-23 22:43:02 +00:00
Paul Ramsey da9ecad043 ST_Intersects(geography) returns incorrect result for pure-crossing cases (line cross line, line crosses polygon) (#1958)
git-svn-id: http://svn.osgeo.org/postgis/trunk@10194 b70326c6-7e19-0410-871a-916f4a2858ee
2012-08-21 18:22:41 +00:00
Paul Ramsey 91f8b43387 Crash in ST_Distance (#1951)
git-svn-id: http://svn.osgeo.org/postgis/trunk@10183 b70326c6-7e19-0410-871a-916f4a2858ee
2012-08-15 18:55:56 +00:00
Paul Ramsey c73e21d15f Allow circtree nodes to have more than 2 children (#1910)
git-svn-id: http://svn.osgeo.org/postgis/trunk@10046 b70326c6-7e19-0410-871a-916f4a2858ee
2012-07-12 03:38:03 +00:00
Paul Ramsey 34c7e98abc Comment on methodology behind tree node merging
git-svn-id: http://svn.osgeo.org/postgis/trunk@10045 b70326c6-7e19-0410-871a-916f4a2858ee
2012-07-11 19:33:00 +00:00
Paul Ramsey e47e3940e9 Fix issue with projecting from the poles, retain the source longitude for more sensible result.
git-svn-id: http://svn.osgeo.org/postgis/trunk@10042 b70326c6-7e19-0410-871a-916f4a2858ee
2012-07-11 04:05:57 +00:00
Paul Ramsey b28a605814 Fix a NaN result leaking into the tree building algorithm (optimized 32 bit code only!).
git-svn-id: http://svn.osgeo.org/postgis/trunk@10041 b70326c6-7e19-0410-871a-916f4a2858ee
2012-07-10 20:32:54 +00:00
Paul Ramsey a038a8cb10 Fix issue where the cached object is a point and the uncached one is a polygon. (#1796)
git-svn-id: http://svn.osgeo.org/postgis/trunk@10037 b70326c6-7e19-0410-871a-916f4a2858ee
2012-07-05 19:15:28 +00:00
Paul Ramsey 5294886998 Fix problems with circtree building on short edges near the poles. (#1796)
git-svn-id: http://svn.osgeo.org/postgis/trunk@10035 b70326c6-7e19-0410-871a-916f4a2858ee
2012-07-04 18:11:25 +00:00
Paul Ramsey 204749eab6 Fix problem thresholded distance searching in circ-trees. (#1796)
git-svn-id: http://svn.osgeo.org/postgis/trunk@10006 b70326c6-7e19-0410-871a-916f4a2858ee
2012-07-01 14:24:37 +00:00
Paul Ramsey 1dd2a18458 Fix mistake in tree p-i-p return value.
git-svn-id: http://svn.osgeo.org/postgis/trunk@9951 b70326c6-7e19-0410-871a-916f4a2858ee
2012-06-19 18:11:03 +00:00
Paul Ramsey b5e299620f Fix mistake in handling crossings-at-a-vertex
git-svn-id: http://svn.osgeo.org/postgis/trunk@9948 b70326c6-7e19-0410-871a-916f4a2858ee
2012-06-18 23:59:37 +00:00
Paul Ramsey 784d85eb47 Hide internal arguments for tree calculations and shut up the print output.
git-svn-id: http://svn.osgeo.org/postgis/trunk@9919 b70326c6-7e19-0410-871a-916f4a2858ee
2012-06-15 23:53:33 +00:00
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