Usage Copy the two scripts to the path where you store your json files . Then in the cmd line , just execute "python splitMission.py". Performance origin splited merged