<div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
NULL is for "unknown", while what you're after is an EMPTY<br>
How about seeing if ST_Union(geom) can return an EMPTY when passed<br>
nothing ?<br></blockquote><div><br>For EMPTY that is made from ST_Union of zero rows, you don't have a SRID. </div><div>You can in theory allow operations between an empty of different SRID, but you cannot store it a column that has a SRID. </div><div><br></div><div>I think both proposals are good in terms of user experience, but as long as SRID is part of geometry body, but not header, your does not seem simple to implement.</div></div></div>