<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 12/04/2012 23:08, Andrea Peri wrote:
    <blockquote
cite="mid:CABqTJk_H1YC84aQLetRCc4eNg_kGrxbe_oyki5ORTsmZXjKP1w@mail.gmail.com"
      type="cite">
      <pre>>I think your questions are related with a previous post today about 
>synchronizing topogeometries.
>
>In fact, for editing topogeometries without using primitive commands I 
>was thinking in:
>
>1.- Delete the topogeometry
>2.- Remove the primitives which depend just on the geometry deleted.
>3.- With totopogeom insert again the whole geometry
>
>I know this procedure is not optimized at all but maybe this way (with a 
>new function which does this work)  one can avoid the complicated task 
>about using primitive editing commands and to edit the relation table 
>manually.
>I have the feeling I not taking into account many things though.
>
>What do you think about this procedure Sandro?
</pre>
      <br>
      Hi, I guess is not sufficient delete the single topogeometry. An
      edge could be linked to one or two faces,<br>
      and also the same edge could be linked to many topogeometry.<br>
      Infact the topogeometry not necessary need to be mutually
      exclusive to each-other ans instead are the topology edge and
      faces.<br>
      <br>
      So I could have more than one topogeometry on a single edge.<br>
      And I should remove also every topogeometry that is linked to the
      edge I would remove.<br>
    </blockquote>
    Thats why I said to remove just the primitives which depend on the
    geometry deleted (and not from any other one). This way one can
    clean the primitives which are not shared by any other geometry. Its
    like the garbage collector Sandro said before.<br>
    After that one can insert again the whole modified geometry.<br>
    Dont know if I could explain myself.<br>
    <br>
    <blockquote
cite="mid:CABqTJk_H1YC84aQLetRCc4eNg_kGrxbe_oyki5ORTsmZXjKP1w@mail.gmail.com"
      type="cite"><br>
      So I could have, for example:<br>
      on this sample:<br>
      <br>
      <pre>      ----------------
    /          |       \  (universe Face)
    |          |       |
    |      F1  | F2    |
    |          |       |
    |          e1      e2
    |          |       |
     \----------------/
    /                 \
    |                 |
    |        F3       |
    |                 |
    |                 |
    |                 |
     \---------------/

A topogeometry T1 = F1 + F3
another topogeometry T2 = F2 + F3
and another again T3 = F2
and again a topogeometry T4 = F1

so if I plan to remove the edge "e1" I should save all four topogeometry and re-apply them after.

</pre>
      <br>
      -- <br>
      -----------------<br>
      Andrea Peri<br>
      . . . . . . . . . <br>
      qwerty àèìòù<br>
      -----------------<br>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
postgis-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a>
<a class="moz-txt-link-freetext" href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>