<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Sandro Santilli a écrit :<br>
    </div>
    <blockquote cite="mid:20120927080621.GB3362@gnash" type="cite">
      <pre wrap="">You mean curves ? No, not currently. There's no topological operation
working for curves so it would not work to do that: can't tell if two
edges cross each other until ST_Cross(curve,curve) is implemented.
</pre>
    </blockquote>
    <br>
    With center and radius of curvature you could transform a curve into
    an edge.<br>
    <br>
    <blockquote>
      <pre wrap=""><blockquote type="cite"><pre wrap="">It is slow because it checks for intersections and performs noding for
everything you add. I'm sure it could be made faster given enough time
to carefully profile each use case. </pre></blockquote></pre>
    </blockquote>
    With my datas, I insert 3 000 polygons into a topology in a postgis
    database in 20 ' (estmation not a benchmark). :<br>
    <br>
    wkb parameter is a polygon (bytea)<br>
    <br>
    return_value=SELECT
    topology.TopoGeo_AddPolygon('topo',st_geomfromwkb(:wkb,3942),0);<br>
    <br>
    SELECT CASE : return_value.count<br>
    0 : no face created<br>
    1 : one face created<br>
    >1 : more than one face<br>
    <br>
    1 :<br>
    with IdFA = return_value AS topoelement<br>
     INSERT INTO public.parcelle (,the_topo) VALUES
    (topology.CreateTopoGeom('topo',3,layertopoid,'{{" & idFA &
    ",3}}')) RETURNING idparcelle;<br>
    <br>
    >1:<br>
    Compute Charray as topoelement array with returned values<br>
    INSERT INTO public.parcelle (,the_topo) VALUES
    (topology.CreateTopoGeom('topo',3,layertopoid,'" & ChArray &
    "')) RETURNING idparcelle;<br>
    <br>
    Evry edge, node are created.<br>
    If to polygons overlaps then when creating the first one face is
    added., when creating the second two faces are added AND in the
    topogeom each object pointe on two faces with one how is the
    overlap.<br>
    <br>
    fast and safe.<br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <pre wrap="">
</pre>
    <br>
  </body>
</html>