Skip to main content
This should be simple but I’m ready to throw up my hands.  I have a workspace that fetches an OpenStreetMap chunk of XML for a requested area.  I can save the data and then read the data using the FME OSM reader, a two-step process.  

 

 

What I want to do is pass the OSM data it to the OSM reader in a single workspace.  I guess I could call the OSM fetcher in a startup Python script but that seems more convoluted than it should be.  Am I missing something obvious?

 

 

Thanks,

 

Alan

 

Hi Alan,

 

 

This is not very elegant and I hope somebody has a better suggestion, but I guess you could write the XML chunk using a PythonCaller (it is just a text file, after all) and then read the file back again using a FeatureReader with the OSM format.

 

 

David

Reply