Offline router and planner for UN location