iPhone 7 plus with latest iOS. To the best of my knowledge, I have never disabled location services for Camera or Compass. I’ve taken many photos and most have GPS tags embedded. But today, I took 22 images of gravestones in a cemetery on a partly cloudy day with very few trees, and none of them have GPS tags. At one point, I looked at my compass app, which also shows lat/long and it was showing believable values. Checked the settings, and location services is still enabled for both apps.
What would make an iPhone intermittently NOT add location data to photos?