Rails engine for itinerary search based on OSM data