A judge ruled Tuesday officials can being clearing a homeless camp along the Santa Ana River in Southern California.