<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:31, Andrea Peri wrote:
<blockquote
cite="mid:CABqTJk9NDZxmQ0JpKBhKYFS5rd0=OO+cW-NSNq4-A8OxYVdSkQ@mail.gmail.com"
type="cite">
<pre>>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.
>After that one can insert again the whole modified geometry.
>Dont know if I could explain myself.
Sorry, but I'm not sure to understand
</pre>
So I try to do an example.<br>
Suppose to have this topology and every topogeometry is coincident
with a single face<br>
<br>
+----e1-------+----e2-------+----e3-------+<br>
| | | |<br>
| | | |<br>
| F1 | F2 | F3 |<br>
e13 e14 e15 e16<br>
| | | |<br>
| | | |<br>
+-----e4------+----e5-------+-----e6------+<br>
| | | |<br>
| | | |<br>
| F4 | F5 | F6 |<br>
e17 e18 e19 e20<br>
| | | |<br>
| | | |<br>
+-----e7------+-----e8------+-----e9------+<br>
| | | |<br>
| | | |<br>
| F9 | F8 | F7 |<br>
e21 e22 e23 e24<br>
| | | |<br>
| | | |<br>
+-----e10-----+-----e11-----+-----e12-----+<br>
<br>
topogeometry T1 = face F1<br>
T2 = F2 <br>
and so on..<br>
<br>
If I suppose to whan remove the edge e19.<br>
That edge I plan to remove is boundary between the F5 and F6 and
so the edge e19 is boundary on<br>
Topogeometry T5 and topogeometry T6.<br>
<br>
You suppose to remove temporary the topogeometry T5 and T6 right ?<br>
After this use the ST_RemEdgeModFace to remove the edge "e19" and
after this reapply the two topogeometry<br>
T5 and T6 using the totopogeo ?<br>
I fear that the totopogeom will re.create the edge e19 calling it
"e25" :(<br>
</blockquote>
If some edge change the id this is no problem and then you can
insert a T5 or T6 topogeometries with totopogeom that are different
from the original ones and totopogeom will recreate the primitives.
Then the user does not have to know about primitive commands as:
ST_RemEdgeModFAce, etc.<br>
<br>
Dont take my opinion if a so serious way because Im just starting
with persistent topology though.<br>
<br>
<br>
<blockquote
cite="mid:CABqTJk9NDZxmQ0JpKBhKYFS5rd0=OO+cW-NSNq4-A8OxYVdSkQ@mail.gmail.com"
type="cite"><br>
<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>