<div dir="ltr">Anch'io un problema analogo l'ho risolto così</div><div class="gmail_extra"><br><div class="gmail_quote">Il giorno 9 febbraio 2018 07:49, Ribecai <span dir="ltr"><<a href="mailto:michele.ribecai@cbtoscananord.it" target="_blank">michele.ribecai@cbtoscananord.it</a>></span> ha scritto:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    Ciao,<br>
    non so se ci sono modi più eleganti comunque tempo fa io ho risolto
    creando un nuovo campo (es. key) che fosse l'unione del comune, del
    foglio e della particella sia nello shape sia nel csv, esempio:<br>
    <br>
    coumune    foglio    particella    key<br>
    Lucca            36            55            Lucca3655<br>
    <br>
    Con questo nuovo campo (univoco) ho fatto poi il join su QGIS.<br>
    <br>
    Ciao<br>
    Michele<span class=""><br>
    <br>
    <br>
    <br>
    <br>
    <div class="m_2510704538233910271moz-cite-prefix">Il 08/02/2018 14:48, Alessio Puccini ha
      scritto:<br>
    </div>
    </span><blockquote type="cite"><div><div class="h5">
      <div dir="ltr">
        <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Ciao.</span>
        <div>Devo collegare uno shape ad un csv. Lo shape è formato dai
          campi comune, foglio, particella. La tabella .csv oltre ai
          campi dello shape per ogni particella ha più attributi.<br>
        </div>
        <div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">
            <div class="m_2510704538233910271gmail-_li" id="m_2510704538233910271gmail-u_0_l">
              <div class="m_2510704538233910271gmail-uiContextualLayerParent" id="m_2510704538233910271gmail-globalContainer">
                <div class="m_2510704538233910271gmail-fb_content m_2510704538233910271gmail-clearfix" id="m_2510704538233910271gmail-content">
                  <div class="m_2510704538233910271gmail-_2pie">
                    <div class="m_2510704538233910271gmail-clearfix" id="m_2510704538233910271gmail-mainContainer">
                      <div class="m_2510704538233910271gmail-_5r-_ m_2510704538233910271gmail-groupJumpLayout m_2510704538233910271gmail-groupLitestandClassicJumpLayout m_2510704538233910271gmail-homeWiderContent m_2510704538233910271gmail-homeFixedLayout m_2510704538233910271gmail-groupJumpLayoutCoverNewClip m_2510704538233910271gmail-_1qkq m_2510704538233910271gmail-_1ql0" id="m_2510704538233910271gmail-contentCol">
                        <div class="m_2510704538233910271gmail-clearfix" id="m_2510704538233910271gmail-content_container">
                          <div class="m_2510704538233910271gmail-_14i5 m_2510704538233910271gmail-_1qkq m_2510704538233910271gmail-_1qkx" id="m_2510704538233910271gmail-contentArea">
                            <div id="m_2510704538233910271gmail-pagelet_group_">
                              <div id="m_2510704538233910271gmail-u_0_1h">
                                <div id="m_2510704538233910271gmail-pagelet_group_mall">
                                  <div class="m_2510704538233910271gmail-_5pcb" id="m_2510704538233910271gmail-group_mall_62367596384">
                                    <div>
                                      <div class="m_2510704538233910271gmail-_4-u2 m_2510704538233910271gmail-mbm m_2510704538233910271gmail-_4mrt m_2510704538233910271gmail-_5jmm m_2510704538233910271gmail-_5pat m_2510704538233910271gmail-_5v3q m_2510704538233910271gmail-_4-u8" id="m_2510704538233910271gmail-mall_post_10156198253231385:6:0">
                                        <div class="m_2510704538233910271gmail-_3ccb" id="m_2510704538233910271gmail-u_0_1p">
                                          <div class="m_2510704538233910271gmail-_5pcr m_2510704538233910271gmail-userContentWrapper">
                                            <div class="m_2510704538233910271gmail-_1dwg m_2510704538233910271gmail-_1w_m m_2510704538233910271gmail-_q7o">
                                              <div class="m_2510704538233910271gmail-_5pbx m_2510704538233910271gmail-userContent m_2510704538233910271gmail-_22jv m_2510704538233910271gmail-_3576" id="m_2510704538233910271gmail-js_1a">
                                                <p>Come posso in Qgis
                                                  associare al mio shape
                                                  delle particelle gli
                                                  attributi del .csv?
                                                  Devo creare una
                                                  chiave.Ho provato a
                                                  importarlo in QGIS
                                                  tramite aggiungi testo
                                                  delimitato e fare un
                                                  comune join tabellare
                                                  solo che come campo
                                                  comune me ne da uno
                                                  solo.</p>
                                              </div>
                                            </div>
                                          </div>
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
            <img src="cid:part1.D63630C6.E16BFABB@cbtoscananord.it" alt="Immagine incorporata 1" width="292" height="216"><br>
          </span></div>
        <div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br>
          </span></div>
        <div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Dovrei
            creare una chiave altrimenti rischio di fare la join
            sbagliata attribuendo ad esempio alla particella X gli
            attributi (es. uso suolo) di tutte le particelle X dei fogli
            e comuni interessati mentre in realtà la particella X del
            Foglio X e comune X avrà un uso del suolo e la particella X
            del Foglio Y del comune Y avra un altro uso del suolo.</span><br>
        </div>
        <div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br>
          </span></div>
        <div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Spero
            di essere stato chiaro. Qualcuno sa aiutarmi?</span></div>
        <div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br>
          </span></div>
        <div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Alessio</span></div>
        <div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br>
          </span></div>
      </div>
      <div id="m_2510704538233910271DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
        <table style="border-top:1px solid #d3d4de">
          <tbody>
            <tr>
              <td style="width:55px;padding-top:18px"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" alt="" style="width:46px;height:29px" width="46" height="29"></a></td>
              <td style="width:470px;padding-top:17px;color:#41424e;font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px">Mail
                priva di virus. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail" style="color:#4453ea" target="_blank">www.avast.com</a> </td>
            </tr>
          </tbody>
        </table>
      </div>
      <br>
      <fieldset class="m_2510704538233910271mimeAttachmentHeader"></fieldset>
      <br>
      </div></div><span class=""><pre>______________________________<wbr>_________________
QGIS-it-user mailing list
<a class="m_2510704538233910271moz-txt-link-abbreviated" href="mailto:QGIS-it-user@lists.osgeo.org" target="_blank">QGIS-it-user@lists.osgeo.org</a>
<a class="m_2510704538233910271moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-it-user" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-it-user</a>
</pre>
    </span></blockquote><span class="HOEnZb"><font color="#888888">
    <br>
    <div class="m_2510704538233910271moz-signature">-- <br>
      ______________________________<wbr>______ <br>
      <div class="m_2510704538233910271moz-signature"> <font size="1.9" face="Ubuntu" color="darkblue">                   Michele Ribecai   -  
          Pianificatore Territoriale <br>
        </font> <font size="2.5" face="Ubuntu" color="black"> Consorzio
          1 Toscana Nord - Ufficio Progettazione <br>
        </font> <font size="1.6" face="Ubuntu" color="black">  
          centralino 0584 439921 diretti 0584 439921 - 346 0154409</font></div>
    </div>
  </font></span></div>

<br>______________________________<wbr>_________________<br>
QGIS-it-user mailing list<br>
<a href="mailto:QGIS-it-user@lists.osgeo.org">QGIS-it-user@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/qgis-it-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-it-user</a><br>
<br></blockquote></div><br></div>