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

PostGIS trac at osgeo.org
Tue Jan 31 10:21:28 PST 2012


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

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


Comment:

 OK, going with a user-friendly approach, and when casting to geography am
 pushing points that are oh-so-close-but-not-quite at the boundaries over
 onto the boundaries. At 1e-10 hopefully this won't cause anyone any harm
 but will remove this minor problem. Particularly for snapping using
 tolerances that one would think would divide evenly into the bounds, this
 seems to be working admirable.

 Trunk at r8980

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