Opened 5 years ago
Closed 5 years ago
#4494 closed defect (fixed)
Incorrect geometry bbox returned from ST_Simplify
Reported by: | Algunenano | Owned by: | Algunenano |
---|---|---|---|
Priority: | high | Milestone: | PostGIS 2.3.11 |
Component: | postgis | Version: | master |
Keywords: | Cc: |
Description
Same as #4493. The bbox isn't being updated properly here either.
Example:
# WITH geom AS ( SELECT ST_Simplify('POLYGON((0 0, 10 0, 10 10, 10.6 10, 10.5 10.5, 10 10, 0 10, 0 0))', 1) as g ) Select ST_AsText(g) as geometry, postgis_getbbox(g) AS box from geom; geometry | box ----------------------------------------+-------------------------------- POLYGON((0 0,10 0,10.5 10.5,0 10,0 0)) | BOX(0 0,10.6000003814697 10.5) (1 row)
Change History (7)
comment:1 by , 5 years ago
comment:6 by , 5 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
2.3 and 2.4 don't have lwgeom_refresh_bbox
, so the patch breaks the build
Note:
See TracTickets
for help on using tickets.
PR in https://github.com/postgis/postgis/pull/470