iPhoto Places Information

Discussion in 'Digital Photography' started by jasnw, Aug 2, 2017.

  1. jasnw macrumors 6502

    Joined:
    Nov 15, 2013
    Location:
    Seattle Area (NOT! Microsoft)
    #1
    Is there a way to dump the places information in an iPhoto library into a text file? I'd like to be able to build a file with latitude,longitude,name for each place in the library. I've been able to build a python script to access just about all other meta information about images in an iPhoto library, but not the places info. I know the latitude and longitude are (can be) put into the metadata stored in exported images, but I'm not using iPhoto when I extract images from the library (long story) and I don't think iPhoto puts the place name into the image file's metadata on export. I also know that there are reverse geocoding services that can convert a lat,lon to a place name, but that won't help me with place names that I've established in iPhoto.
     
  2. robgendreau macrumors 68040

    Joined:
    Jul 13, 2008
    #2
    I suspect that place info is stored in the database itself. Have you tried diving into that? I think maybe inside RKPlace etc. Take a look. I don't think there's any other place to access it. Unless maybe there's an Applescript or something out there somebody made to write Places to standard IPTC tags like the location ones.
     
  3. jasnw thread starter macrumors 6502

    Joined:
    Nov 15, 2013
    Location:
    Seattle Area (NOT! Microsoft)
    #3
    I believe the information is stored in a collection of *.applace files located in the Database/Places subdirectory within the iPhoto library package. I'm fiddling around with the strings and grep commands to see if I can harvest anything useful from these proprietary-format binary files. I tried googling applace without much luck.
     

Share This Page