[postgis-users] Confused about st_snaptogrid and precision.

strk strk at keybit.net
Tue Mar 23 03:16:59 PDT 2010


On Tue, Mar 23, 2010 at 12:01:40AM -0500, Paul moen wrote:

> Can someone help explain this to me?  How do I see what coordinates  
> are actually stored in the geometry?  Is there a way to force the  
> precision of the geometry using a contstraint?

If you snap all geometries to the same grid you should get a
consistent precision all over. The equality tests you report
are only snapping one operator, thus the false return.


--strk;

  ()   Free GIS & Flash consultant/developer
  /\   http://strk.keybit.net/services.html



More information about the postgis-users mailing list