Skip to main content
Question

Shapefile extract

  • July 3, 2023
  • 5 replies
  • 25 views

Forum|alt.badge.img+5

how can I extract the Shapefile from this link via FME

https://tgftp.nws.noaa.gov/SL.us008001/DF.sha/DC.cap/DS.WWA/current_warnings.tar.gz

 

 

 

5 replies

nielsgerrits
VIP
Forum|alt.badge.img+60
  • 2938 replies
  • July 3, 2023

Download the file using a HTTPCaller and process if from there.

 

I'm not sure if FME can extract from tar. I would try to solve this using Python. Or use a SystemCaller to do a 7-zip commandline.


Forum|alt.badge.img+5
  • Author
  • 170 replies
  • July 3, 2023

do you have 7-zip commandline ? bcz after extract this pipeline will publish on flow


virtualcitymatt
Celebrity
Forum|alt.badge.img+47

Just tested in FME 2022.2.5 - Just put the URL as the path to the dataset and it works:

 

image


nielsgerrits
VIP
Forum|alt.badge.img+60
  • 2938 replies
  • July 4, 2023

Just tested in FME 2022.2.5 - Just put the URL as the path to the dataset and it works:

 

image

Ah, I tried this in a FeatureReader in 2021.1 and it didn't, so wrong conclusion on my part.


nielsgerrits
VIP
Forum|alt.badge.img+60
  • 2938 replies
  • July 4, 2023

Ah, I tried this in a FeatureReader in 2021.1 and it didn't, so wrong conclusion on my part.

And now I try again and it works as expected :| guess I just screwed up yesterday.