[postgis-tickets] [SCM] PostGIS branch master updated. 3.1.0alpha3-22-gd1a410a
git at osgeo.org
git at osgeo.org
Thu Dec 3 14:10:31 PST 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 d1a410ac26b96d325aebc5915fd5a591da5ba934 (commit)
from 3645776cfe3d75f6f4f4b9c5492b634fd8925062 (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 d1a410ac26b96d325aebc5915fd5a591da5ba934
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date: Thu Dec 3 14:06:07 2020 -0800
Allows points to drive the generation of a single grid or square, closes #4788
diff --git a/postgis/lwgeom_generate_grid.c b/postgis/lwgeom_generate_grid.c
index 4cd2409..b77b0c8 100755
--- a/postgis/lwgeom_generate_grid.c
+++ b/postgis/lwgeom_generate_grid.c
@@ -262,8 +262,7 @@ Datum ST_ShapeGrid(PG_FUNCTION_ARGS)
bounds_height = bounds.ymax - bounds.ymin;
/* quick opt-out if we get nonsensical inputs */
- if (size <= 0.0 || gbounds_is_empty ||
- bounds_width <= 0.0 || bounds_height <= 0.0)
+ if (size <= 0.0 || gbounds_is_empty)
{
funcctx = SRF_PERCALL_SETUP();
SRF_RETURN_DONE(funcctx);
-----------------------------------------------------------------------
Summary of changes:
postgis/lwgeom_generate_grid.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list