[geos-devel] WKT Precision

Mike Taves mwtoews at gmail.com
Thu Jan 7 16:54:31 PST 2021


On Thu, 7 Jan 2021 at 14:17, Paul Ramsey <pramsey at cleverelephant.ca> wrote:
>
> Because too many choices is the way to be, I pursued bringing the ryu library in for numeric output, the same library that PostgreSQL and PostGIS use, and here's a PR
>
> https://github.com/libgeos/geos/pull/379
>
> Upside is that it's an actual library for this stuff, it's fast, and it's not a string hack. So if we have any concerns about WKT writing performance, this is what we should do. However, it's a whole extra library in our tree, in case we care.
>
> Thoughts?

Fantastic. I was about to suggest ryu too, so thanks for pursuing this
approach. Amazing that float->string conversions is still a lively
comp.sci. development scene, given that ryu is rather new (June 2018).


More information about the geos-devel mailing list