A Philadelphia police officer has died and a second officer was injured in what is being described as an ambush in West Philadelphia.