[postgis-tickets] [SCM] PostGIS branch master updated. 3.1.0alpha2-78-gd575a6e
git at osgeo.org
git at osgeo.org
Mon Oct 5 09:34:15 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 d575a6e738ef567b05d80096f41c383e264bd8dc (commit)
from 678f526670b6b1805495431e62f12072bb9485cf (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 d575a6e738ef567b05d80096f41c383e264bd8dc
Author: Raúl Marín <git at rmr.ninja>
Date: Mon Oct 5 18:33:22 2020 +0200
Adapt image generator to the changes in the library
References #4672
diff --git a/doc/html/image_src/generator.c b/doc/html/image_src/generator.c
index 43cd0fc..b9eb574 100644
--- a/doc/html/image_src/generator.c
+++ b/doc/html/image_src/generator.c
@@ -78,8 +78,8 @@ pointarrayToString(char *output, POINTARRAY *pa)
POINT2D pt;
getPoint2d_p(pa, i, &pt);
- lwprint_double(pt.x, 10, x, OUT_DOUBLE_BUFFER_SIZE);
- lwprint_double(pt.y, 10, y, OUT_DOUBLE_BUFFER_SIZE);
+ lwprint_double(pt.x, 10, x);
+ lwprint_double(pt.y, 10, y);
if ( i ) ptr += sprintf(ptr, " ");
ptr += sprintf(ptr, "%s,%s", x, y);
@@ -111,9 +111,9 @@ drawPoint(char *output, LWPOINT *lwp, LAYERSTYLE *styles)
LWDEBUGF(4, "%s", "drawPoint called");
LWDEBUGF( 4, "point = %s", lwgeom_to_ewkt((LWGEOM*)lwp) );
- lwprint_double(p.x, 10, x, OUT_DOUBLE_BUFFER_SIZE);
- lwprint_double(p.y, 10, y1, OUT_DOUBLE_BUFFER_SIZE);
- lwprint_double(p.y + styles->pointSize, 10, y2, OUT_DOUBLE_BUFFER_SIZE);
+ lwprint_double(p.x, 10, x);
+ lwprint_double(p.y, 10, y1);
+ lwprint_double(p.y + styles->pointSize, 10, y2);
ptr += sprintf(ptr, "-fill %s -strokewidth 0 ", styles->pointColor);
ptr += sprintf(ptr, "-draw \"circle %s,%s %s,%s", x, y1, x, y2);
-----------------------------------------------------------------------
Summary of changes:
doc/html/image_src/generator.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list