Washington -  A man reported to have Islamic "extremist leanings" attacked police officers in New York City with a hatchet Thursday, injuring two before being shot dead, police and a monitoring group said.