[postgis-devel] GeoJSON Precision

Bruce Rindahl bruce.rindahl at gmail.com
Tue May 7 13:27:24 PDT 2019


I agree.  Also change st_asSVG default from 15 to 8 as well.

On Tue, May 7, 2019, 1:17 PM Paul Ramsey <pramsey at cleverelephant.ca> wrote:

> This blog post reminded me:
>
>
> https://rapidlasso.com/2019/05/06/how-many-decimal-digits-for-storing-longitude-latitude/
>
> GeoJSON generation uses DBL_DIG as the number of decimal places, which is…
> a lot? 15 or 16 depending on your platform. I wonder if maybe we should
> crank that down to 8 as the default and let people crank it *up* as desired
> rather than emitting nanometer precision and expecting people to crank it
> *down* (they don’t).
>
> Thoughts?
>
> P
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/postgis-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20190507/d77a058b/attachment.html>


More information about the postgis-devel mailing list