Skip to main content
Solved

Fetch & Read OSM

  • June 5, 2013
  • 1 reply
  • 21 views

Forum|alt.badge.img
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

 

Best answer by david_r

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
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

david_r
Celebrity
  • Best Answer
  • June 5, 2013
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