[postgis-tickets] [PostGIS] #4495: Incorrect geometry bbox returned from ST_SnapToGrid
PostGIS
trac at osgeo.org
Thu Aug 29 02:49:55 PDT 2019
#4495: Incorrect geometry bbox returned from ST_SnapToGrid
------------------------+----------------------------
Reporter: Algunenano | Owner: Algunenano
Type: defect | Status: assigned
Priority: high | Milestone: PostGIS 2.3.11
Component: postgis | Version: trunk
Keywords: |
------------------------+----------------------------
Following the #4493 and #4494 drill:
{{{
WITH geom AS
(
SELECT ST_SnapToGrid('POLYGON((0 0, 10 0, 10 10, 10.6 10, 10.5 10.5,
10 10, 0 10, 0 0))', 10) as g
)
Select ST_AsText(g) as geometry, postgis_getbbox(g) AS box from geom;
geometry | box
------------------------------------+--------------------------------
POLYGON((0 0,10 0,10 10,0 10,0 0)) | BOX(0 0,10.6000003814697 10.5)
(1 row)
}}}
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4495>
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