[postgis-devel] Validity flag
remi.cura at gmail.com
Mon Feb 29 03:40:55 PST 2016
would it also be possible to have function to set the flag.
Geometry may come from a trusted workflow outside of postgis.
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.
> postgis-devel mailing list
> postgis-devel at lists.osgeo.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the postgis-devel