Longtime county planner to retire next month