Using openrouteservice in FME

Hey guys,
I would like to calculate multiple routes from m:n points using openrouteservice.

Is it possible to include openrouteservice into FME Workflows?


This is my setting - i want to calculate a route for each green line. (Ignore the blue street network)

For those who don’t know FME: Platform - FME by Safe Software

PS: I’m a complete newbie to ors :smiley:

Hi @momo,

if you want create the route geometries you can use the directions endpoint. Our free key offers up to 2000 requests per day.

If you only need the time or distance between the points you would rather want to use the matrix endpoint.

Regarding FME Workflows you need to find out on your own. If you can send requests to APIs from ther it should be possible.

Best regards

1 Like

Thank you for your answer! The API Playground is a great tool (…when I figured out how to use it properly :smiley: )

In FME I accessed the API via HTTPCaller and read the attributes using AttributeExposer (might be helpful for other people). Worked fine for me :+1:

Best regards

Hi @momo,

I’m also trying to query the API with FME’s HTTPCaller without success. What settings do you have?

Thanks

Guillaume

I’ve done it, here’s my httpcaller configuration for future users.

Guillaume

2 Likes

@CGuillaume Oh wow. Thank you for sharing, I’m sure there are more in the community that will be grateful for this.

I am amazed by how creative you and others are when using openrouteservice for your analytics.

1 Like

Hi @CGuillaume,
I’m also trying to query the API with FME’s HTTPCaller about isochrones, but even with the indications in your screenshot (part of which is unfortunately hidden), I can’t get any results. Could you please share your FME project with me so that I can understand what the problem is? If you’d like to send it in a private message, here’s my e-mail address: julien.chadeyron@uca.fr
Many thanks in advance!