4

enter image description hereWhat is the use of the download files tool under files tools in QGIS 3.4.3? I'm trying to bring a csv file directly from the web into my processing modeler but even when the tool runs successfully there is no output

Is there any other way to bring attribute data in QGIS using processing modeler directly from the web

7
  • What "download files tool"? I can't see anything like that in my QGIS. Is it in a menu or a dialog box?
    – Spacedman
    Mar 3, 2019 at 17:53
  • @Spacedman I have added the photo in the question Mar 3, 2019 at 18:29
  • If the tool isn't working then maybe the URL is wrong - how can we tell? If I put sample-videos.com/csv/Sample-Spreadsheet-10-rows.csv in the URL field I get that downloaded to a temp file successfully.
    – Spacedman
    Mar 3, 2019 at 19:59
  • I'm also able to download the file to a temp file but the file doesn't load automatically once the command is executed. Even when I try to run it as a batch process it doesn't show up (I have checked open the output after completion box) Mar 3, 2019 at 22:03
  • How have you connected the output from this tool in your model? Can you share those details?
    – ndawson
    Mar 3, 2019 at 23:22

1 Answer 1

1

Using QGIS 3.6 this is available.

enter image description here

In this case downloading a Google Earth file from the City of Vancouver (Opendata)

(you do not need to save the file if just processing.)

Processing algorithm…
Algorithm 'Download file' starting…
Input parameters:
{ 'OUTPUT' : 'C:/temp/boundary.kmz', 'URL' : 'https://data.vancouver.ca/download/kml/city_boundary.kmz' }

Execution completed in 3.06 seconds
Results:
{'OUTPUT': 'C:/temp/boundary.kmz'}

Loading resulting layers
Algorithm 'Download file' finished

This works well when you chain a lot of url's together in the processing toolbox...

like

enter image description here enter image description here

and then select your attribute you require

(in this case NAME='Vancouver')

Not the answer you're looking for? Browse other questions tagged or ask your own question.