Author Topic: Group by focal length  (Read 2523 times)

Offline obelix74

  • Member
  • **
  • Posts: 87
    • View Profile
Group by focal length
« on: August 08, 2021, 08:01:11 AM »
I want to analyze what focal lengths I use from a given lens. I can navigate to all photos made with a lens, but how do I group the focal lengths to see what I shoot?

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: Group by focal length
« Reply #1 on: August 09, 2021, 09:16:33 AM »
I want to analyze what focal lengths I use from a given lens. I can navigate to all photos made with a lens, but how do I group the focal lengths to see what I shoot?

You could create a custom sort, though if you have a large number of images to sort, it will take some time to sort them.  Custom sorts are done at the contact sheet level and cannot be accelerated by the catalog database.

-Kirk

Offline obelix74

  • Member
  • **
  • Posts: 87
    • View Profile
Re: Group by focal length
« Reply #2 on: August 09, 2021, 09:24:03 AM »
Thanks Kirk, any pointers on how to do custom sort?

I ended up exporting all files to XML and wrote a parser to read the XML, but the XML format isn't helpful at all. Key and Value are not connected to each other, so they just go by order (the value next to the key). I wish they were a simple Map of name - value pairs and maintain their relationship.

Custom sort sounds better.

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.