[postgis-tickets] [PostGIS] #1292: ST_SnapToGrid returns a value out of range

PostGIS trac at osgeo.org
Wed Feb 27 22:47:18 PST 2013


#1292: ST_SnapToGrid returns a value out of range
----------------------------+-----------------------------------------------
  Reporter:  realityexists  |       Owner:  pramsey      
      Type:  patch          |      Status:  reopened     
  Priority:  medium         |   Milestone:  PostGIS 2.1.0
 Component:  postgis        |     Version:  trunk        
Resolution:                 |    Keywords:               
----------------------------+-----------------------------------------------
Changes (by realityexists):

  * status:  closed => reopened
  * resolution:  fixed =>


Comment:

 Sorry, there is still a bug. My patch doesn't handle the case where one
 coordinate needs to be "nudged", but the other needs to be "coerced" (from
 #799). In that case it only did the nudging and returned a geography with
 one coordinate out of range! Second patch attached (with test).

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1292#comment:17>
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