Hi list, I would like to use Qgis to dynamically see the data provided by a custom web service. This webservice excepts a "bbox" parameter and sends back a geojson containing features availables for this bounding box. Using the "protocol" option of "Opening Qgis Vector Layer" dialog, I can pass a complete url, e.g. : http://localhost/index.php?query=getFeature&bbox=2.2175,48.7896,2.4764,48.928 But obviously, Qgis only gets the features contained in the defined bbox. I would like to find a way to "tell" Qgis to dynamically set the bbox parameter on each zoom/pan, etc. 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. 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.
Thanks for any hint Michael
_______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer