I've recently learned that I can get open data on QGIS by using WFS services.
Well, as it is these WFS services are very useful since the data is already in a vectorized way. However, I'd like to create an automation using the Graphical Modeler that will start a flow using a WFS layer as input. In my specific case, I've access to a WFS service that updates regularly. So, for me, it's useful to automate the process of getting this data from there from time to time.
However, I didn't find anything related to WFS services in the inputs inside the Graphical Modeler:
I know I can manually add WFS layers on QGIS and then use them as vector layer inputs on the Graphical Modeler. But I was expecting to use WFS layers directly on the Graphical Modeler, just so I can transform it into a Python script that will run automatically from time to time. Is it possible to add WFS layers as input on the Graphical Modeler? If not, is there any workaround for this issue?
-
Have you found a solution for this? I am looking into the same.Nindooo– Nindooo2024年04月26日 07:01:11 +00:00Commented Apr 26, 2024 at 7:01
2 Answers 2
it is available as v.in.wfs via algorithms but can be used as a precursor to your step.
the combination of the model builder algorithms 'Download file' and 'Load layer into project' may work, too. In 'Download file' the URL should contain the WFS get feature request and preferable geojson as output format.
-
2Why would GeoJSON be preferable? What if the data isn't natively in the CRS84 CRS required of GeoJSONnmtoken– nmtoken2024年09月19日 09:36:36 +00:00Commented Sep 19, 2024 at 9:36