[postgis-tickets] [PostGIS] #4788: ST_SquareGrid (and others) don't support points on input
PostGIS
trac at osgeo.org
Thu Dec 3 09:37:01 PST 2020
#4788: ST_SquareGrid (and others) don't support points on input
--------------------------+---------------------------
Reporter: tobwen | Owner: pramsey
Type: enhancement | Status: closed
Priority: medium | Milestone: PostGIS 3.1.0
Component: postgis | Version: master
Resolution: wontfix | Keywords:
--------------------------+---------------------------
Changes (by pramsey):
* status: new => closed
* resolution: => wontfix
Comment:
The input geometry is really just a bounds to fill. A point has no area in
its bounds, so the function naturally returns nothing.
{{{
/* quick opt-out if we get nonsensical inputs */
if (size <= 0.0 || gbounds_is_empty ||
bounds_width <= 0.0 || bounds_height <= 0.0)
{
funcctx = SRF_PERCALL_SETUP();
SRF_RETURN_DONE(funcctx);
}
}}}
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4788#comment:3>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list