<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
That is correct. On Win7 I just zoomed in or out <br>
after the file was revised and it updated to the <br>
new geoj immediately. I did not try F5, but that <br>
should work also.<br>
<br>
I am now on Linux Mint. Let me know if you want<br>
me to check it on this system.<br>
<br>
<br>
Mike<br>
<br>
<br>
<div class="moz-cite-prefix">On 11/22/19 2:00 PM,
<a class="moz-txt-link-abbreviated" href="mailto:qgis-user-request@lists.osgeo.org">qgis-user-request@lists.osgeo.org</a> wrote:<br>
</div>
<blockquote type="cite"
cite="mid:mailman.51.1574452802.3861.qgis-user@lists.osgeo.org">
<pre class="moz-quote-pre" wrap="">Date: Fri, 22 Nov 2019 14:38:33 +0100
From: Richard Duivenvoorde <a class="moz-txt-link-rfc2396E" href="mailto:rdmailings@duif.net" moz-do-not-send="true"><rdmailings@duif.net></a>
To: Olivier Dalang <a class="moz-txt-link-rfc2396E" href="mailto:olivier.dalang@gmail.com" moz-do-not-send="true"><olivier.dalang@gmail.com></a>, qgis-user
<a class="moz-txt-link-rfc2396E" href="mailto:qgis-user@lists.osgeo.org" moz-do-not-send="true"><qgis-user@lists.osgeo.org></a>
Subject: Re: [Qgis-user] Automatically force reload layer from source
(geojson)
Hi Olivier,
Does F5 (refresh, from menu 'View/Refresh') not work?
I thought that when I had an (live changing) online geojson source, (and
added as url), I could easily 'reload' fresh data via F5
Not working for you?
Regards,
Richard Duivenvoorde
On 22/11/2019 14.12, Olivier Dalang wrote:
</pre>
<blockquote type="cite" style="color: #003300;">
<pre class="moz-quote-pre" wrap="">Dear list,
Currently, when I load a geojson into QGIS, and modify the geojson file
using an other software, the change isn't reflected in QGIS. The only
way to reflect the change is to re-add the layer, or to run
`iface.activeLayer().dataProvider().forceReload()` in the python console.
I see could find neither a button or menu to trigger a reload manually,
nor the option to do it automatically, nor a way to disable caching of
such layers (which anyway would be suitable for very small layers only).
Ideally, I was looking for an option like the "refresh layer at
interval" options from the layer properties>rendering dialog (that
option seems to just re-render the file, without reloading it, so that
it doesn't work for my purpose).
Thanks !
Olivier</pre>
</blockquote>
</blockquote>
<br>
</body>
</html>