Aperture 3 Places Data not Imported Into iPhoto

I tagged the location of a set of photos in Aperture 3 using Places. Then i went to iPhoto, and used the import from Aperture function to bring the whole set into iPhoto in a single move. One of the 24 images carried the Places data with it; the rest had no location associated with them. I suppose this is a bug, but if anyone else had this experience or has a suggestion for a fix, please weigh in. Thanks.

Ok, just discovered that it's not an issue with the handling of zero's in GPS coordinates, but a problem with filename or file paths containing invalid characters - I've had folders such as "FA Cup final (mum's photos)".
So I've picked up a tiny amount of apple script and tweaked the code some more. PLEASE CAN I STRESS I KNOW VERY LITTLE ABOUT APPLE SCRIPT SO USE AT YOUR OWN RISK; it does work fine for me though!
All credit to Juri Pakaste at http://juripakaste.fi/cgi/pyblosxom.cgi/iphoto-geodata-applescript.html
-- This applescript will geotag the selected photos with the
-- location information set in iPhoto.
-- You must have exiftool installed; by default it's loaded from
-- /opt/local/bin, where MacPorts installs it from the package
-- p5-image-exiftool.
-- Author: Juri Pakaste (http://www.juripakaste.fi/)
-- Based on the Set Geo Data.scpt script by
-- Andrew Turner (http://highearthorbit.com)
property exifToolOriginal : "_original"
property exifToolPath : "/usr/bin/exiftool"
on extract_decimal(realnum)
log "extracting decimal from " & realnum
repeat while realnum > 1
log "realnum now " & realnum & ", subtracting 1"
set the realnum to realnum - 1
end repeat
realnum
end extract_decimal
on roundFloat(n, precision)
set x to 10 ^ precision
(((n * x) + 0.5) div 1) / x
end roundFloat
on d2s(degs)
log "enter d2s"
if the degs < 0 then
set the degs to degs * -1
end if
set the degrees to round degs rounding down
set the minssecs to extract_decimal(degs)
log "minssecs: " & minssecs
set the minssecs to minssecs * 60
set the mins to round minssecs rounding down
set the minssecs to extract_decimal(minssecs)
log "minssecs 2: " & minssecs
set the secs to minssecs * 60
"" & degrees & "," & mins & "," & roundFloat(secs, 2)
end d2s
on exportCoords(image_file, lat, lng, alt)
set the northSouth to "N"
set the eastWest to "E"
if the lat is less than 0 then
set the northSouth to "S"
set the lat to the lat * -1
end if
if the lng is less than 0 then
set the eastWest to "W"
set the lng to the lng * -1
end if
log "calling d2s on " & lat
set the latstr to my d2s(lat)
set the lngstr to my d2s(lng)
set exifCommand to exifToolPath & " -GPSMapDatum=WGS-84 -gps:GPSLatitude='" & latstr & "' -gps:GPSLatitudeRef='" & northSouth ¬
& "' -gps:GPSLongitude='" & lngstr & "' -gps:GPSLongitudeRef='" & eastWest ¬
& "' -xmp:GPSLatitude='" & latstr & northSouth & "' -xmp:GPSLongitude='" & lngstr & eastWest & "' -xmp:GPSMapDatum='WGS-84'" & " -xmp:GPSVersionID='2.2.0.0'" & " \"" & image_file & "\""
-- display dialog of ("running: " & exifCommand)
set output to do shell script exifCommand
-- display dialog of output
do shell script "rm \"" & image_file & "\"" & exifToolOriginal
end exportCoords
tell application "iPhoto"
activate
try
copy (my selected_images()) to these_images
if these_images is false or (the count of these_images) is 0 then ¬
error "Please select one or more images."
repeat with i from 1 to the count of these_images
set this_photo to item i of these_images
tell this_photo
set the image_file to the image path
set lat to the latitude
set lng to the longitude
set alt to the altitude
end tell
if lat < 90.1 and lng < 180.1 then
my exportCoords(image_file, lat, lng, alt)
else
display alert ("No location set for " & name of this_photo)
end if
log "read image, lat: " & lat & ", lng: " & lng
end repeat
display dialog "Geo Exif write complete."
on error error_message number error_number
if the error_number is not -128 then
display dialog of ("failed on: " & image_file)
display dialog error_message buttons {"Cancel"} default button 1
end if
end try
end tell
on selected_images()
tell application "iPhoto"
try
-- get selection
set these_items to the selection
-- check for single album selected
if the class of item 1 of these_items is album then error
-- return the list of selected photos
return these_items
on error
return false
end try
end tell
end selected_images

Similar Messages

  • .CR2 will not import into  iphoto 08 7.1.5

    I have a few hundred photos taken by a friend that i am trying to import into my iphoto library.
    Getting an unrecognizable file message.
    I shoot on a Canon XSi in RAW and have no issues importing to iphoto, Apature or photoshop....
    her images were shot on a Canon TSi in RAW and will not import into any of my programs.

    The fact that you can use the Raws from your XSi is of no relevance.
    The Raw from every model of camera is different. Note: that's every model not every brand. So, the NEF produced by a Nikon D40 is not the same as the NEF produced by a D60, the CR2 produced by a Canon 350 is not the same as the CR2 produced by a Canon 400.
    Changing the Raw specification is one of the ways of upgrading the cameras.
    IPhoto and Aperture support -  or don't -  the same cameras.
    Regards
    TD

  • TIP: What to do if the Recovered Photos File will not import into iPhoto...

    Like many others in this forum, I just upgraded to iWork/iLife '06. When I installed iPhoto '06 it trashed my existing iPhoto Folder and placed all of my other existing photos (those not already imported previously into iPhoto) into a recovered photos file. I tried and tried and tried to import those "recovered photos" into iPhoto but it kept returning an error message on import "Unreadable file"
    Finally I selected the "recovered files" then clicked on "Get Info" and found that the permissions were "locked" with a padlock icon. Clicking once on the padlock opened the permissions back to me the "owner" and the iPhoto allowed me to import all of those 425 "recovered photos". Whew! I hope this tip helps someone else out - I had to figure this out on my own...

    The fact that you can use the Raws from your XSi is of no relevance.
    The Raw from every model of camera is different. Note: that's every model not every brand. So, the NEF produced by a Nikon D40 is not the same as the NEF produced by a D60, the CR2 produced by a Canon 350 is not the same as the CR2 produced by a Canon 400.
    Changing the Raw specification is one of the ways of upgrading the cameras.
    IPhoto and Aperture support -  or don't -  the same cameras.
    Regards
    TD

  • Panasonic LX5 RAW not importing into iPhoto 09

    I cannot import RAW photos taken with my Panasonic LX5. I assume that they are not supported yet. If i upgrade to iPhoto '11, will it support panasonic LX5 RAW?
    When I search iPhoto help to see what camera's RAW files are compatible with iPhoto, I am redirected to Aperture 3's RAW compatibility listing. The help page says that the compatibility is the same for both Aperture and iPhoto and that listing says that Panasonic's LX5 is supported; however, there is a footnote that says Aperture 3 is required. Based on the fact that my RAW files won't open in iPhoto 09, it seems that the compatibility is not the same for iPhoto and Aperture.
    I would much rather continue using iPhoto; so before I upgrade to iPhoto 11 or purchase Aperture 3, I would like to get a straight answer about iPhoto 11 supporting LX5's RAW.

    It can't be done anywhere if you shoot Raw.
    The workflow in your camera is as follows
    Step 1: Take the shot -  this creates the Raw. The Raw is the data from the camera sensor and by definition this has no processing done on it.
    Step 2: Process the Raw using the settings you have chosen and save it. That's saved as a Jpeg.
    The Raw is what happens before processing. After processing it's not a Raw anymore.
    The point of shooting Raw is that you decide what - and how - the effects are applied to the data, not the Camera. If you want the camera to do it, why are you shooting Raw?

  • File name not importing into iPhoto

    I keep my photos on an external disk and import them from that disk into iPhoto. When I import, sometimes the file name is imported into the caption field and sometimes it does not.
    Any ideas why? I have search for others posts but can't find any. I did check the permissions of the files representing both results and the permissions are the same.

    What is displayed in the title field under the thumbnails?
    Have you tried selecting the offending photos, going to the Photos->Batch Change menu and selecting Title to File Name option?
    Click to view full size

  • Sony WX7 .mts video files not imported into iPhoto 11

    Apple indicates iLife ’11 supports AVCHD (.mts) files, however, I've been unable to get iPhoto 11 to import video files from the Sony WX7 camera. Photo's are imported properly via both usb and directly from the SD card reader in my Macbook Pro (i7) 2011, however, video files are not.  I've read that iMovie '08 supports Sony AVCHD 2011-model video cameras, but iPhoto 11 appears not to.
    Mac OS X v10.6.7, is fully up to date. Has anybody found a solution?

    Not sure where you are seeing that AVCHD is supported in iPhoto '11 but it is not - use iMovie to import your AVCHD movies - that works for my my Sony DSC-HX5
    LN

  • Nikon D3300 NEF files not importing into iPhoto with Yosemite. Videos import, photos come in black

    I'm having issues importing NEF (Raw) photos since I upgraded to Yosemite. I also updated iPhoto to the most current version. The videos will import, but the photos are coming in black. I can see them in the Nikon photo viewer on the Mac with no issues.

    There are a series of posts on the forum right now detailing issues with Raw support. By no means all folks have them - I don't for instance - but many seem to.
    Try the fix in this thread
    RAW files suddenly show up as "not supported" (Aperture 3.5.1, OS X 10.10)
    which basically trashes the Raw support and reinstalls it on your Mac.
    As always, back up first,

  • Photos not importing into Iphoto

    I am consolidating a couple photo libraries.  My default library opens fine.  The other libraries I have exported to a folder on my desktop.  I go to import photos from the desktop folder and everything seems to be fine.  Import progress is shown, picture count goes up and I can see all the photos. 
    Once I exit Iphoto and reopen the pics are not there.  I have done this a number of times and am wondering what is wrong.
    The default location of my library is in my Users/Shared/Iphoto Library folder.  I was told to keep them in that folder that way my wife and I could use the same library from different user accounts.
    Thanks,
    Don

    The only way to merge Libraries is with the paid version ($20) of iPhoto Library Manager
    You're just exporting files from one and importing to the other. You're missing metadata, versions, edit history and so on.
    As to the problem described:
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. .
    Regards
    TD

  • Color XML Data Not Importing Into FCP

    When I finish rendering my clips in color and I send them to FCP, FCP says importing XML data and the progress bar stays at 50% and doesn't move. Anybody have any clue on what to do??

    You will have to troubleshoot the round trip for something illegal that you exported from the FCP timeline. A hung return XML indicates that it has corrupted because of an ambiguous instruction that COLOR hasn't been able to understand -- it may not even have anything to do with the media and how its constructed on the timeline.
    Unfortunately, the number of things that this could be is a somewhat lengthy list. You didn't encounter any obstacles with strange things happening on the COLOR timeline, apparently. Without the actual FCP timeline and what kinds of things are stacked on it -- impossible to say.
    But here's an example of a known behavior: A graphic still (like a Jpg) with a filter or effect applied to it will cause the rest of the media on the remaining timeline to be lost. It just won't come back on the FCP timeline, as opposed to hanging the import. Stuff like that, that doesn't usually get discussed under the "just hit the easy button" workflow.
    jPo

  • Just installed Iphoto 6 and many photos will not import to Iphoto...

    About half of my photos from one of my rolls from this Spring will not import into Iphoto6. I can open them up from my hard drive but they will not import into Iphoto. Any tips?
    g4 tower   Mac OS X (10.3.9)  

    Chris:
    Even though you've gotten back up and running if you have any thumbnails that show up as blanks again try the following: download and run BatChmod on the iPhoto Library folder with the settings shown here, substituting your account name for mine. You can either type in the path to the folder or just drag the folder into that field.
    The blank thumbnails after updating to v6 are often a result of permissions on the files getting messed up somehow preventing you from having access to them. Running BatChmod on the library folder as demonstrated will force the correct ownership and permissions on all of the files.
    Do you Twango?

  • Converting TIFF to JPEG with sips, then import into iPhoto problems

    I am cataloguing a box of slides and negatives for my family. The scanner generates huge TIFF files (on purpose), and I have an Applescript that then uses sips to copy them into low quality JPEG files using this command:
    do shell script ("sips -s format jpeg -s formatOptions low -s description " & "'" & "Original path: " & (POSIX path of an_image) & "'" & space & (POSIX path of an_image) & " --out " & new_file)
    where an_image is the source file, and new_file is the path and name of the converted image.
    This way, I can save the original file path as the image's description while shrinking the file size to speed up later importing into iPhoto. As part of the iPhoto import, that description from the metadata is placed in the on screen comment section for each image.
    This works fine to do the initial shrinking, but less than half of the resulting jpeg files can subsequently be imported into iPhoto. I get this error:
    The following file could not be imported. (The file is in an unrecognizable format.)
    And yet, Preview and Safari both open the files with no problems.
    Is there anything else I need to set when doing the conversion with sips to make it easier for iPhoto to recognize the converted files?
    I have over 1000 images, and anticipate a final total of about 2500 when I am done. These are images of myself and my siblings from the 1960s and 1970s, and my idea is to scan them all at high resolution, and use the converted, smaller files for iPhoto for keywording and Faces to get them organized, while retaining the paths to the original images. Any commentary is appreciated.

    I have uploaded one of the bad JPG files here:
    www.mrcodeboy.com/smith/Try.jpg
    I tried examining the metadata with exiftool, Image Events, and mdls, but there are a number of differences between the TIFF metadata and the JPEG metadata structures. I found no obvious differences, but this is a good idea, and I will continue to examine those closely for clues.
    *EDIT*
    I downloaded the bad JPEG above onto a different machine; it still does not import into iPhoto. However, by invoking sips on that file to convert it back to a TIFF file thusly:
    sips -s format tiff Try.jpg --out TryTF.tif
    it imported just fine. There has to be some sort of parameter that is NOT being addressed in the conversion from TIFF to JPEG that is somehow messing this up, yet is preserved when the file is re-written as a TIFF.
    Message was edited by: casdvm

  • I need help proving the date tag on a photo stored in my iPhoto is from the date it was sent to my iphone/date it was imported into iphoto - and that it is NOT the date the photo was actually taken.  Please help!

    I need help proving the date tag on a photo stored in my iPhoto is from the date it was sent to my iphone/date it was imported into iphoto - and that it is NOT the date the photo was actually taken.   I recieved a photo via text on my iphone and then I synced my iphone to my macbook and now it is in iphoto.  I already know that the date on the photo per the tag that shows up on it in iphoto is NOT the date the photo was actually taken.  I need article or literature or something confirming the tag is from when it was sent to the iphone and/or when it was imported.  I greatly appreciate some assistance!

    All I am trying to do is find something on a forum board or article etc stating that the the date showing in iphoto could be the date it was imported or synced or sent to me and not the actual date taken.
    The date on the photo could be anything because you can edit the date with iPhoto or any of 100 apps, free and paid for. So, the date on the photo will prove nothing, I'm afraid.
    Regards
    TD

  • I have a large number of photos imported into iPhoto with the dates wrong.  How can I adjust multiple photos (with varying dates) to the same, correct, date?

    I have a large number of photos imported into iPhoto with the dates wrong.  How can I adjust multiple photos (with varying dates) to the same, correct, date?

    If I understand you correctly, when you enter a date in the Adjust Date and Time window, the picture does not update with the date you enter.  If that is the case then something is wrong with iPhoto or your perhaps your library.
    How large a date change are you putting in?  iPhoto currently has an issue with date changes beyond about 60 years at a time.  If the difference between the current date on the image and the date you are entering is beyond that range that may explain why this is not working.
    If that is not the case:
    Remove the following to the trash and restart the computer and try again:
    Home > Library > Caches > com.apple.iphoto
    Home > Library > Preferences > com.apple.iPhoto (There may be more than one. Remove them all.)
    ---NOTE: to get to the "home > library" hold down option on the keyboard and click on "Go" > "Library" while in the Finder.
    Let me know the results.

  • Took movie w/iPhone, imported into iPhoto, now iMovie not "seeing" the .mov

    Hi,
    I took a movie with my iPhone 3GS. During the sync process with my Mac, iPhoto imported the file as a .mov. In iPhoto, when I click on the .mov file, QuickTime opens and plays the movie just fine. In iMovie, however, when I click the little camera icon (to open up iPhoto and search for files), I cannot see the .mov file, even though I know it is there in iPhoto.
    I have read a number of posts about this issue, and feel fairly lost at the moment. I'd appreciate any point in the right direction.
    Thanks

    That would be simple....
    I am having a similar problem trying to find images I have imported into iPhoto not showing up in iMovie. I have tried the fixes they suggest in the iMovie help file: "iLife: Cannot See iPhoto Files in Other iLife Applications" and they do not help.
    However, the images do not show up in iMovie even though the events and photos show up in iPhoto and other events and images... from earlier show up in iMovie. At least until March 22 08. I don't use iPhoto or iMovie very much as I don't have a Digital Camera or Cell Phone. I do have a project now that they would be perfect for and now...
    The help file info didn't help... there is another more current thread as well about the photo issue rather than the iPhone movie... but I think it is the same issue to do with iMovie seeing imports made by iPhoto.
    ~ Darrell

  • Not all videos will import into iphoto...

    hi,
    i cannot get all my videos to import into iphoto 09. the process stops with an error "there was an error importing Photo".
    what is causing this and is there a workaround?
    please advise.
    thank you.

    hi,
    ty, i will give your suggestion a try.
    also, i solved the problem by resetting the phone. hold down the sleep-switch and home button together for 10sec and then when you get the quit screen keep holding down the two buttons together.
    this also solved the problem..

Maybe you are looking for

  • Urgent: new macbook pro - without Lion

    I am not from the US, what should I do to get Lion for free, I'm entitled for it according to this: http://www.apple.com/macosx/uptodate/ but I cant fill the forms since they regarded to US residents. What should I do, It's been almost 30 days since

  • JSP, Web Layout, Tomcat

    Please help me with the next questions: 1)Oracle DB server and Oracle J2EE container are located in different places. The jsp in Oracle report web layout was generated. I put this JSP on the Oracle J2EE container and tried to run this jsp: http://loc

  • Adobe reader not recognising paper size

    Using Adobe Reader 9 on Windows XP 64-bit When i try to print a pdf, the page size is not recognised so the printer always makes me manually select the A4 print tray. If i remember to, i can do a choos paper-source by pdf page size but this setting i

  • Problem with Activities

    Hello, I'am facing a problem within the CIC. Whenever I ceate a new activity, the actual date is automatically filled with the current date. If I do this the "normal" way (SAP menu -> Activities -> Maintain Activities) the actual date stays empty, ev

  • Global way to turn off sound?

    My main stage is playing a series of MIAWs and I want a way to shut down sound channels 1-7, leaving 8 open for sound effects used by the stage. It's a touch screen application and the client wants the option to turn off the music but retain the audi