Hi list,<br><br>I would like to use Qgis to dynamically see the data provided by a custom web service. This webservice excepts a &quot;bbox&quot; parameter and sends back a geojson containing features availables for this bounding box.<br>
Using the &quot;protocol&quot; option of &quot;Opening Qgis Vector Layer&quot; dialog, I can pass a complete url, e.g. :<br><a href="http://localhost/index.php?query=getFeature&amp;bbox=2.2175,48.7896,2.4764,48.928">http://localhost/index.php?query=getFeature&amp;bbox=2.2175,48.7896,2.4764,48.928</a><br>
But obviously, Qgis only gets the features contained in the defined bbox. I would like to find a way to &quot;tell&quot; Qgis to dynamically set the bbox parameter on each zoom/pan, etc.<br>Is there a way to do so programatically, such as with python snippet ? I think using a memory layer will be one of the first step, but I have no idea how to go further.<br>
By the way, I do not need a complex feature management, such as feature cache, etc. Refresh the whole layer on zoom/pan (destroy all features and get new ones) will do the job.<br><br><br>Thanks for any hint<br><br>Michael <br>