Question

How to download a zip file and read data from it

  • 29 May 2020
  • 1 reply
  • 21 views

Badge +10

I want to automate the process of downloading and reading the GNAF dataset from www.data.gov.au

This is open data, so anyone can download it.

GNAF is the Geocoded National Address File

https://data.gov.au/dataset/ds-dga-19432f89-dc3a-4ef3-b943-5326ef1dbecc/details?q=GNAF

The particular dataset I want is the zip file "MAY 2020 - PSMA G-NAF(ZIP)" (though of course, next month, the title will change)

https://data.gov.au/data/dataset/19432f89-dc3a-4ef3-b943-5326ef1dbecc/resource/4b084096-65e4-4c8e-abbe-5e54ff85f42f/download/may20_gnaf_pipeseparatedvalue.zip

Can FME download the zip file and then read the files within?

 


1 reply

Userlevel 4
Badge +30

Hi @nicholas

To download a file I suggest you to use the transformer HttpCaller:

To extract the format from zipfile you can use the transformer FeatureReader.

 

Thanks in Advance,

Danilo

Reply