<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Jul 18, 2016 at 6:46 AM, Stephen Woodbridge <span dir="ltr"><<a href="mailto:woodbri@swoodbridge.com" target="_blank">woodbri@swoodbridge.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 7/18/2016 9:40 AM, Paul Ramsey wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I found this page by accident in the SQL/MM doco this morning and it<br>
tickled my interest. Basically it describes when one should allow<br>
equivalence between types (I guess if one has modelled spatial in the DB<br>
as 21 different types, it strictly is "casting", but nobody has done that).<br>
<br>
What I find pleasant is it's an official page that says "hey, don't be<br>
anal retentive losers about allowing single-ton multi-geometries to pass<br>
as singletons", which would be a nice improvement. In general, having a<br>
bit more knowledge of the geometry class structure would probably make<br>
things nicer (so the "type" restriction could be smarter and a polygon<br>
could be inserted into a multi-polygon column).<br>
<br>
Anyways, just random thoughts for the moment.<br>
</blockquote>
<br></span>
And things like st_startpoint() and linear refering functions, etc would/should behave nicely when passed a singleton multilinestring?<br></blockquote><div><br></div><div>yes, exactly, it's a nit which has been bugging me for a while, but it was there "to be correct" and since there's this nice alternative reference of correctness, I thought I'd bring it up</div><div><br></div><div>P</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
---<br>
This email has been checked for viruses by Avast antivirus software.<br>
<a href="https://www.avast.com/antivirus" rel="noreferrer" target="_blank">https://www.avast.com/antivirus</a><br>
<br>
_______________________________________________<br>
postgis-devel mailing list<br>
<a href="mailto:postgis-devel@lists.osgeo.org" target="_blank">postgis-devel@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/postgis-devel" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/postgis-devel</a></blockquote></div><br></div></div>