Get terms in hierarchical taxonomy

I may suggest not combining each of these into hierarchical taxonomies, but setting up 3 distinct taxonomies. It seems like they are 3 unrelated properties of the photos, and thus, I would separate the code for them. Then you’re not trying to code around nested taxonomy terms, but you can access them each individually. The taxonomies would be color, location and year.