The old Central Library in downtown San Diego will be converted into a temporary shelter for the homeless.