[Qgis-developer] Re: How to refresh QGIS layer (WFS Plugin)

Marco Hugentobler marco.hugentobler at sourcepole.ch
Tue Dec 13 08:52:53 EST 2011


Hi Pulkit

In master branch, there is now the option of keeping the wfs layers in 
cache (default) or reload the data on each pan/zoom 
(https://github.com/qgis/Quantum-GIS/commit/20bc41d2a139d80c9795c34c754068a9d14588ae)

Regards,
Marco

On 13.12.2011 08:17, Pulkit wrote:
> Hi Marco,
>
> Thanks for replying.
> I'm new to QGIS world so can you explain what do you mean by WFS 
> provider. Do I have to modify the WFS plugin code or is it some sort 
> of configuration which needs to be changed?
>
> Regards,
> Pulkit Goel
> ------------------------------------------------------------------------
> *From:* Marco Hugentobler <marco.hugentobler at sourcepole.ch>
> *To:* qgis-developer at lists.osgeo.org
> *Sent:* Tuesday, 13 December 2011 12:24 PM
> *Subject:* Re: [Qgis-developer] Re: How to refresh QGIS layer (WFS Plugin)
>
> Hi Pulkit
>
> You need to modify the WFS provider to refetch the features after 
> changing the view extent ( but it should not be difficult ).
>
> Regards,
> Marco
>
> On 13.12.2011 05:00, Pulkit wrote:
>> Hi,
>>
>> I found a Refresh Menu option in QGIS, but the issue is that it 
>> always send WFS request with same view extent (bounding box) as it 
>> was in initially. Even after changing the view extent to some other 
>> location it never fetches features which were not visible at the time 
>> of loading.
>> Should I modify the WFS plugin to correct this behavior or is there 
>> any other way to solve this issue.
>>
>> Thanks,
>> Pulkit Goel
>> ------------------------------------------------------------------------
>> *From:* Pulkit <pgoeol at yahoo.com> <mailto:pgoeol at yahoo.com>
>> *To:* "qgis-developer at lists.osgeo.org" 
>> <mailto:qgis-developer at lists.osgeo.org> 
>> <qgis-developer at lists.osgeo.org> <mailto:qgis-developer at lists.osgeo.org>
>> *Sent:* Monday, 12 December 2011 9:37 AM
>> *Subject:* How to refresh QGIS layer (WFS Plugin)
>>
>> Hi,
>>
>> I'm a new QGIS user. I'm using WFS plugin to connect my QGIS client 
>> to a WFS server.
>> In WFS plugin there is an option to restrict WFS to fetch features 
>> within the current view extent. I'm using this functionality and it 
>> is working fine, but the problem is that after loading a layer if I 
>> want to pan to different area then it won't fetch the data again. So 
>> I want to know if there is any option to refresh the layer so that it 
>> can fetch the data according to new view extent.
>>
>> Thanks,
>> Pulkit
>>
>>
>>
>>
>> _______________________________________________
>> Qgis-developer mailing list
>> Qgis-developer at lists.osgeo.org  <mailto:Qgis-developer at lists.osgeo.org>
>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
> -- 
> Dr. Marco Hugentobler
> Sourcepole -  Linux&  Open Source Solutions
> Churerstrasse 22, CH-8808 Pfäffikon SZ, Switzerland
> marco.hugentobler at sourcepole.ch  <mailto:marco.hugentobler at sourcepole.ch>  http://www.sourcepole.ch
> Technical Advisor QGIS Project Steering Committee
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org <mailto:Qgis-developer at lists.osgeo.org>
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>


-- 
Dr. Marco Hugentobler
Sourcepole -  Linux&  Open Source Solutions
Churerstrasse 22, CH-8808 Pfäffikon SZ, Switzerland
marco.hugentobler at sourcepole.ch http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20111213/7da4830f/attachment-0001.html


More information about the Qgis-developer mailing list