[postgis-tickets] r14514 - Add NEWS item and sort

Daniel Baston dbaston at gmail.com
Tue Dec 22 07:51:15 PST 2015


Author: dbaston
Date: 2015-12-22 07:51:15 -0800 (Tue, 22 Dec 2015)
New Revision: 14514

Modified:
   branches/2.0/NEWS
   branches/2.0/liblwgeom/lwgeodetic.c
Log:
Add NEWS item and sort

Modified: branches/2.0/NEWS
===================================================================
--- branches/2.0/NEWS	2015-12-22 15:50:06 UTC (rev 14513)
+++ branches/2.0/NEWS	2015-12-22 15:51:15 UTC (rev 14514)
@@ -4,18 +4,19 @@
  * Bug Fixes *
 
   - #2232, avoid accumulated error in SVG rounding
-  - #3351, set endnodes isolation on ST_RemoveIsoEdge
+  - #3018, GROUP BY geography sometimes returns duplicate rows
+  - #3094, Malformed GeoJSON inputs crash backend
+  - #3159, do not force a bbox cache on ST_Affine
   - #3196, do not let DropTopology drop non-topology schemes
   - #3198, ST_AddEdgeModFace docs report wrong side of new face
-  - #3159, do not force a bbox cache on ST_Affine
-  - #3094, Malformed GeoJSON inputs crash backend
-  - #3018, GROUP BY geography sometimes returns duplicate rows
   - #3155, Remove liblwgeom.h on make uninstall
+  - #3351, set endnodes isolation on ST_RemoveIsoEdge
   - #3359, Fix toTopoGeom loss of low-id primitives from TopoGeometry
            definition
   - #3375, crash in remove repeated points
   - #3378, Fix handling of hierarchical TopoGeometries with
            of multiple topologies
+  - #3389, Buffer overflow in lwgeom_to_geojson
 
 
 PostGIS 2.0.7

Modified: branches/2.0/liblwgeom/lwgeodetic.c
===================================================================
--- branches/2.0/liblwgeom/lwgeodetic.c	2015-12-22 15:50:06 UTC (rev 14513)
+++ branches/2.0/liblwgeom/lwgeodetic.c	2015-12-22 15:51:15 UTC (rev 14514)
@@ -590,7 +590,7 @@
 */
 double sphere_distance_cartesian(const POINT3D *s, const POINT3D *e)
 {
-	return acos(dot_product(s, e));
+	return acos(FP_MIN(1.0, dot_product(s, e)));
 }
 
 /**



More information about the postgis-tickets mailing list