[postgis-tickets] [PostGIS] #2611: ST_SnapToGrid doesn't snap

PostGIS trac at osgeo.org
Mon Mar 24 10:09:12 PDT 2014


#2611: ST_SnapToGrid doesn't snap
-------------------------+--------------------------------------------------
  Reporter:  geognu      |       Owner:  pramsey      
      Type:  defect      |      Status:  closed       
  Priority:  high        |   Milestone:  PostGIS 2.1.2
 Component:  postgis     |     Version:  2.1.x        
Resolution:  worksforme  |    Keywords:               
-------------------------+--------------------------------------------------
Changes (by pramsey):

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


Comment:

 I don't know how you're evaluating what "works" or not, but I can snap
 things just fine using 2.1
 {{{
 select
 st_astext(st_startpoint(st_exteriorring(st_geometryn(st_snaptogrid(geom,0.01),1))))
 from fattibilita_poly_01;
 }}}

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