Precompute polyline routes using GraphHopper from x,y locations with from,to,via pairs