[postgis-tickets] [SCM] PostGIS branch master updated. 3.1.0alpha2-31-g2a7ebd0

git at osgeo.org git at osgeo.org
Thu Jul 30 07:50:55 PDT 2020


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".

The branch, master has been updated
       via  2a7ebd0111b02aed3aa24752aad0ba89aef5d431 (commit)
       via  eb88a3359bcfc93f8ae795d1e8d11cf906730c6d (commit)
      from  0d0cd34136dee1b3f6f6f13747f85f2664a965d8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 2a7ebd0111b02aed3aa24752aad0ba89aef5d431
Author: Raúl Marín <git at rmr.ninja>
Date:   Thu Jul 30 15:23:45 2020 +0200

    Address valgrind warnings in regress tests
    
    Closes #4654

diff --git a/liblwgeom/gbox.c b/liblwgeom/gbox.c
index 141f3c2..8df7038 100644
--- a/liblwgeom/gbox.c
+++ b/liblwgeom/gbox.c
@@ -647,7 +647,7 @@ ptarray_calculate_gbox_cartesian(const POINTARRAY *pa, GBOX *gbox)
 
 static int lwcircstring_calculate_gbox_cartesian(LWCIRCSTRING *curve, GBOX *gbox)
 {
-	GBOX tmp;
+	GBOX tmp = {0};
 	POINT4D p1, p2, p3;
 	uint32_t i;
 
@@ -704,7 +704,7 @@ static int lwpoly_calculate_gbox_cartesian(LWPOLY *poly, GBOX *gbox)
 
 static int lwcollection_calculate_gbox_cartesian(LWCOLLECTION *coll, GBOX *gbox)
 {
-	GBOX subbox;
+	GBOX subbox = {0};
 	uint32_t i;
 	int result = LW_FAILURE;
 	int first = LW_TRUE;
diff --git a/liblwgeom/gserialized.c b/liblwgeom/gserialized.c
index e90a6d4..bed0386 100644
--- a/liblwgeom/gserialized.c
+++ b/liblwgeom/gserialized.c
@@ -312,7 +312,7 @@ inline static int gserialized_cmp_srid(const GSERIALIZED *g1, const GSERIALIZED
 /* ORDER BY hash(g), g::bytea, ST_SRID(g), hasz(g), hasm(g) */
 int gserialized_cmp(const GSERIALIZED *g1, const GSERIALIZED *g2)
 {
-	GBOX box1, box2;
+	GBOX box1 = {0}, box2 = {0};
 	uint64_t hash1, hash2;
 	size_t sz1 = LWSIZE_GET(g1->size);
 	size_t sz2 = LWSIZE_GET(g2->size);
diff --git a/liblwgeom/lwalgorithm.c b/liblwgeom/lwalgorithm.c
index dcd6f14..eb9feba 100644
--- a/liblwgeom/lwalgorithm.c
+++ b/liblwgeom/lwalgorithm.c
@@ -857,8 +857,8 @@ int lwgeom_geohash_precision(GBOX bbox, GBOX *bounds)
 lwvarlena_t *
 lwgeom_geohash(const LWGEOM *lwgeom, int precision)
 {
-	GBOX gbox;
-	GBOX gbox_bounds;
+	GBOX gbox = {0};
+	GBOX gbox_bounds = {0};
 	double lat, lon;
 	int result;
 
diff --git a/liblwgeom/lwgeodetic.c b/liblwgeom/lwgeodetic.c
index 602054c..1409f29 100644
--- a/liblwgeom/lwgeodetic.c
+++ b/liblwgeom/lwgeodetic.c
@@ -2992,7 +2992,7 @@ static int lwtriangle_calculate_gbox_geodetic(const LWTRIANGLE *triangle, GBOX *
 
 static int lwcollection_calculate_gbox_geodetic(const LWCOLLECTION *coll, GBOX *gbox)
 {
-	GBOX subbox;
+	GBOX subbox = {0};
 	uint32_t i;
 	int result = LW_FAILURE;
 	int first = LW_TRUE;
diff --git a/liblwgeom/lwout_geojson.c b/liblwgeom/lwout_geojson.c
index d13939a..a427e99 100644
--- a/liblwgeom/lwout_geojson.c
+++ b/liblwgeom/lwout_geojson.c
@@ -50,7 +50,7 @@ lwgeom_to_geojson(const LWGEOM *geom, const char *srs, int precision, int has_bb
 {
 	int type = geom->type;
 	GBOX *bbox = NULL;
-	GBOX tmp;
+	GBOX tmp = {0};
 
 	if (has_bbox)
 	{
diff --git a/postgis/gserialized_estimate.c b/postgis/gserialized_estimate.c
index 21b3ccc..56d0ab6 100644
--- a/postgis/gserialized_estimate.c
+++ b/postgis/gserialized_estimate.c
@@ -1440,7 +1440,7 @@ compute_gserialized_stats_mode(VacAttrStats *stats, AnalyzeAttrFetchFunc fetchfu
 	for ( i = 0; i < sample_rows; i++ )
 	{
 		Datum datum;
-		GBOX gbox;
+		GBOX gbox = {0};
 		ND_BOX *nd_box;
 		bool is_null;
 
diff --git a/postgis/gserialized_gist_2d.c b/postgis/gserialized_gist_2d.c
index 1dc159d..202ba25 100644
--- a/postgis/gserialized_gist_2d.c
+++ b/postgis/gserialized_gist_2d.c
@@ -509,7 +509,7 @@ gserialized_datum_get_gbox_p(Datum gsdatum, GBOX *gbox)
 int
 gserialized_datum_get_box2df_p(Datum gsdatum, BOX2DF *box2df)
 {
-	GBOX gbox;
+	GBOX gbox = {0};
 	if (gserialized_datum_get_gbox_p(gsdatum, &gbox) == LW_FAILURE)
 		return LW_FAILURE;
 
diff --git a/postgis/lwgeom_in_gml.c b/postgis/lwgeom_in_gml.c
index 1a5eecf..f5028c6 100644
--- a/postgis/lwgeom_in_gml.c
+++ b/postgis/lwgeom_in_gml.c
@@ -588,7 +588,7 @@ static POINTARRAY* parse_gml_coordinates(xmlNodePtr xnode, bool *hasz)
 	int gml_dims;
 	char *p, *q;
 	bool digit;
-	POINT4D pt;
+	POINT4D pt = {0};
 
 	/* We begin to retrieve coordinates string */
 	gml_coord = xmlNodeGetContent(xnode);
@@ -702,7 +702,7 @@ static POINTARRAY* parse_gml_coord(xmlNodePtr xnode, bool *hasz)
 	POINTARRAY *dpa;
 	bool x,y,z;
 	xmlChar *c;
-	POINT4D p;
+	POINT4D p = {0};
 
 	/* HasZ?, !HasM, 1 Point */
 	dpa = ptarray_construct_empty(1, 0, 1);
diff --git a/postgis/lwgeom_in_kml.c b/postgis/lwgeom_in_kml.c
index 0688918..d398751 100644
--- a/postgis/lwgeom_in_kml.c
+++ b/postgis/lwgeom_in_kml.c
@@ -108,8 +108,6 @@ Datum geom_from_kml(PG_FUNCTION_ARGS)
 		lwgeom = hlwgeom;
 	}
 
-	lwgeom_add_bbox(lwgeom);
-
 	/* KML geometries could be either 2 or 3D
 	 *
 	 * So we deal with 3D in all structures allocation, and flag hasz

commit eb88a3359bcfc93f8ae795d1e8d11cf906730c6d
Author: Raúl Marín <git at rmr.ninja>
Date:   Thu Jul 30 14:28:01 2020 +0200

    Adapt output to work with Raspberry
    
    References #4660

diff --git a/regress/core/sql-mm-circularstring.sql b/regress/core/sql-mm-circularstring.sql
index 9898c16..0790022 100644
--- a/regress/core/sql-mm-circularstring.sql
+++ b/regress/core/sql-mm-circularstring.sql
@@ -188,10 +188,10 @@ SELECT 'ST_CurveToLine-402', ST_AsText(ST_CurveToLine(the_geom_3dm, 4), 3) FROM
 SELECT 'ST_CurveToLine-403', ST_AsText(ST_CurveToLine(the_geom_3dz, 4), 3) FROM public.circularstring;
 SELECT 'ST_CurveToLine-404', ST_AsText(ST_CurveToLine(the_geom_4d, 4), 3) FROM public.circularstring;
 
-SELECT 'ST_CurveToLine01', ST_AsText(ST_CurveToLine(the_geom_2d), 3) FROM public.circularstring;
-SELECT 'ST_CurveToLine02', ST_AsText(ST_CurveToLine(the_geom_3dm), 3) FROM public.circularstring;
-SELECT 'ST_CurveToLine03', ST_AsText(ST_CurveToLine(the_geom_3dz), 3) FROM public.circularstring;
-SELECT 'ST_CurveToLine04', ST_AsText(ST_CurveToLine(the_geom_4d), 3) FROM public.circularstring;
+SELECT 'ST_CurveToLine01', ST_AsText(ST_CurveToLine(the_geom_2d), 2) FROM public.circularstring;
+SELECT 'ST_CurveToLine02', ST_AsText(ST_CurveToLine(the_geom_3dm), 2) FROM public.circularstring;
+SELECT 'ST_CurveToLine03', ST_AsText(ST_CurveToLine(the_geom_3dz), 2) FROM public.circularstring;
+SELECT 'ST_CurveToLine04', ST_AsText(ST_CurveToLine(the_geom_4d), 2) FROM public.circularstring;
 
 -- TODO: ST_SnapToGrid is required to remove platform dependent precision
 -- issues.  Until ST_SnapToGrid is updated to work against curves, these
diff --git a/regress/core/sql-mm-circularstring_expected b/regress/core/sql-mm-circularstring_expected
index 5a31f78..8c1fda2 100644
--- a/regress/core/sql-mm-circularstring_expected
+++ b/regress/core/sql-mm-circularstring_expected
@@ -60,14 +60,14 @@ ST_CurveToLine-403|LINESTRING Z (0 0 0,0.152 0.765 2.25,0.586 1.414 1)
 ST_CurveToLine-403|LINESTRING Z (-5 0 0,-4.619 1.913 0.25,-3.536 3.536 0.5,-1.913 4.619 0.75,3.062e-16 5 1,1.913 4.619 1.25,3.536 3.536 1.5,4.619 1.913 1.75,5 0 2,5.381 -1.913 2.25,6.464 -3.536 2.5,8.087 -4.619 2.75,10 -5 3,11.913 -4.619 3.25,13.536 -3.536 3.5,14.619 -1.913 3.75,15 0 4)
 ST_CurveToLine-404|LINESTRING ZM (0 0 0 0,0.152 0.765 2.25 -1.5,0.586 1.414 1 2)
 ST_CurveToLine-404|LINESTRING ZM (-5 0 0 4,-4.619 1.913 0.25 3.75,-3.536 3.536 0.5 3.5,-1.913 4.619 0.75 3.25,3.062e-16 5 1 3,1.913 4.619 1.25 2.75,3.536 3.536 1.5 2.5,4.619 1.913 1.75 2.25,5 0 2 2,5.381 -1.913 2.25 1.75,6.464 -3.536 2.5 1.5,8.087 -4.619 2.75 1.25,10 -5 3 1,11.913 -4.619 3.25 0.75,13.536 -3.536 3.5 0.5,14.619 -1.913 3.75 0.25,15 0 4 0)
-ST_CurveToLine01|LINESTRING(0 0,0.002 0.098,0.01 0.196,0.022 0.293,0.038 0.39,0.06 0.486,0.086 0.581,0.117 0.674,0.152 0.765,0.192 0.855,0.236 0.943,0.285 1.028,0.337 1.111,0.394 1.191,0.454 1.269,0.518 1.343,0.586 1.414)
-ST_CurveToLine01|LINESTRING(-5 0,-4.994 0.245,-4.976 0.49,-4.946 0.734,-4.904 0.975,-4.85 1.215,-4.785 1.451,-4.708 1.684,-4.619 1.913,-4.52 2.138,-4.41 2.357,-4.289 2.571,-4.157 2.778,-4.016 2.978,-3.865 3.172,-3.705 3.358,-3.536 3.536,-3.358 3.705,-3.172 3.865,-2.978 4.016,-2.778 4.157,-2.571 4.289,-2.357 4.41,-2.138 4.52,-1.913 4.619,-1.684 4.708,-1.451 4.785,-1.215 4.85,-0.975 4.904,-0.734 4.946,-0.49 4.976,-0.245 4.994,3.062e-16 5,0.245 4.994,0.49 4.976,0.734 4.946,0.975 4.904,1.215 4.85,1.451 4.785,1.684 4.708,1.913 4.619,2.138 4.52,2.357 4.41,2.571 4.289,2.778 4.157,2.978 4.016,3.172 3.865,3.358 3.705,3.536 3.536,3.705 3.358,3.865 3.172,4.016 2.978,4.157 2.778,4.289 2.571,4.41 2.357,4.52 2.138,4.619 1.913,4.708 1.684,4.785 1.451,4.85 1.215,4.904 0.975,4.946 0.734,4.976 0.49,4.994 0.245,5 0,5.006 -0.245,5.024 -0.49,5.054 -0.734,5.096 -0.975,5.15 -1.215,5.215 -1.451,5.292 -1.684,5.381 -1.913,5.48 -2.138,5.59 -2.357,5.711 -2.571,5.843 -2.778,5.984 -2.978,6.135 -3.172,6.295 -3.35
 8,6.464 -3.536,6.642 -3.705,6.828 -3.865,7.022 -4.016,7.222 -4.157,7.429 -4.289,7.643 -4.41,7.862 -4.52,8.087 -4.619,8.316 -4.708,8.549 -4.785,8.785 -4.85,9.025 -4.904,9.266 -4.946,9.51 -4.976,9.755 -4.994,10 -5,10.245 -4.994,10.49 -4.976,10.734 -4.946,10.975 -4.904,11.215 -4.85,11.451 -4.785,11.684 -4.708,11.913 -4.619,12.138 -4.52,12.357 -4.41,12.571 -4.289,12.778 -4.157,12.978 -4.016,13.172 -3.865,13.358 -3.705,13.536 -3.536,13.705 -3.358,13.865 -3.172,14.016 -2.978,14.157 -2.778,14.289 -2.571,14.41 -2.357,14.52 -2.138,14.619 -1.913,14.708 -1.684,14.785 -1.451,14.85 -1.215,14.904 -0.975,14.946 -0.734,14.976 -0.49,14.994 -0.245,15 0)
-ST_CurveToLine02|LINESTRING M (0 0 0,0.002 0.098 -0.187,0.01 0.196 -0.375,0.022 0.293 -0.562,0.038 0.39 -0.75,0.06 0.486 -0.938,0.086 0.581 -1.125,0.117 0.674 -1.313,0.152 0.765 -1.5,0.192 0.855 -1.687,0.236 0.943 -1.875,0.285 1.028 -1.75,0.337 1.111 -1,0.394 1.191 -0.25,0.454 1.269 0.5,0.518 1.343 1.25,0.586 1.414 2)
-ST_CurveToLine02|LINESTRING M (-5 0 4,-4.994 0.245 3.969,-4.976 0.49 3.938,-4.946 0.734 3.906,-4.904 0.975 3.875,-4.85 1.215 3.844,-4.785 1.451 3.812,-4.708 1.684 3.781,-4.619 1.913 3.75,-4.52 2.138 3.719,-4.41 2.357 3.688,-4.289 2.571 3.656,-4.157 2.778 3.625,-4.016 2.978 3.594,-3.865 3.172 3.562,-3.705 3.358 3.531,-3.536 3.536 3.5,-3.358 3.705 3.469,-3.172 3.865 3.438,-2.978 4.016 3.406,-2.778 4.157 3.375,-2.571 4.289 3.344,-2.357 4.41 3.312,-2.138 4.52 3.281,-1.913 4.619 3.25,-1.684 4.708 3.219,-1.451 4.785 3.188,-1.215 4.85 3.156,-0.975 4.904 3.125,-0.734 4.946 3.094,-0.49 4.976 3.062,-0.245 4.994 3.031,3.062e-16 5 3,0.245 4.994 2.969,0.49 4.976 2.938,0.734 4.946 2.906,0.975 4.904 2.875,1.215 4.85 2.844,1.451 4.785 2.812,1.684 4.708 2.781,1.913 4.619 2.75,2.138 4.52 2.719,2.357 4.41 2.688,2.571 4.289 2.656,2.778 4.157 2.625,2.978 4.016 2.594,3.172 3.865 2.562,3.358 3.705 2.531,3.536 3.536 2.5,3.705 3.358 2.469,3.865 3.172 2.438,4.016 2.978 2.406,4.157 2.778 2.375,4.289 2.571 2.3
 44,4.41 2.357 2.312,4.52 2.138 2.281,4.619 1.913 2.25,4.708 1.684 2.219,4.785 1.451 2.188,4.85 1.215 2.156,4.904 0.975 2.125,4.946 0.734 2.094,4.976 0.49 2.062,4.994 0.245 2.031,5 0 2,5.006 -0.245 1.969,5.024 -0.49 1.938,5.054 -0.734 1.906,5.096 -0.975 1.875,5.15 -1.215 1.844,5.215 -1.451 1.812,5.292 -1.684 1.781,5.381 -1.913 1.75,5.48 -2.138 1.719,5.59 -2.357 1.688,5.711 -2.571 1.656,5.843 -2.778 1.625,5.984 -2.978 1.594,6.135 -3.172 1.562,6.295 -3.358 1.531,6.464 -3.536 1.5,6.642 -3.705 1.469,6.828 -3.865 1.438,7.022 -4.016 1.406,7.222 -4.157 1.375,7.429 -4.289 1.344,7.643 -4.41 1.312,7.862 -4.52 1.281,8.087 -4.619 1.25,8.316 -4.708 1.219,8.549 -4.785 1.188,8.785 -4.85 1.156,9.025 -4.904 1.125,9.266 -4.946 1.094,9.51 -4.976 1.062,9.755 -4.994 1.031,10 -5 1,10.245 -4.994 0.969,10.49 -4.976 0.938,10.734 -4.946 0.906,10.975 -4.904 0.875,11.215 -4.85 0.844,11.451 -4.785 0.813,11.684 -4.708 0.781,11.913 -4.619 0.75,12.138 -4.52 0.719,12.357 -4.41 0.688,12.571 -4.289 0.656,12.778 -4.157
  0.625,12.978 -4.016 0.594,13.172 -3.865 0.563,13.358 -3.705 0.531,13.536 -3.536 0.5,13.705 -3.358 0.469,13.865 -3.172 0.437,14.016 -2.978 0.406,14.157 -2.778 0.375,14.289 -2.571 0.344,14.41 -2.357 0.313,14.52 -2.138 0.281,14.619 -1.913 0.25,14.708 -1.684 0.219,14.785 -1.451 0.187,14.85 -1.215 0.156,14.904 -0.975 0.125,14.946 -0.734 0.094,14.976 -0.49 0.062,14.994 -0.245 0.031,15 0 0)
-ST_CurveToLine03|LINESTRING Z (0 0 0,0.002 0.098 0.281,0.01 0.196 0.563,0.022 0.293 0.844,0.038 0.39 1.125,0.06 0.486 1.406,0.086 0.581 1.687,0.117 0.674 1.969,0.152 0.765 2.25,0.192 0.855 2.531,0.236 0.943 2.813,0.285 1.028 2.875,0.337 1.111 2.5,0.394 1.191 2.125,0.454 1.269 1.75,0.518 1.343 1.375,0.586 1.414 1)
-ST_CurveToLine03|LINESTRING Z (-5 0 0,-4.994 0.245 0.031,-4.976 0.49 0.063,-4.946 0.734 0.094,-4.904 0.975 0.125,-4.85 1.215 0.156,-4.785 1.451 0.187,-4.708 1.684 0.219,-4.619 1.913 0.25,-4.52 2.138 0.281,-4.41 2.357 0.313,-4.289 2.571 0.344,-4.157 2.778 0.375,-4.016 2.978 0.406,-3.865 3.172 0.437,-3.705 3.358 0.469,-3.536 3.536 0.5,-3.358 3.705 0.531,-3.172 3.865 0.563,-2.978 4.016 0.594,-2.778 4.157 0.625,-2.571 4.289 0.656,-2.357 4.41 0.687,-2.138 4.52 0.719,-1.913 4.619 0.75,-1.684 4.708 0.781,-1.451 4.785 0.813,-1.215 4.85 0.844,-0.975 4.904 0.875,-0.734 4.946 0.906,-0.49 4.976 0.937,-0.245 4.994 0.969,3.062e-16 5 1,0.245 4.994 1.031,0.49 4.976 1.062,0.734 4.946 1.094,0.975 4.904 1.125,1.215 4.85 1.156,1.451 4.785 1.188,1.684 4.708 1.219,1.913 4.619 1.25,2.138 4.52 1.281,2.357 4.41 1.312,2.571 4.289 1.344,2.778 4.157 1.375,2.978 4.016 1.406,3.172 3.865 1.438,3.358 3.705 1.469,3.536 3.536 1.5,3.705 3.358 1.531,3.865 3.172 1.562,4.016 2.978 1.594,4.157 2.778 1.625,4.289 2.571 1.6
 56,4.41 2.357 1.688,4.52 2.138 1.719,4.619 1.913 1.75,4.708 1.684 1.781,4.785 1.451 1.812,4.85 1.215 1.844,4.904 0.975 1.875,4.946 0.734 1.906,4.976 0.49 1.938,4.994 0.245 1.969,5 0 2,5.006 -0.245 2.031,5.024 -0.49 2.062,5.054 -0.734 2.094,5.096 -0.975 2.125,5.15 -1.215 2.156,5.215 -1.451 2.188,5.292 -1.684 2.219,5.381 -1.913 2.25,5.48 -2.138 2.281,5.59 -2.357 2.312,5.711 -2.571 2.344,5.843 -2.778 2.375,5.984 -2.978 2.406,6.135 -3.172 2.438,6.295 -3.358 2.469,6.464 -3.536 2.5,6.642 -3.705 2.531,6.828 -3.865 2.562,7.022 -4.016 2.594,7.222 -4.157 2.625,7.429 -4.289 2.656,7.643 -4.41 2.688,7.862 -4.52 2.719,8.087 -4.619 2.75,8.316 -4.708 2.781,8.549 -4.785 2.812,8.785 -4.85 2.844,9.025 -4.904 2.875,9.266 -4.946 2.906,9.51 -4.976 2.938,9.755 -4.994 2.969,10 -5 3,10.245 -4.994 3.031,10.49 -4.976 3.062,10.734 -4.946 3.094,10.975 -4.904 3.125,11.215 -4.85 3.156,11.451 -4.785 3.188,11.684 -4.708 3.219,11.913 -4.619 3.25,12.138 -4.52 3.281,12.357 -4.41 3.312,12.571 -4.289 3.344,12.778 -4.157
  3.375,12.978 -4.016 3.406,13.172 -3.865 3.437,13.358 -3.705 3.469,13.536 -3.536 3.5,13.705 -3.358 3.531,13.865 -3.172 3.563,14.016 -2.978 3.594,14.157 -2.778 3.625,14.289 -2.571 3.656,14.41 -2.357 3.688,14.52 -2.138 3.719,14.619 -1.913 3.75,14.708 -1.684 3.781,14.785 -1.451 3.812,14.85 -1.215 3.844,14.904 -0.975 3.875,14.946 -0.734 3.906,14.976 -0.49 3.938,14.994 -0.245 3.969,15 0 4)
-ST_CurveToLine04|LINESTRING ZM (0 0 0 0,0.002 0.098 0.281 -0.187,0.01 0.196 0.563 -0.375,0.022 0.293 0.844 -0.562,0.038 0.39 1.125 -0.75,0.06 0.486 1.406 -0.938,0.086 0.581 1.687 -1.125,0.117 0.674 1.969 -1.313,0.152 0.765 2.25 -1.5,0.192 0.855 2.531 -1.687,0.236 0.943 2.813 -1.875,0.285 1.028 2.875 -1.75,0.337 1.111 2.5 -1,0.394 1.191 2.125 -0.25,0.454 1.269 1.75 0.5,0.518 1.343 1.375 1.25,0.586 1.414 1 2)
-ST_CurveToLine04|LINESTRING ZM (-5 0 0 4,-4.994 0.245 0.031 3.969,-4.976 0.49 0.063 3.938,-4.946 0.734 0.094 3.906,-4.904 0.975 0.125 3.875,-4.85 1.215 0.156 3.844,-4.785 1.451 0.187 3.812,-4.708 1.684 0.219 3.781,-4.619 1.913 0.25 3.75,-4.52 2.138 0.281 3.719,-4.41 2.357 0.313 3.688,-4.289 2.571 0.344 3.656,-4.157 2.778 0.375 3.625,-4.016 2.978 0.406 3.594,-3.865 3.172 0.437 3.562,-3.705 3.358 0.469 3.531,-3.536 3.536 0.5 3.5,-3.358 3.705 0.531 3.469,-3.172 3.865 0.563 3.438,-2.978 4.016 0.594 3.406,-2.778 4.157 0.625 3.375,-2.571 4.289 0.656 3.344,-2.357 4.41 0.687 3.312,-2.138 4.52 0.719 3.281,-1.913 4.619 0.75 3.25,-1.684 4.708 0.781 3.219,-1.451 4.785 0.813 3.188,-1.215 4.85 0.844 3.156,-0.975 4.904 0.875 3.125,-0.734 4.946 0.906 3.094,-0.49 4.976 0.937 3.062,-0.245 4.994 0.969 3.031,3.062e-16 5 1 3,0.245 4.994 1.031 2.969,0.49 4.976 1.062 2.938,0.734 4.946 1.094 2.906,0.975 4.904 1.125 2.875,1.215 4.85 1.156 2.844,1.451 4.785 1.188 2.812,1.684 4.708 1.219 2.781,1.913 4.619 1.2
 5 2.75,2.138 4.52 1.281 2.719,2.357 4.41 1.312 2.688,2.571 4.289 1.344 2.656,2.778 4.157 1.375 2.625,2.978 4.016 1.406 2.594,3.172 3.865 1.438 2.562,3.358 3.705 1.469 2.531,3.536 3.536 1.5 2.5,3.705 3.358 1.531 2.469,3.865 3.172 1.562 2.438,4.016 2.978 1.594 2.406,4.157 2.778 1.625 2.375,4.289 2.571 1.656 2.344,4.41 2.357 1.688 2.312,4.52 2.138 1.719 2.281,4.619 1.913 1.75 2.25,4.708 1.684 1.781 2.219,4.785 1.451 1.812 2.188,4.85 1.215 1.844 2.156,4.904 0.975 1.875 2.125,4.946 0.734 1.906 2.094,4.976 0.49 1.938 2.062,4.994 0.245 1.969 2.031,5 0 2 2,5.006 -0.245 2.031 1.969,5.024 -0.49 2.062 1.938,5.054 -0.734 2.094 1.906,5.096 -0.975 2.125 1.875,5.15 -1.215 2.156 1.844,5.215 -1.451 2.188 1.812,5.292 -1.684 2.219 1.781,5.381 -1.913 2.25 1.75,5.48 -2.138 2.281 1.719,5.59 -2.357 2.312 1.688,5.711 -2.571 2.344 1.656,5.843 -2.778 2.375 1.625,5.984 -2.978 2.406 1.594,6.135 -3.172 2.438 1.562,6.295 -3.358 2.469 1.531,6.464 -3.536 2.5 1.5,6.642 -3.705 2.531 1.469,6.828 -3.865 2.562 1.438,7.
 022 -4.016 2.594 1.406,7.222 -4.157 2.625 1.375,7.429 -4.289 2.656 1.344,7.643 -4.41 2.688 1.312,7.862 -4.52 2.719 1.281,8.087 -4.619 2.75 1.25,8.316 -4.708 2.781 1.219,8.549 -4.785 2.812 1.188,8.785 -4.85 2.844 1.156,9.025 -4.904 2.875 1.125,9.266 -4.946 2.906 1.094,9.51 -4.976 2.938 1.062,9.755 -4.994 2.969 1.031,10 -5 3 1,10.245 -4.994 3.031 0.969,10.49 -4.976 3.062 0.938,10.734 -4.946 3.094 0.906,10.975 -4.904 3.125 0.875,11.215 -4.85 3.156 0.844,11.451 -4.785 3.188 0.813,11.684 -4.708 3.219 0.781,11.913 -4.619 3.25 0.75,12.138 -4.52 3.281 0.719,12.357 -4.41 3.312 0.688,12.571 -4.289 3.344 0.656,12.778 -4.157 3.375 0.625,12.978 -4.016 3.406 0.594,13.172 -3.865 3.437 0.563,13.358 -3.705 3.469 0.531,13.536 -3.536 3.5 0.5,13.705 -3.358 3.531 0.469,13.865 -3.172 3.563 0.437,14.016 -2.978 3.594 0.406,14.157 -2.778 3.625 0.375,14.289 -2.571 3.656 0.344,14.41 -2.357 3.688 0.313,14.52 -2.138 3.719 0.281,14.619 -1.913 3.75 0.25,14.708 -1.684 3.781 0.219,14.785 -1.451 3.812 0.187,14.85 -1
 .215 3.844 0.156,14.904 -0.975 3.875 0.125,14.946 -0.734 3.906 0.094,14.976 -0.49 3.938 0.062,14.994 -0.245 3.969 0.031,15 0 4 0)
+ST_CurveToLine01|LINESTRING(0 0,0 0.1,0.01 0.2,0.02 0.29,0.04 0.39,0.06 0.49,0.09 0.58,0.12 0.67,0.15 0.77,0.19 0.86,0.24 0.94,0.28 1.03,0.34 1.11,0.39 1.19,0.45 1.27,0.52 1.34,0.59 1.41)
+ST_CurveToLine01|LINESTRING(-5 0,-4.99 0.25,-4.98 0.49,-4.95 0.73,-4.9 0.98,-4.85 1.21,-4.78 1.45,-4.71 1.68,-4.62 1.91,-4.52 2.14,-4.41 2.36,-4.29 2.57,-4.16 2.78,-4.02 2.98,-3.87 3.17,-3.7 3.36,-3.54 3.54,-3.36 3.7,-3.17 3.87,-2.98 4.02,-2.78 4.16,-2.57 4.29,-2.36 4.41,-2.14 4.52,-1.91 4.62,-1.68 4.71,-1.45 4.78,-1.21 4.85,-0.98 4.9,-0.73 4.95,-0.49 4.98,-0.25 4.99,3.06e-16 5,0.25 4.99,0.49 4.98,0.73 4.95,0.98 4.9,1.21 4.85,1.45 4.78,1.68 4.71,1.91 4.62,2.14 4.52,2.36 4.41,2.57 4.29,2.78 4.16,2.98 4.02,3.17 3.87,3.36 3.7,3.54 3.54,3.7 3.36,3.87 3.17,4.02 2.98,4.16 2.78,4.29 2.57,4.41 2.36,4.52 2.14,4.62 1.91,4.71 1.68,4.78 1.45,4.85 1.21,4.9 0.98,4.95 0.73,4.98 0.49,4.99 0.25,5 0,5.01 -0.25,5.02 -0.49,5.05 -0.73,5.1 -0.98,5.15 -1.21,5.22 -1.45,5.29 -1.68,5.38 -1.91,5.48 -2.14,5.59 -2.36,5.71 -2.57,5.84 -2.78,5.98 -2.98,6.13 -3.17,6.3 -3.36,6.46 -3.54,6.64 -3.7,6.83 -3.87,7.02 -4.02,7.22 -4.16,7.43 -4.29,7.64 -4.41,7.86 -4.52,8.09 -4.62,8.32 -4.71,8.55 -4.78,8.79 -4.85,9.02 -4.9,9.
 27 -4.95,9.51 -4.98,9.75 -4.99,10 -5,10.25 -4.99,10.49 -4.98,10.73 -4.95,10.98 -4.9,11.21 -4.85,11.45 -4.78,11.68 -4.71,11.91 -4.62,12.14 -4.52,12.36 -4.41,12.57 -4.29,12.78 -4.16,12.98 -4.02,13.17 -3.87,13.36 -3.7,13.54 -3.54,13.7 -3.36,13.87 -3.17,14.02 -2.98,14.16 -2.78,14.29 -2.57,14.41 -2.36,14.52 -2.14,14.62 -1.91,14.71 -1.68,14.78 -1.45,14.85 -1.21,14.9 -0.98,14.95 -0.73,14.98 -0.49,14.99 -0.25,15 0)
+ST_CurveToLine02|LINESTRING M (0 0 0,0 0.1 -0.19,0.01 0.2 -0.38,0.02 0.29 -0.56,0.04 0.39 -0.75,0.06 0.49 -0.94,0.09 0.58 -1.12,0.12 0.67 -1.31,0.15 0.77 -1.5,0.19 0.86 -1.69,0.24 0.94 -1.88,0.28 1.03 -1.75,0.34 1.11 -1,0.39 1.19 -0.25,0.45 1.27 0.5,0.52 1.34 1.25,0.59 1.41 2)
+ST_CurveToLine02|LINESTRING M (-5 0 4,-4.99 0.25 3.97,-4.98 0.49 3.94,-4.95 0.73 3.91,-4.9 0.98 3.88,-4.85 1.21 3.84,-4.78 1.45 3.81,-4.71 1.68 3.78,-4.62 1.91 3.75,-4.52 2.14 3.72,-4.41 2.36 3.69,-4.29 2.57 3.66,-4.16 2.78 3.62,-4.02 2.98 3.59,-3.87 3.17 3.56,-3.7 3.36 3.53,-3.54 3.54 3.5,-3.36 3.7 3.47,-3.17 3.87 3.44,-2.98 4.02 3.41,-2.78 4.16 3.38,-2.57 4.29 3.34,-2.36 4.41 3.31,-2.14 4.52 3.28,-1.91 4.62 3.25,-1.68 4.71 3.22,-1.45 4.78 3.19,-1.21 4.85 3.16,-0.98 4.9 3.12,-0.73 4.95 3.09,-0.49 4.98 3.06,-0.25 4.99 3.03,3.06e-16 5 3,0.25 4.99 2.97,0.49 4.98 2.94,0.73 4.95 2.91,0.98 4.9 2.88,1.21 4.85 2.84,1.45 4.78 2.81,1.68 4.71 2.78,1.91 4.62 2.75,2.14 4.52 2.72,2.36 4.41 2.69,2.57 4.29 2.66,2.78 4.16 2.62,2.98 4.02 2.59,3.17 3.87 2.56,3.36 3.7 2.53,3.54 3.54 2.5,3.7 3.36 2.47,3.87 3.17 2.44,4.02 2.98 2.41,4.16 2.78 2.38,4.29 2.57 2.34,4.41 2.36 2.31,4.52 2.14 2.28,4.62 1.91 2.25,4.71 1.68 2.22,4.78 1.45 2.19,4.85 1.21 2.16,4.9 0.98 2.12,4.95 0.73 2.09,4.98 0.49 2.06,4.99 0.25 
 2.03,5 0 2,5.01 -0.25 1.97,5.02 -0.49 1.94,5.05 -0.73 1.91,5.1 -0.98 1.87,5.15 -1.21 1.84,5.22 -1.45 1.81,5.29 -1.68 1.78,5.38 -1.91 1.75,5.48 -2.14 1.72,5.59 -2.36 1.69,5.71 -2.57 1.66,5.84 -2.78 1.63,5.98 -2.98 1.59,6.13 -3.17 1.56,6.3 -3.36 1.53,6.46 -3.54 1.5,6.64 -3.7 1.47,6.83 -3.87 1.44,7.02 -4.02 1.41,7.22 -4.16 1.38,7.43 -4.29 1.34,7.64 -4.41 1.31,7.86 -4.52 1.28,8.09 -4.62 1.25,8.32 -4.71 1.22,8.55 -4.78 1.19,8.79 -4.85 1.16,9.02 -4.9 1.12,9.27 -4.95 1.09,9.51 -4.98 1.06,9.75 -4.99 1.03,10 -5 1,10.25 -4.99 0.97,10.49 -4.98 0.94,10.73 -4.95 0.91,10.98 -4.9 0.87,11.21 -4.85 0.84,11.45 -4.78 0.81,11.68 -4.71 0.78,11.91 -4.62 0.75,12.14 -4.52 0.72,12.36 -4.41 0.69,12.57 -4.29 0.66,12.78 -4.16 0.63,12.98 -4.02 0.59,13.17 -3.87 0.56,13.36 -3.7 0.53,13.54 -3.54 0.5,13.7 -3.36 0.47,13.87 -3.17 0.44,14.02 -2.98 0.41,14.16 -2.78 0.37,14.29 -2.57 0.34,14.41 -2.36 0.31,14.52 -2.14 0.28,14.62 -1.91 0.25,14.71 -1.68 0.22,14.78 -1.45 0.19,14.85 -1.21 0.16,14.9 -0.98 0.13,14.95 -0.73 0.09
 ,14.98 -0.49 0.06,14.99 -0.25 0.03,15 0 0)
+ST_CurveToLine03|LINESTRING Z (0 0 0,0 0.1 0.28,0.01 0.2 0.56,0.02 0.29 0.84,0.04 0.39 1.13,0.06 0.49 1.41,0.09 0.58 1.69,0.12 0.67 1.97,0.15 0.77 2.25,0.19 0.86 2.53,0.24 0.94 2.81,0.28 1.03 2.87,0.34 1.11 2.5,0.39 1.19 2.12,0.45 1.27 1.75,0.52 1.34 1.37,0.59 1.41 1)
+ST_CurveToLine03|LINESTRING Z (-5 0 0,-4.99 0.25 0.03,-4.98 0.49 0.06,-4.95 0.73 0.09,-4.9 0.98 0.13,-4.85 1.21 0.16,-4.78 1.45 0.19,-4.71 1.68 0.22,-4.62 1.91 0.25,-4.52 2.14 0.28,-4.41 2.36 0.31,-4.29 2.57 0.34,-4.16 2.78 0.37,-4.02 2.98 0.41,-3.87 3.17 0.44,-3.7 3.36 0.47,-3.54 3.54 0.5,-3.36 3.7 0.53,-3.17 3.87 0.56,-2.98 4.02 0.59,-2.78 4.16 0.63,-2.57 4.29 0.66,-2.36 4.41 0.69,-2.14 4.52 0.72,-1.91 4.62 0.75,-1.68 4.71 0.78,-1.45 4.78 0.81,-1.21 4.85 0.84,-0.98 4.9 0.88,-0.73 4.95 0.91,-0.49 4.98 0.94,-0.25 4.99 0.97,3.06e-16 5 1,0.25 4.99 1.03,0.49 4.98 1.06,0.73 4.95 1.09,0.98 4.9 1.12,1.21 4.85 1.16,1.45 4.78 1.19,1.68 4.71 1.22,1.91 4.62 1.25,2.14 4.52 1.28,2.36 4.41 1.31,2.57 4.29 1.34,2.78 4.16 1.37,2.98 4.02 1.41,3.17 3.87 1.44,3.36 3.7 1.47,3.54 3.54 1.5,3.7 3.36 1.53,3.87 3.17 1.56,4.02 2.98 1.59,4.16 2.78 1.62,4.29 2.57 1.66,4.41 2.36 1.69,4.52 2.14 1.72,4.62 1.91 1.75,4.71 1.68 1.78,4.78 1.45 1.81,4.85 1.21 1.84,4.9 0.98 1.88,4.95 0.73 1.91,4.98 0.49 1.94,4.99 0.25 
 1.97,5 0 2,5.01 -0.25 2.03,5.02 -0.49 2.06,5.05 -0.73 2.09,5.1 -0.98 2.12,5.15 -1.21 2.16,5.22 -1.45 2.19,5.29 -1.68 2.22,5.38 -1.91 2.25,5.48 -2.14 2.28,5.59 -2.36 2.31,5.71 -2.57 2.34,5.84 -2.78 2.38,5.98 -2.98 2.41,6.13 -3.17 2.44,6.3 -3.36 2.47,6.46 -3.54 2.5,6.64 -3.7 2.53,6.83 -3.87 2.56,7.02 -4.02 2.59,7.22 -4.16 2.62,7.43 -4.29 2.66,7.64 -4.41 2.69,7.86 -4.52 2.72,8.09 -4.62 2.75,8.32 -4.71 2.78,8.55 -4.78 2.81,8.79 -4.85 2.84,9.02 -4.9 2.88,9.27 -4.95 2.91,9.51 -4.98 2.94,9.75 -4.99 2.97,10 -5 3,10.25 -4.99 3.03,10.49 -4.98 3.06,10.73 -4.95 3.09,10.98 -4.9 3.12,11.21 -4.85 3.16,11.45 -4.78 3.19,11.68 -4.71 3.22,11.91 -4.62 3.25,12.14 -4.52 3.28,12.36 -4.41 3.31,12.57 -4.29 3.34,12.78 -4.16 3.38,12.98 -4.02 3.41,13.17 -3.87 3.44,13.36 -3.7 3.47,13.54 -3.54 3.5,13.7 -3.36 3.53,13.87 -3.17 3.56,14.02 -2.98 3.59,14.16 -2.78 3.62,14.29 -2.57 3.66,14.41 -2.36 3.69,14.52 -2.14 3.72,14.62 -1.91 3.75,14.71 -1.68 3.78,14.78 -1.45 3.81,14.85 -1.21 3.84,14.9 -0.98 3.88,14.95 -0.73 3.91
 ,14.98 -0.49 3.94,14.99 -0.25 3.97,15 0 4)
+ST_CurveToLine04|LINESTRING ZM (0 0 0 0,0 0.1 0.28 -0.19,0.01 0.2 0.56 -0.38,0.02 0.29 0.84 -0.56,0.04 0.39 1.13 -0.75,0.06 0.49 1.41 -0.94,0.09 0.58 1.69 -1.12,0.12 0.67 1.97 -1.31,0.15 0.77 2.25 -1.5,0.19 0.86 2.53 -1.69,0.24 0.94 2.81 -1.88,0.28 1.03 2.87 -1.75,0.34 1.11 2.5 -1,0.39 1.19 2.12 -0.25,0.45 1.27 1.75 0.5,0.52 1.34 1.37 1.25,0.59 1.41 1 2)
+ST_CurveToLine04|LINESTRING ZM (-5 0 0 4,-4.99 0.25 0.03 3.97,-4.98 0.49 0.06 3.94,-4.95 0.73 0.09 3.91,-4.9 0.98 0.13 3.88,-4.85 1.21 0.16 3.84,-4.78 1.45 0.19 3.81,-4.71 1.68 0.22 3.78,-4.62 1.91 0.25 3.75,-4.52 2.14 0.28 3.72,-4.41 2.36 0.31 3.69,-4.29 2.57 0.34 3.66,-4.16 2.78 0.37 3.62,-4.02 2.98 0.41 3.59,-3.87 3.17 0.44 3.56,-3.7 3.36 0.47 3.53,-3.54 3.54 0.5 3.5,-3.36 3.7 0.53 3.47,-3.17 3.87 0.56 3.44,-2.98 4.02 0.59 3.41,-2.78 4.16 0.63 3.38,-2.57 4.29 0.66 3.34,-2.36 4.41 0.69 3.31,-2.14 4.52 0.72 3.28,-1.91 4.62 0.75 3.25,-1.68 4.71 0.78 3.22,-1.45 4.78 0.81 3.19,-1.21 4.85 0.84 3.16,-0.98 4.9 0.88 3.12,-0.73 4.95 0.91 3.09,-0.49 4.98 0.94 3.06,-0.25 4.99 0.97 3.03,3.06e-16 5 1 3,0.25 4.99 1.03 2.97,0.49 4.98 1.06 2.94,0.73 4.95 1.09 2.91,0.98 4.9 1.12 2.88,1.21 4.85 1.16 2.84,1.45 4.78 1.19 2.81,1.68 4.71 1.22 2.78,1.91 4.62 1.25 2.75,2.14 4.52 1.28 2.72,2.36 4.41 1.31 2.69,2.57 4.29 1.34 2.66,2.78 4.16 1.37 2.62,2.98 4.02 1.41 2.59,3.17 3.87 1.44 2.56,3.36 3.7 1.47 2.5
 3,3.54 3.54 1.5 2.5,3.7 3.36 1.53 2.47,3.87 3.17 1.56 2.44,4.02 2.98 1.59 2.41,4.16 2.78 1.62 2.38,4.29 2.57 1.66 2.34,4.41 2.36 1.69 2.31,4.52 2.14 1.72 2.28,4.62 1.91 1.75 2.25,4.71 1.68 1.78 2.22,4.78 1.45 1.81 2.19,4.85 1.21 1.84 2.16,4.9 0.98 1.88 2.12,4.95 0.73 1.91 2.09,4.98 0.49 1.94 2.06,4.99 0.25 1.97 2.03,5 0 2 2,5.01 -0.25 2.03 1.97,5.02 -0.49 2.06 1.94,5.05 -0.73 2.09 1.91,5.1 -0.98 2.12 1.87,5.15 -1.21 2.16 1.84,5.22 -1.45 2.19 1.81,5.29 -1.68 2.22 1.78,5.38 -1.91 2.25 1.75,5.48 -2.14 2.28 1.72,5.59 -2.36 2.31 1.69,5.71 -2.57 2.34 1.66,5.84 -2.78 2.38 1.63,5.98 -2.98 2.41 1.59,6.13 -3.17 2.44 1.56,6.3 -3.36 2.47 1.53,6.46 -3.54 2.5 1.5,6.64 -3.7 2.53 1.47,6.83 -3.87 2.56 1.44,7.02 -4.02 2.59 1.41,7.22 -4.16 2.62 1.38,7.43 -4.29 2.66 1.34,7.64 -4.41 2.69 1.31,7.86 -4.52 2.72 1.28,8.09 -4.62 2.75 1.25,8.32 -4.71 2.78 1.22,8.55 -4.78 2.81 1.19,8.79 -4.85 2.84 1.16,9.02 -4.9 2.88 1.12,9.27 -4.95 2.91 1.09,9.51 -4.98 2.94 1.06,9.75 -4.99 2.97 1.03,10 -5 3 1,10.25 -4.99 3.03
  0.97,10.49 -4.98 3.06 0.94,10.73 -4.95 3.09 0.91,10.98 -4.9 3.12 0.87,11.21 -4.85 3.16 0.84,11.45 -4.78 3.19 0.81,11.68 -4.71 3.22 0.78,11.91 -4.62 3.25 0.75,12.14 -4.52 3.28 0.72,12.36 -4.41 3.31 0.69,12.57 -4.29 3.34 0.66,12.78 -4.16 3.38 0.63,12.98 -4.02 3.41 0.59,13.17 -3.87 3.44 0.56,13.36 -3.7 3.47 0.53,13.54 -3.54 3.5 0.5,13.7 -3.36 3.53 0.47,13.87 -3.17 3.56 0.44,14.02 -2.98 3.59 0.41,14.16 -2.78 3.62 0.37,14.29 -2.57 3.66 0.34,14.41 -2.36 3.69 0.31,14.52 -2.14 3.72 0.28,14.62 -1.91 3.75 0.25,14.71 -1.68 3.78 0.22,14.78 -1.45 3.81 0.19,14.85 -1.21 3.84 0.16,14.9 -0.98 3.88 0.13,14.95 -0.73 3.91 0.09,14.98 -0.49 3.94 0.06,14.99 -0.25 3.97 0.03,15 0 4 0)
 isValid01|t
 isValid01|t
 isValid02|t

-----------------------------------------------------------------------

Summary of changes:
 liblwgeom/gbox.c                            |  4 ++--
 liblwgeom/gserialized.c                     |  2 +-
 liblwgeom/lwalgorithm.c                     |  4 ++--
 liblwgeom/lwgeodetic.c                      |  2 +-
 liblwgeom/lwout_geojson.c                   |  2 +-
 postgis/gserialized_estimate.c              |  2 +-
 postgis/gserialized_gist_2d.c               |  2 +-
 postgis/lwgeom_in_gml.c                     |  4 ++--
 postgis/lwgeom_in_kml.c                     |  2 --
 regress/core/sql-mm-circularstring.sql      |  8 ++++----
 regress/core/sql-mm-circularstring_expected | 16 ++++++++--------
 11 files changed, 23 insertions(+), 25 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list