Skip to main content

Hey everyone,
ich have a nice use case in our city: we want to offer a service where families can look which school is the nearest. My Idea was an app Server to create with only one field in order to type one Address. The System should calculate all the routes to the schools in the city (these addresses are known) and visualize them as a list or/and in a map as a result of the server app.

 

Do you think this is possible? I need first of all a FME workbench with an address and a file with the school addresses and calculate the routes and I have problems to get it. 

 

If this task is done, do you think is it possible to show as output the list with the distances and the routes in a map?

 

many thanks in advance!

Yes, this is very much possible. Route calculation might be (in a large city) a costly operation.

You do need to have a few things:

  • Locations of the schools (addresses or point locations)
  • A dataset of roads
  • A starting point (address)

For every school create a line that starts at the starting point (on FME Flow you can use the Geometry parameter to have people click on their home) and ends at that school. Then use those as From-To lines in a ShortestPathFinder and get the resulting routes. Calculate their lengths and then either show them on a map or list them in a table.


Reply