[postgis-tickets] [PostGIS] #4495: Incorrect geometry bbox returned from ST_SnapToGrid

PostGIS trac at osgeo.org
Mon Sep 2 04:03:57 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
Resolution:              |   Keywords:
-------------------------+----------------------------

Comment (by Algunenano):

 After testing it, the only affected functions are LWGEOM_snaptogrid and
 LWGEOM_snaptogrid_pointoff, since LWGEOM_SetEffectiveArea and
 LWGEOM_ChaikinSmoothing don't reuse the input and the output doesn't have
 a bbox (so it's calculated with lwgeom_add_bbox).

 I've added tests for all 4 functions and the fix for the 2 affected by the
 issue in https://github.com/postgis/postgis/pull/473

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4495#comment:2>
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