<div dir="ltr">There's another thing with ST_Intersection/ST_Difference: sometimes you have to make ST_Difference(geom, (select ST_Union(..,) where ...)) while second operand evaluates to NULL (you shouldn't crop geometry). Currently that leads to ST_Difference pushing out NULL. for my use case, that's not desired semantics - can it be changed?<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-09-01 4:16 GMT+03:00 Paragon Corporation <span dir="ltr"><<a href="mailto:lr@pcorp.us" target="_blank">lr@pcorp.us</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I wasn't sure if we just thought there wasn't much utility in it or if there<br>
was a technical obstacle.<br>
<br>
I would think that would be easier to build than the other aggregates since<br>
as you add more geometries it shrinks and the current aggregate state is<br>
always the result of the previous state plus new geometry (so no need for an<br>
accumulation function or a final state function) and if you ever end up with<br>
a geometry collection, you short-circuit out.<br>
<br>
Thanks,<br>
Regina<br>
<br>
<br>
_______________________________________________<br>
postgis-devel mailing list<br>
<a href="mailto:postgis-devel@lists.osgeo.org">postgis-devel@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-devel" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-devel</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Darafei "Komяpa" Praliaskouski<br>OSM BY Team - <a href="http://openstreetmap.by/" target="_blank">http://openstreetmap.by/</a><br><a href="mailto:xmpp%3Ame@komzpa.net" target="_blank">xmpp:me@komzpa.net</a> mailto:<a href="mailto:me@komzpa.net" target="_blank">me@komzpa.net</a><br>
</div>