<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace">Hey,<br></div><div class="gmail_default" style="font-family:monospace,monospace">would it also be possible to have function to set the flag.<br></div><div class="gmail_default" style="font-family:monospace,monospace">Geometry may come from a trusted workflow outside of postgis.<br><br></div><div class="gmail_default" style="font-family:monospace,monospace">Cheers,<br></div><div class="gmail_default" style="font-family:monospace,monospace">RĂ©mi-C<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-02-29 12:34 GMT+01:00 Sandro Santilli <span dir="ltr"><<a href="mailto:strk@keybit.net" target="_blank">strk@keybit.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Mon, Feb 29, 2016 at 11:49:34AM +0100, Sandro Santilli wrote:<br>
<br>
> I like the approach of the validity flag, as long as we have<br>
> space for it. The ST_MakeValid could probably also set it,<br>
> for example.<br>
<br>
</span>I've been also thinking that a single bit would not be enough<br>
to store the validity as the expensive operation we're trying<br>
to avoid is _checking_ for validity, so we want to encode<br>
whether or not the geometry was _checked_ in addition to<br>
whether it was found _valid_ or _invalid_, so we'd need<br>
2 bits.<br>
<div class="HOEnZb"><div class="h5"><br>
--strk;<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/mailman/listinfo/postgis-devel" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/postgis-devel</a></div></div></blockquote></div><br></div>