Skip to main content
Solved

On the fly OSM Data reader/converter?

  • February 18, 2015
  • 5 replies
  • 161 views

Forum|alt.badge.img
Hi,

 

 

I see FME has an OSM XML data Reader. I wonder if its possible to have this reader/converter on the fly using transformers. I use the HTTPCaller to extract data via the Overpass API and I would like to convert the output XML into features, but that's not easy as I first tought because of the way OSM data is structured.

 

 

Is there a way to convert the xml data returned by the HTTPCaller into FME features without saving the XML on disk and then using the OSM Data Reader?

 

 

Thank you!

 

 

Maxime Demers

Best answer by friesewoudloper

It has been a long while since Maxime asked this question, but I created a workspace that may be of interest when you want POI's from OpenStreetMap: https://github.com/ProvincieGroningen/fme/tree/master/natuurijsbanen

View original
Did this help you find an answer to your question?

5 replies

Forum|alt.badge.img
  • Author
  • February 18, 2015
I wonder if using Overpy (https://github.com/DinoTools/python-overpy) in a pythonCaller would be much simpler than the HTTPCaller

friesewoudloper
Forum|alt.badge.img

It has been a long while since Maxime asked this question, but I created a workspace that may be of interest when you want POI's from OpenStreetMap: https://github.com/ProvincieGroningen/fme/tree/master/natuurijsbanen


redgeographics
Celebrity
Forum|alt.badge.img+48
friesewoudloper wrote:

It has been a long while since Maxime asked this question, but I created a workspace that may be of interest when you want POI's from OpenStreetMap: https://github.com/ProvincieGroningen/fme/tree/master/natuurijsbanen

I've wanted to look into the Overpass Turbo API for a long time (busy busy), I suspect it should be possible to build an OSM querier using that. I have used something @pimverver made for me but had a hard time adapting that example.

 


egge
Contributor
Forum|alt.badge.img+14
  • Contributor
  • September 12, 2019
friesewoudloper wrote:

It has been a long while since Maxime asked this question, but I created a workspace that may be of interest when you want POI's from OpenStreetMap: https://github.com/ProvincieGroningen/fme/tree/master/natuurijsbanen

Hi Willy,

Cool! Nice solution. Works a treat.

For testing purposes I modified the Overpass Query to theaters in Gelderland, and yes, all 61 of them appeared in the shapefile :-)

Tnx,

Egge-Jan


friesewoudloper wrote:

It has been a long while since Maxime asked this question, but I created a workspace that may be of interest when you want POI's from OpenStreetMap: https://github.com/ProvincieGroningen/fme/tree/master/natuurijsbanen

Hi all, have been hunting around for a way to query Overpass API with FME, and this looked to be the most promising answer, but unfortunately the GitHub link was broken.

 

I've done a bit of digging and found it again here:

 

https://github.com/ProvincieGroningen/fme-workspaces/tree/master/natuurijsbanen

 

Thanks Willy for your answer, really helpful! I hope you don't mind me attaching the workbench here for others to see in case your Github repository changes again?

 

natuurijsbanen.fmw


Reply


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