Solved

Read xml/pbf file after HTTP caller

  • 18 May 2019
  • 1 reply
  • 10 views

I have been using FME for some simple tasks but I would like to take it to the next level. I have workbench is a simple conversion from .pbf format and it loads this information into a geodatabase.

Next up I would like to have this workbench download an updated pbf file before it starts the conversion.

Is there a way to run an HTTPCaller and then automatically read a file that is downloaded from this transformer within a workspace? I am not sure how I would connect the output of the HTTPcaller so that is readable within my workspace.

 

 

icon

Best answer by takashi 18 May 2019, 07:09

View original

1 reply

Userlevel 2
Badge +17

If you downloaded a file with the HTTPCaller, the output feature would have an attribute (named "_response_file_path" by default) that stores the file path. A possible way to read the file is: connect a FeatureReader to the HTTPCaller output port and set the file path attribute to its Dataset parameter.

Reply