<div dir="ltr">Hi,<div><br></div><div>Can you share a testcase?</div><div>Are you running PostGIS 2.5+ so ST_Subdivide will try to reuse the original node?</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Nov 26, 2019 at 7:24 PM Eduardo Ramos <<a href="mailto:duda.ramos@gmail.com">duda.ramos@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello all.</div><div><br></div><div>I'm exploring the function ST_Subdivide(with type geometry) and noticed that the nodes that this function creates to divide the original polygon are missing the polygon edges by ~6cm.</div><div><br></div><div>Here is an example:<br><br><div><img src="cid:ii_k3g26mti0" alt="image.png" width="543" height="314"></div><div>This is originating some issues when using the ST_Intersects because the new polygons generated by ST_Subdivide are intersecting polygons that were not being intersected before.</div><div><br></div><div>I guess this must be a matter of numeric precision but I we can't control the precision or the tolerance in either of the two functions (ST_Subdivide and ST_Intersects).</div><div><br></div><div>Is there a way to configure the precision of ST_Subdivide or to play with the ST_Intersects tolerance?</div><div><br></div><div>Any ideas or suggestions?</div><div><br></div><div>Thanks,</div><div>Eduardo<br></div><div><br></div></div></div>
_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@lists.osgeo.org" target="_blank">postgis-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/postgis-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/postgis-users</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div>Darafei Praliaskouski</div><div>Support me: <a href="http://patreon.com/komzpa" target="_blank">http://patreon.com/komzpa</a></div></div></div></div>