<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="DejaVu Sans">Ci siamo passati anche noi, ma per fortuna ci
siamo accorti della cosa durante il backup giornaliero e abbiamo dovuto
sistemare solo una decina di geometrie.<br>
<br>
Dopo aver sistemato le geometrie, ti consiglio di applicare questa
regola <b>isvalid(the_geom)</b> con constraint true in modo tale che
le geometrie corrotte non possano essere salvate.</font><font
 face="DejaVu Sans"><br>
<br>
Pietro d'Orio<br>
<br>
<br>
</font>Luca Mandolesi ha scritto:
<blockquote
 cite="mid:AANLkTinYty8eAMVjzeststeAUZRo9zQq79_brdem-Q7T@mail.gmail.com"
 type="cite">Che bello....sono pi&ugrave; di mille.....
  <div><br>
  </div>
  <div>Vediamo un po'. Cmq &egrave; un bel problema, che tu possa disegnarle
errate, e poi nn puoi pi&ugrave; fare un back up...<br>
  <br>
  <div class="gmail_quote">2010/9/30 Pietro d'Orio <span dir="ltr">&lt;<a
 moz-do-not-send="true" href="mailto:pietro.dorio@r3-gis.com">pietro.dorio@r3-gis.com</a>&gt;</span><br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
    <div bgcolor="#ffffff" text="#000000">
    <font face="DejaVu Sans">Non avrai modo di esportare questi
poligoni
dalla banca dati finch&egrave; non avrai corretto i problemi di self
intersection</font><br>
    <font face="DejaVu Sans"><br>
L'unico modo &egrave; caricare i dati con un desktop gis ed entrare in editing
direttamente sulla banca dati, coreggendo a mano le geometrie corrotte.<br>
    <br>
    <br>
    <br>
    </font>
    <div>
    <div>
    <table style="display: block;" align="left" border="0"
 cellpadding="0" cellspacing="0" width="100%">
      <tbody>
        <tr>
          <td colspan="2"> <font
 face="DejaVu Sans,Verdana,Arial,Helvetica,sans-serif" size="2"> <strong>Dr.
Pietro d'Orio</strong><br>
          <strong><font color="#ffa64c">R3 </font><font color="#9c9c9c">GIS</font></strong>
Srl - GmbH<br>
Via Johann Kravogl-Str. 2<br>
I-39012 Meran/Merano (BZ)<br>
web: <a moz-do-not-send="true" href="http://www.r3-gis.com/"
 target="_blank">www.r3-gis.com</a><br>
Email: <a moz-do-not-send="true" href="mailto:pietro.dorio@r3-gis.com"
 target="_blank">pietro.dorio@r3-gis.com</a><br>
Tel. : +39 0473 494949<br>
Fax : +39 0473 069902<br>
          </font></td>
        </tr>
        <tr>
          <td colspan="2"> <font color="#888888"
 face="DejaVu Sans,Verdana,Arial,Helvetica,sans-serif" size="1"><br>
          <strong>ATTENZIONE!</strong> Le informazioni contenute nella
presente e-mail e nei documenti eventualmente allegati sono
confidenziali. La loro diffusione, distribuzione e/o riproduzione da
parte di terzi, senza autorizzazione del mittente &egrave; vietata e pu&ograve;
violare il D. Lgs. 196/2003. In caso di ricezione per errore, Vogliate
immediatamente informare il mittente del messaggio e distruggere la
e-mail.<br>
          <br>
          <strong>ACHTUNG!</strong> Die in dieser Nachricht oder in den
beigelegten Dokumenten beinhalteten Informationen sind streng
vertraulich. Ihre Verbreitung und/oder ihre Wiedergabe durch Dritte ist
ohne Erlaubnis des Absenders verboten und verst&ouml;&szlig;t gegen das
Legislativdekret 196/2003. Sollten Sie diese Mitteilung
irrt&uuml;mlicherweise erhalten haben, bitten wir Sie uns umgehend zu
informieren und anschlie&szlig;end die Mitteilung zu vernichten.<br>
          <br>
          <strong>WARNING!</strong> This e-mail may contain
confidential
and/or privileged information. If you are not the intended recipient
(or have received this e-mail in error) please notify the sender
immediately and destroy this e-mail. Any unauthorised copying,
disclousure or distribution of the material in this e-mail is strictly
forbidden and could be against the law (D. Lgs. 196/2003)<br>
          <br>
          <br>
          <br>
          <br>
          <br>
          </font></td>
        </tr>
      </tbody>
    </table>
    </div>
    </div>
    <br>
    <br>
Luca Mandolesi ha scritto:
    <blockquote type="cite">
      <div>
      <div class="h5">La maggior parte degli errori che mi ritorna la
query
sulla validit&agrave; mi dice:
      <div><br>
      </div>
      <div>
      <p
 style="margin: 0px; font-family: Lucida Grande; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;">NOTICE:&nbsp;
Self-intersection at or near point e bla bla bla</p>
      <p
 style="margin: 0px; font-family: Lucida Grande; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;"><br>
      </p>
      <p
 style="margin: 0px; font-family: Lucida Grande; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;">quindi
facendo un bel</p>
      <p
 style="margin: 0px; font-family: Lucida Grande; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;"><br>
      </p>
      <p
 style="margin: 0px; font-family: Lucida Grande; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;">select
* from pyunitastratigrafiche where ST_IsValid(the_geom)=false</p>
      <p
 style="margin: 0px; font-family: Lucida Grande; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;"><br>
      </p>
      <p
 style="margin: 0px; font-family: Lucida Grande; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;">Trovo
le geometrie errate.</p>
      <p
 style="margin: 0px; font-family: Lucida Grande; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;"><br>
      </p>
      <p
 style="margin: 0px; font-family: Lucida Grande; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;">A
questo punto qual'&egrave; la strada migliore per correggere gli errori?</p>
      <p
 style="margin: 0px; font-family: Lucida Grande; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;">Le
devo riguardare una a una, per trovare tipo nodi sovrapposti,
intersezioni su se stesso, ecc?</p>
      <br>
      </div>
      </div>
      </div>
      <pre><hr size="4" width="90%"><div class="im">
_______________________________________________
Iscriviti all'associazione GFOSS.it: <a moz-do-not-send="true"
 href="http://www.gfoss.it/drupal/iscrizione" target="_blank">http://www.gfoss.it/drupal/iscrizione</a>
<a moz-do-not-send="true" href="mailto:Gfoss@lists.gfoss.it"
 target="_blank">Gfoss@lists.gfoss.it</a>
<a moz-do-not-send="true"
 href="http://lists.gfoss.it/cgi-bin/mailman/listinfo/gfoss"
 target="_blank">http://lists.gfoss.it/cgi-bin/mailman/listinfo/gfoss</a>
Questa e' una lista di discussione pubblica aperta a tutti.
I messaggi di questa lista non rispecchiano necessariamente
le posizioni dell'Associazione GFOSS.it.
474 iscritti al 18.9.2010</div></pre>
    </blockquote>
    </div>
  </blockquote>
  </div>
  <br>
  </div>
</blockquote>
</body>
</html>