[postgis-devel] 1.3.4rc1

Courtin Olivier olivier.courtin at camptocamp.com
Tue Oct 28 01:39:01 PDT 2008


On Oct 27, 2008, at 12:45 PM, Mark Cave-Ayland wrote:

Hi,

> The issue is that by using decimal places rather than significant  
> digits then you have no
> guarantee of the accuracy of your results. If you need to round to  
> decimal places then you
> should be doing this on the client IMO.

Well the point (to my opinion) is to be able to send to client only  
the amount of data really
needed.
Generalisation could be a way (ST_SImplify, ST_SnapToGrid), and  
decimal precision
an another (and sometime both of them)

So i keep thinking that's the most usefull way to handle that for  
PostGIS users is a decimal
precision approach (%*.f) rather than a significant digits (%*.g)

> I do agree that it would be nice to unify the behaviour across all  
> of the functions though.


Me too :)

--
Olivier



More information about the postgis-devel mailing list