[postgis-devel] Inconsistencies in text output

Paul Ramsey pramsey at cleverelephant.ca
Fri Apr 17 09:19:57 PDT 2020



> On Apr 17, 2020, at 9:15 AM, rmrodriguez at carto.com wrote:
> 
> That wasn't a good example. I'll take an example from the changes in the PR:
> - Before: POINT(128.10466 130.94133)
> - After: POINT(128.104659999999996 130.941329999999994)
> 
> Since ST_AsText requests 15 decimal digits you now get 10 extra chars
> for the same number.
> 
> A similar example:
> `1656318.45` -> `1656318.449999999953434` where you would now get an
> extra 13 decimal digits.

This seems like a change that most users would regard as a net reduction in functionality. 

What's the win we are getting that makes this worthwhile?

P


More information about the postgis-devel mailing list