<div dir="auto"><div><div class="gmail_quote gmail_quote_container"><div dir="ltr">Hi all,<div><br></div><div>I was unsure how best to ask this question. If this is the wrong place I'd appreciate being pointed in the right direction. </div><div><br></div><div>When trying to add support to Django's GeoDjango for PostGIS 3.5 and GEOS 3.13 there is one test failure. I managed to summarise it to this example in sql. I'm not an SQL expert, so I used Claude.ai to help me write this.</div><div><br></div><div>Some of the values being input are quite long, so here's a gist:</div><div><br></div><div><a href="https://gist.github.com/smithdc1/e8429f70b74bc97cd2a0a3a6193d5949" target="_blank" rel="noreferrer">https://gist.github.com/smithdc1/e8429f70b74bc97cd2a0a3a6193d5949</a></div><div><br></div><div>The first part is set up, which creates two tables and adds some data. The two SELECT statements at the end show the issue. `ST_Relate()`, when a pattern is provided, seems to only work for the first result. </div><div dir="auto"><br></div><div dir="auto">The first query returns `False` for Lawrence being within Kansas, but is `True` (the correct result) if it is the only row the function is applied to. `True` is also returned if Lawrence is the first row, rather than the second, in the table. </div><div><br></div><div>I was wondering if this change in behaviour in PostGIS 3.5 / GEOS 3.13 is expected?</div><div><br></div><div>Thanks</div><div>David</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div>
</div></div></div>