5

I've recently learned that I can get open data on QGIS by using WFS services.

enter image description here

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:

enter image description here

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?

Taras
35.7k5 gold badges77 silver badges151 bronze badges
asked Dec 1, 2021 at 6:30
1
  • Have you found a solution for this? I am looking into the same. Commented Apr 26, 2024 at 7:01

2 Answers 2

0

it is available as v.in.wfs via algorithms but can be used as a precursor to your step.

answered Sep 4, 2024 at 11:26
0

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.

answered Sep 19, 2024 at 7:54
1
  • 2
    Why would GeoJSON be preferable? What if the data isn't natively in the CRS84 CRS required of GeoJSON Commented Sep 19, 2024 at 9:36

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.