<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Delazj,<br>
    <br>
    Yes - I was assuming that people would use the "Add delimited text
    layer tool". Sorry - I forgot to mention that. It is more flexible
    and easier to use than the "Add vector layer" dialogue.<br>
    <br>
    About CSV, joins and updates: have you checked the cache vs.
    uncached option for your joins?<br>
    <br>
    Andreas<br>
    <br>
    <div class="moz-cite-prefix">On 18.09.2015 11:47, DelazJ wrote:<br>
    </div>
    <blockquote
cite="mid:CAECJsSpi6q3tjEWw=e0pL-6D36ycq-b7oFMnrq9D8GbnF6XB9g@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div>Hi,<br>
            </div>
            Andreas, unless you add the csv file with "Add delimited
            text layer" tool, I'm afraid there's not a "watch file"
            option available.<br>
            <br>
          </div>
          I just add a csv file to a qgis project with "add a vector
          layer" tool. I open the same csv in a text editor and change
          some values. While reopening the csv file attribute table in
          QGIS, values were already uptodate. I've done nothing special.
          So I'm not sure if QGIS requiers a particular action to sync
          data.<br>
        </div>
        <div>But what seems buggy is that even if the csv file attribue
          table is updated in QGIS, if this csv was joined to a
          shapefile, the changes won't be applied in the shapefile's
          attribute table. Can someone confirm?<br>
        </div>
        <div>I can't get changes with the "Refresh" button.<br>
          <br>
        </div>
        Tested with qgis ltr 2.8.3<br>
        <br>
        <div>
          <div>
            <div>
              <div>
                <div>
                  <div>
                    <div class="gmail_extra"><br>
                      <div class="gmail_quote">2015-09-18 10:38
                        GMT+02:00 Andreas Neumann <span dir="ltr"><<a
                            moz-do-not-send="true"
                            href="mailto:a.neumann@carto.net"
                            target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:a.neumann@carto.net">a.neumann@carto.net</a></a>></span>:<br>
                        <blockquote class="gmail_quote" style="margin:0
                          0 0 .8ex;border-left:1px #ccc
                          solid;padding-left:1ex">
                          <div bgcolor="#FFFFFF" text="#000000"> Hi
                            Marco,<br>
                            <br>
                            If you have the "watch file" option of your
                            CSV file active it will reread data  when
                            file content changes and when your redraw
                            your map (either through navigation or
                            redraw button).<br>
                            <br>
                            I guess you could also write a small Python
                            script if you want to automatically trigger
                            an update at a given interval. Maybe there
                            is already a plugin available - I did not
                            look.<br>
                            <br>
                            Andreas
                            <div>
                              <div class="h5"><br>
                                <br>
                                <div>On 18.09.2015 10:15, Dr. Marco
                                  Lechner wrote:<br>
                                </div>
                              </div>
                            </div>
                            <blockquote type="cite">
                              <div>
                                <div class="h5">
                                  <pre>Hi Nicola,

I guess this will only redraw the features in the mapcanvas, but not
necessarily read the datasource file, but I'm not sure about this.

Marco

Am 18.09.2015 um 10:02 schrieb Nicola Poles:
</pre>
                                </div>
                              </div>
                              <blockquote type="cite">
                                <div>
                                  <div class="h5">
                                    <pre>To reload a CSV file you can press the Refresh button on the toolbar or
press the "F5" key

Nicola

On Fri, Sep 18, 2015 at 9:16 AM, Dr. Marco Lechner <<a moz-do-not-send="true" href="mailto:mlechner@bfs.de" target="_blank">mlechner@bfs.de</a>
<a moz-do-not-send="true" href="mailto:mlechner@bfs.de" target="_blank"><mailto:mlechner@bfs.de></a>> wrote:

    Hi,

    how (often) does QGIS read features from a file (like csv or shape -
    differences?)? I realize I do not really know how the datasource - qgis-
    communication goes.

    Imaine you have a csv or shape file that is loaded into QGIS but is
    automatically replaced from time to time (or lets say externally
    edited). Using a database- instead of file-based approach is better for
    sure, but still it is not clear when / how often (on which events) QGIS
    requests features from the datasources.

    As an idea in mind I see, the nice Sync-Plugin
    (<a moz-do-not-send="true" href="https://plugins.qgis.org/plugins/SyncQGISWithDir/" target="_blank">https://plugins.qgis.org/plugins/SyncQGISWithDir/</a>) can monitor folders
    and notify the user if a new layer is available in a folder (well it
    does not take care of a changed layer (new timestamp of file, but adding
    this functionality should not be such a big thing). The user could also
    be notified when a layers file changed.

    But I'm not sure what was the best way to implement the (re)loading of
    an already loaded layer. Do I have to drop the layer and reload it
    (including keeping the style) or is there a more efficient way?

    Marco

    --
    Dr. Marco Lechner
    Bundesamt fuer Strahlenschutz / Federal Office for Radiation Protection
    SW2.1 Koordination Notfallschutzsysteme / Coordination Emergency Systems
    Rosastrasse 9 | D-79098 Freiburg | Germany
    <a moz-do-not-send="true" href="mailto:mlechner@bfs.de" target="_blank">mlechner@bfs.de</a> <a moz-do-not-send="true" href="mailto:mlechner@bfs.de" target="_blank"><mailto:mlechner@bfs.de></a> | <a moz-do-not-send="true" href="tel:%2B49%20%280%293018%20333%206724" value="+4930183336724" target="_blank">+49 (0)3018 333 6724</a>
    <tel:%2B49%20%280%293018%20333%206724> | <a moz-do-not-send="true" href="http://www.bfs.de" target="_blank">www.bfs.de</a> <a moz-do-not-send="true" href="http://www.bfs.de" target="_blank"><http://www.bfs.de></a>

    --
    Hinweis zu Anhängen die auf .p7m/.p7c/.p7s oder .asc/.asc.sig enden:
    Die .p7?- und .asc-Dateien sind ungefährliche Signaturdateien (digitale
    Unterschriften).
    In E-Mail-Clients mit S/MIME Konfiguration (.p7?) oder PGP-Erweiterung
    (.asc) dienen sie zur:
    - - Überprüfung des Absenders
    - - Überprüfung einer evtl. Veränderung des Inhalts während der
    Übermittlung über das Internet
    Die Signaturdateien können ebenso dazu verwendet werden dem Absender
    dieser Signatur eine E-Mail mit verschlüsseltem Inhalt zu senden.

    In E-Mail-Clients ohne S/MIME Konfiguration oder PGP-Erweiterung
    erscheinen die Dateien als Anhang und können ignoriert werden.

    _______________________________________________
    Qgis-user mailing list
    <a moz-do-not-send="true" href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a> <a moz-do-not-send="true" href="mailto:Qgis-user@lists.osgeo.org" target="_blank"><mailto:Qgis-user@lists.osgeo.org></a>
    <a moz-do-not-send="true" href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a>


</pre>
                                    <br>
                                    <fieldset></fieldset>
                                    <br>
                                  </div>
                                </div>
                                <pre><div><div class="h5">_______________________________________________
Qgis-user mailing list
<a moz-do-not-send="true" href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a>
</div></div><a moz-do-not-send="true" href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a></pre>
                              </blockquote>
                            </blockquote>
                            <br>
                          </div>
                          <br>
_______________________________________________<br>
                          Qgis-user mailing list<br>
                          <a moz-do-not-send="true"
                            href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
                          <a moz-do-not-send="true"
                            href="http://lists.osgeo.org/mailman/listinfo/qgis-user"
                            rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
                        </blockquote>
                      </div>
                      <br>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>