<div dir="ltr">Thank you for your answer!<div>This is much clearer now. So, I will continue to live with floating precision operations for the moment.<br></div><div><br></div><div>Best regards,</div><div>man</div></div><br><div class="gmail_quote"><div dir="ltr">Le ven. 6 juil. 2018 à 22:34, Sandro Santilli <<a href="mailto:strk@kbt.io">strk@kbt.io</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri, Jul 06, 2018 at 11:25:16AM +0200, Marc-Antoine Nüssli wrote:<br>
> Hi there,<br>
> <br>
> First, I want to say a big thanks to Sandro Santilli and all people who<br>
> work on the topology features. It looks like it becomes now mature enough<br>
> to be used for production applications and this is really great to manage<br>
> geo-data much more consistently than with simple geometries (especially<br>
> when you deal a lot with territorial partitions like in my case)<br>
<br>
Thanks for the feedback!<br>
<br>
> I have a question regarding the precision value that we have to provide<br>
> when creating a topology. I am not sure to understand its purpose.<br>
> Somehow, I would have expected that it would be used when computing new<br>
> nodes positions, for example resulting from an intersection, but from my<br>
> tests it seems it is not the case (see my example below)<br>
> Do you have some links or other infos that would describe how & when this<br>
> global topology precision parameter is used?<br>
<br>
Using it for nodes position is planned. Doing so will need introduction<br>
of the concept of fixed-precision operations which are still unavailable<br>
in PostGIS. Such operations would first enforce snapping of input<br>
geometries to a fixed-precision grid and then ask GEOS to perform the<br>
operation using that grid.<br>
<br>
Right now PostGIS Topology only uses the "precision" value to snap<br>
incoming lines and vertices to existing nodes and vertices when using<br>
toTopoGeom or the underlying TopoGeo_addPoint, TopoGeo_addLinestring<br>
and TopoGeo_addPolygon and not overriding the global value.<br>
<br>
--strk;<br>
</blockquote></div>