[postgis-devel] Validity flag

Rémi Cura remi.cura at gmail.com
Mon Feb 29 03:40:55 PST 2016


Hey,
would it also be possible to have function to set the flag.
Geometry may come from a trusted workflow outside of postgis.

Cheers,
Rémi-C

2016-02-29 12:34 GMT+01:00 Sandro Santilli <strk at keybit.net>:

> On Mon, Feb 29, 2016 at 11:49:34AM +0100, Sandro Santilli wrote:
>
> > I like the approach of the validity flag, as long as we have
> > space for it. The ST_MakeValid could probably also set it,
> > for example.
>
> I've been also thinking that a single bit would not be enough
> to store the validity as the expensive operation we're trying
> to avoid is _checking_ for validity, so we want to encode
> whether or not the geometry was _checked_ in addition to
> whether it was found _valid_ or _invalid_, so we'd need
> 2 bits.
>
> --strk;
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/postgis-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20160229/b72b7fa5/attachment.html>


More information about the postgis-devel mailing list