Skip to main content
Solved

Fetch & Read OSM

  • June 5, 2013
  • 1 reply
  • 18 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
View original
Did this help you find an answer to your question?
This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, 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

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings