[postgis-tickets] [PostGIS] #4494: Incorrect geometry bbox returned from ST_Simplify

PostGIS trac at osgeo.org
Thu Aug 29 02:42:27 PDT 2019


#4494: Incorrect geometry bbox returned from ST_Simplify
------------------------+----------------------------
 Reporter:  Algunenano  |      Owner:  Algunenano
     Type:  defect      |     Status:  assigned
 Priority:  high        |  Milestone:  PostGIS 2.3.11
Component:  postgis     |    Version:  trunk
 Keywords:              |
------------------------+----------------------------
 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)

 }}}

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4494>
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