[postgis-devel] WKT Output Change

Sandro Santilli strk at kbt.io
Mon Apr 11 14:04:30 PDT 2022


On Mon, Apr 11, 2022 at 08:59:52AM -0700, Paul Ramsey wrote:
> https://github.com/postgis/postgis/pull/682/
> 
> Just a point of discussion, this PR to change the default MULTIPOINT output. 
> - Pro: it's correct, the ISO spec mandates extra parens, so MULTIPOINT((1 1), (2 2), (3 3))
> - Also: It's not new, this was true of the ISO spec from the start, I just mis-read it
> - Con: It's a change, to a core output format, after a good decade
> 
> Some side notes
> - The input parser already accepts the correct ISO form, so this won't break *our* consumption or ability to round-trip WKT
> 
> I'm inclined to accept, and make sure we have good change / news notes about it, as it's potentially breaking.

I'd accept too, and it's to be noted as "Breaking Change" in the NEWS.

--strk;


More information about the postgis-devel mailing list