[postgis-users] Contradiction between ST_IsValid() and ST_IsValidReason() ?
Andreas Neumann
andreas at qgis.org
Wed Dec 23 08:26:30 PST 2020
Hi strk,
I just compiled Postgis master and the issue is gone.
It now works consistently between ST_IsValid() and ST_IsValidReason() and
doesn't change over time.
So if these memory issue fixes you made in master could go back into the
production release, it would be great.
Thanks,
Andreas
On Wed, 23 Dec 2020 at 16:56, Sandro Santilli <strk at kbt.io> wrote:
> On Wed, Dec 23, 2020 at 04:51:07PM +0100, Andreas Neumann wrote:
> > Hi Strk and Nicolas,
> >
> > Thanks for your replies.
> >
> > I'm using GEOS 3.9, PostgreSQL 13.1 and Postgis 3.1 (self-compiled).
> >
> > The situation is really weird: if I run the same SQL query a second
> > time, the contradiction is gone and all geometries are labeled as
> > invalid by ST_IsValidReason(). If I run it many times, the results
> > change even more, suddenly, the invalid geometries are not even detected
> > correctly by ST_IsValid().
> >
> > @strk: these invalid geometries contain "NaN" coordinates.
> >
> > I will open an issue and submit the geometries.
>
> Can you first try to rebuild PostGIS from current master branch ?
> I've fixed a memory issue somewhat related to "NaN" coordinates
>
> --strk;
> _______________________________________________
> postgis-users mailing list
> postgis-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/postgis-users
>
--
--
Andreas Neumann
QGIS.ORG board member (treasurer)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20201223/2d631972/attachment.html>
More information about the postgis-users
mailing list