<div dir="ltr">Hah !! Indeed ! F5 works as you say... No idea how I missed this !<div><br></div><div>Thanks !! :-)</div><div><br></div><div>However, geojsons don't update here (win 10) without F5, even when panning. It would be nice to be able to disable cache completely per layer, and/or allow to have "refresh layer at interval" also reload from source. What do you think? Should I open a feature request ?</div><div><br></div><div>Cheers,</div><div><br></div><div>Olivier</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 22 Nov 2019 at 23:32, Mike Flannigan <<a href="mailto:mikeflan@att.net" target="_blank">mikeflan@att.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<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>On 11/22/19 2:00 PM,
<a href="mailto:qgis-user-request@lists.osgeo.org" target="_blank">qgis-user-request@lists.osgeo.org</a> wrote:<br>
</div>
<blockquote type="cite">
<pre>Date: Fri, 22 Nov 2019 14:38:33 +0100
From: Richard Duivenvoorde <a href="mailto:rdmailings@duif.net" target="_blank"><rdmailings@duif.net></a>
To: Olivier Dalang <a href="mailto:olivier.dalang@gmail.com" target="_blank"><olivier.dalang@gmail.com></a>, qgis-user
<a href="mailto:qgis-user@lists.osgeo.org" target="_blank"><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:rgb(0,51,0)">
<pre>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>
</div>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></blockquote></div>