On Mon, Dec 18, 2017 at 07:54:19AM -0800, Paul Ramsey wrote: > EMPTY are capable of carrying SRID around: He means you don't know what SRID to use for the empty, beacuse you didn't see any row... "You" being the aggregate code. Guess the only clean solution is the COALESCE here --strk;