<div dir="ltr">Hi All,<div><br></div><div>I was running a query involving ST_Difference between two multipolygon layers, and a while in, it threw this message: </div><div>ERROR: GEOSDifference: TopologyException: side location conflict at 919670.1768945494 140665.82566365649<br></div><div><br></div><div>However, I previously ran ST_MakeValid, and ST_IsValid doesn't report any objects with problems. Is there something I'm missing, or something else I need to check? (Apologies is this is just a naive question - still learning my way around PostGIS).</div><div><br></div><div>And in case it helps, here's my SQL:</div><div> </div><div><div>CREATE TABLE SI_Unclaimed AS</div><div>SELECT gid, COALESCE(ST_Difference(geom_2263, (SELECT ST_Collect(b.geom_2263) </div><div>                                         FROM citywide_basedata.parcels15 b</div><div>                                         WHERE ST_Intersects(a.geom_2263, b.geom_2263)</div><div>                                         )), a.geom_2263)</div><div>FROM citywide_basedata.boroughs_nowater a where boroname like 'Staten Island';</div></div><div><br></div><div>Thanks!</div><div>Mike</div></div>