[postgis-devel] out_wkt.c - precision

Paul Ramsey pramsey at cleverelephant.ca
Thu Feb 25 06:01:45 PST 2010


The thing I like with significant digits is that it is then the same
behaviour as the PgSQL double output, and could be controlled with the
same GUC

http://trac.osgeo.org/postgis/ticket/407

Trimming just the trailing digits is more of a formatting thing. I'd
be interested to hear what others think.

P

On Thu, Feb 25, 2010 at 5:48 AM, Olivier Courtin
<olivier.courtin at oslandia.com> wrote:
> Hi Paul,
>
> In the new out_wkt.c export functions,
> what do you thing about precision handling ?
>
> 1) Keeping it like it is, with significant digit semantic
>
> 2) Having an uniform behavior with others out_*
>     functions (i.e decimal places + switch to scientific
>     notation only for uge datas + trim_trailing_zeros)
>
> --
> Olivier
>
>
>
>
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel
>



More information about the postgis-devel mailing list