All my GPS data disappeared

This is something that happened twice.
Suddenly, all my GPS data disappeared from the entire catalog.
Fortunately, I could recover them from my catalog backup.
I can't make out how this could have happened.
Did anyone experience the same problem ?

There are two cases
Case 1 : This happened under LR 5 or even LR 4 a couple of weeks or even months ago. The GPS data got erased everywhere and could not be recovered.
Case 2 : This happened under LR CC. I was lucky to be aware of that problem because shortly after this loss I tried to find photos for a specific location. But there was no GPS data available. By reloading the apparently uncorrupted catalog everything was fine again.
What I think happened
Since all GPS data for the entire catalog disappeared in one instant, I think that the problem lies in my catalog. There must be a file containing a link from the photos the GPS date (or the other way round). I think that link got corrupted or was erased.
In case 1 unaware of this loss I browsed and accessed the photos thereby gradually erasing the GPS data in the photos until none was left.
In case 2, since this is an unforeseen event for LR, the GPS data in the photos were not immediately erased. And I did not access the photos. By reloading an uncorrupted catalog everything was fine again.
Unfortunately I cannot trace what event caused the catalog to get corrupted. All I know is that I was creating and deleting collections.
Believe me, I now constantly check the presence of GPS data via the metadata filter "GPS data".
Does this make any sense to you ?

Similar Messages

  • How to export ALL my GPS data with photos?

    Hi,
    I hope you can help me save a lot of time.
    For various reasons I have abandoned Aperture 3 in favour of Lightroom 5, and as part of the process (severl months ago) I exported all my 30,000 photos out of my aperture library along with sidecar files so that I would be able to keep my metadata. All but a few gopro phots are geotagged, however I have now discovered that for 14,000 of these images no GPS data was included in the sidecar file.
    As far as I have been able to research I have two options. First to re-build the library by re-exporting the files, merge this with my current Lightroom library and hope I don't get any duplicates. Or, secondly, re-tag the 14,000 photos manually or from the GPX files I still have hanging around.
    What I really would like to know is if there is a 3rd option?
    What would be nice is a way to export only the GPS data and time stamps for all 30,000 and then use that as a track in Lightroom...is that possible?
    Thanks for any help

    I'm not aware of a way to do that from Aperture but it should be possible to script that ability.
    Just run through all the images and have the script output the EXIF data you want. Not to difficult if you have any  Applescript experience. If not I'm afraid you will need to resort to your other options.
    regards

  • HT5373 My iPad calendar only retains a few months history even though I have it set for all entries. All my 2013 dates disappeared?

    My iPad calendar dropped all my prior year 2013, dates which I need fir reference purposes. I have my calendar set to retain all dates. What's wrong?

    Yes, just as you have outlined, but when I noticed the term of three months I changed it to all. I had previously changed it to all about three months ago when I noticed my calendar was only saving three months worth. Somehow the settings were changed back to three months - I had not been to that area of settings since I made the original change. It appears there must be standard settings that revert back when something triggers them. Can I recovered my lost calendar for 2013?

  • All Pam Desktop Data disappearing

    I had to re-install my Palm 6.2.2 software and when I synced with my Palm 650 no data was imported. I'm running Hotsync 7.02.
    I went to a friends PC and imported my data to a new config on his PC and e-mailed the exported date, contact, tasks and memo's to my e-mail address. I then imported the data to my Palm Desktop. All appears ok till I close the desktop and re-open it and the data is gone.
    I'm starting my Palm Desktop as the Admin since I'm running Vista.
    I've tried uninstalling, re-installing and repairing the software a few times, but that did not work. When I use the Outlook interface to sync, it works fine. I prefer to use the Pam Desktop instead of Outlook.
    Any ideas to resolve this problem? Thanks
    Post relates to: Treo 650 (Verizon)

    At this point I would clean uninstall Palm Desktop completely. I will give you instructions on how to do it just be very careful deleting the registry items. If you delete the wrong thing it will mess up your computer and that would not be good. First, make sure your device is disconnected from your PC.
    Open your Control Panel > Add/ Remove Programs > And remove Palm (or PalmOne)
    Go to Start > Run > type Regedit and run it. this will open your registry
    Delete the following folders:
    HKEY_Current_User\Software\PalmDesktopAutorun
    HKEY_Current_User\Software\Palm
    HKEY_Current_User\Software\Palmone
    HKEY_Current_User\Software\U.S. Robotics
    HKEY_Local_Machine\Software\PalmSource
    Done. Close the registry and restart your PC and install the new Palm Desktop. Go to http://www.palm.com/us/support/palmdesktop.html to download and reinstall Palm Desktop. I'm really hoping this solves your issue.
    Post relates to: Treo 800w (Sprint)

  • GPS data has disappeared from my photos in iphoto

    I imported photos into iphoto, edited (for hours) and shut program down. I have now gone back into the event and all the GPS Data has disappeared.  Can anyone help me?

    Sorry, for lack of info.  iPhoto '11 on Mountain Lion. The GPS data was on the photos, I had previously added it to the images via a Holux image tracker device and program.  While editing and sorting the photos in iphoto the GPS data was there as the images were marked on the map. I finished and closed iPhoto. I then opened it and exported the photos from the event I had just sorted/edited to a USB to use elsewhere. On returning to iPhoto I noticed that there was no information in Places.
    I created a new library and imported the images back into iPhoto (the new library just to not interfere with the first) from the USB. Still no place info.
    I checked preferences re auto inclusion of location info. Thanks for your help

  • After upgrading to Mavericks, all of my contacts disappeared. Did a "contacts archive" export and the file is 17mbs. Looks like there's data, but none of it at all displays. What gives? 20" iMac, early '09

    After upgrading to Mavericks, all of my contacts disappeared. Did a "contacts archive" export and the file is 17mbs. Looks like there's data, but none of it at all displays. What gives? 20" iMac, early '09

    After upgrading to Mavericks, all of my contacts disappeared. Did a "contacts archive" export and the file is 17mbs. Looks like there's data, but none of it at all displays. What gives? 20" iMac, early '09

  • After receiving a Generator error and prompt to restart. I restarted Photoshop and the app disappeared off my computer. How do I get it back. The cloud widget says it is all up to date?

    After receiving a Generator error and prompt to restart. I restarted Photoshop and the app disappeared off my computer. How do I get it back. The cloud widget says it is all up to date?

    CC desktop lists applications as "Up to Date" when they are not
    -http://helpx.adobe.com/creative-cloud/kb/aam-lists-removed-apps-date.html

  • All iCal data disappears after 10.4.3 update

    After updating to 10.4.3 all my iCal data was gone. I restored it using Backup and when I launched iCal it all appeared as normal—and then a few seconds later, poof, it all disappeared again right before my eyes. I tried making a new entry and at first it didn't seem to work, then all my iCal data reappeared for a few seconds, only to disappear again a few seconds later, leaving iCal "virgin" as if no entry had ever been made.
    The current iCal version is 2.0.3. I have tried erasing preferences and starting over again to no avail. I have also repaired the disk and the permissions with no improvement.
    Any suggestions anyone? This is one of the strangest OS X problems I have ever encountered.

    Yes,,, how did you solve the problem specifically from all the suggestions you got?
    I got a whole new powermac and used the migration assistant, but that didnt bring the information over for some reason (regarding iCal atleast, and some small unimportant pref files).
    I tried faking a 'subscribe' situation, a drag and drop, emailing the ics file, manually inputting them into the new machine's folder and so on but no go. And I dont have a .mac account to try pushing them over...

  • All calendar data disappeared and no TC backup calendar folder.

    All calendar data disappeared from two iphone5's, ipad 2, iMac and a PC simultaneously.  Apple folks are stumped.  Went to Time Capsule to look for calendar backups.  All iMac backups are there, but no calendar folder.  And suggestions or thoughts?

    Turned out that Apple tech support folks were the only solution possible.  Tried to restore calendar via TC, but calendar folder not visible and not instruction how to make it so.  New OS has made that folder not readily visible to the average, but tech support came up with a work around that is far too complicated to explain here.  Just give them a call.  Marvelous folks, and they live and work in the US of A!

  • GPS data does not show up in mobileme gallery or exif info of exported pics

    Hello,
    I used places to geotag some of my pictures.
    That went nicely, and I now have Latitude and Longitude Metadata entries
    in the exif part of the metadata displayed by Aperture.
    However, when I export these pictures to JPG, this information is gone;
    the metadata of the exported pic does not contain latitude/longitude information.
    Likewise, when publishing these pics to mobileme, no gps information is found in the
    "information" part.
    How do I write the gps data to the picture such that exports contain it and mobileme will display it?
    (Aperture 3.03)

    Similar to bjrnfrdnnd2, I have the 'Include location info in exported photos' button selected all the time in the Export Preferences. Unlike him however, the GPS information developed using Places (lat & long) does not get exported when I export photos. It is not present when I reimport the photo back into Aperture, nor does it show up in Preview when I examine the file using Inspector in the Tools menu (I export the Master File).
    Interestingly, if I export a photo from iPhoto with the include location info box checked, the GPS info does import into Aperture without problem AND, most strangely, will also export with the GPS information regardless of whether the 'Include location info in exported photos' is selected in the preferences or not. The same thing happens if I import a geotagged photo from my iPhone into Aperture; that is, the GPS information gets exported regardless of what the Preference setting is.
    Exactly the same thing happens on my MacBook.
    I've checked my disk for problems using DiskUtility, repaired the Aperture Library, tried using a new library and also deleted the Aperture preferences file and created a new one. All to not avail.
    All I can conclude is that depending on how the GPS data are input into Aperture (as part of a photo that is imported or as determined within Aperture using Places) the information is stored differently and so is attached (or not) differently to exported photos.
    Has anyone else experienced this issue or does anyone know what might be wrong here?
    Thanks

  • After importing images from my card using LR 5.4, the GPS data does not show in the metadata panel. However, when I look at the imported images using Bridge, the GPS data is visible. Anybody know why LR is not seeing the GPS data? Camera is Canon 6D.

    After importing images from my card using LR 5.4, the GPS data does not show in the metadata panel. However, when I look at the imported images using Bridge, the GPS data is visible. Anybody know why LR is not seeing the GPS data? Camera is Canon 6D.

    Ok, the issue seem to be solved. The problem was this:
    The many hundred files (raw and xmp per image) have been downloaded by ftp in no specific order. Means - a couple of files in the download queue - both raw and xmps. Most of the time, the small xmp files have been finished loading first and hence the "last change date" of these xmp files was OLDER than the "last change date" of the raw file - Lightroom then seem to ignore the existence of the xmp file and does not read it during import.(a minute is enough to run into the problem)
    By simply using the ftp client in a way that all large raw files get downloaded first followed by the xmp files, we achieved that all "last changed dates" of the xmp files are NEWER than the related raw files. (at least not older)
    And then LR is reading them and all metadata information has been set / read correctly.
    So this is solved.

  • All contacts, notes, calendars disappeared from my phone.  Trying to restore from earlier backup but no old backups show up under manage storage.

    Out of the blue, about 2 weeks ago all of my contacts, calendars and notes disappeared.  Messages are only displayed by the phone # they came from, not with contact's name.  When sending email I can type part of the email address in and the email from my contacts auto fills so I know the info is there somewhere.  I've followed the links for "restore from prior backup" and I get to the manage storage and my device.  I click the device and the only backup that shows is one from today, not the auto backups from before the mysterious data disappearance.  HELP!!!!!

    What happens if you go online to iCloud.com? Do you see your contacts or calendar there? If so, try going into Settings on the phone and turning off iCloud sync for calendar and contacts, then turn it back on. Are you syncing notes with iCloud, or with an email account?

  • -Why when I open same PDF in Photoshop in opens as blank page (all the graphic info disappears)??? -And why when I'm trying to measure a page in the "image size" (in order to send to client, for example) the graphic info disappears as well??

    -Why when I open same PDF in Photoshop in opens as blank page (all the graphic info disappears)???
    -And why when I'm trying to measure a page in the "image size" (in order to send to client, for example) the graphic info disappears as well??

    Hi Mac Attack,
    My computer will not disconnect from the internet.  It seems to find a clone router and continues even when I shut down and unplug my my own home iy
    Your main question was 'chopped' in the title. Please reply in the body of a reply box with the full question and anything you have tried. And no, the long report was not helpful .
    If the same website is opening each time you launch a browser (Safari?) hold down the shift key as you launch to prevent previous pages from opening.
    Have a look at your settings in Safari > Preferences. Especially General and Privacy.
    Reset Safari to remove cookies and other stored data.
    System Preferences > General
    Have a look at your settings in System Preferences >  Security & Privacy.
    Call back with more questions.
    Regards,
    Ian

  • Majority of GPS data Doesn't copy from iPhoto to Aperture 3

    Having spent lots of time and effort geo tagging old photos Apertures ability to use this seemed very useful. Having left my iMac copying all my pics to a new Aperture Library for a day (17,000 images) not all of my geotagged pictures are still geotagged in Aperture.
    Of 5934 pictures appearing in "Places" on iPhoto, only 1746 appear in "Places" on Aperture.
    From what I can tell, the 1746 photos are those photos that were geotagged when imported into iPhoto (iPhone pictures plus some more recent DSLR pics that I synced with a gps tracker using GPSPhotolinker).
    All the manually assigned photos - some 4200 odd - only have GPS data assigned to the iPhoto database reference of the photo, not the image itself. I tested this:
    1. In iPhoto, choose a manually tagged pic and goto Photos>Show Extended Photo Info. In the extended info are latitude and longitude references (the manual pin drop does collect this info)
    2. Download "GPS-info". This will display any GPS data stored in a file when selected in the Finder
    3. back to iPhoto, and with the same phoo selected in step 1, right click and select Show File. This will bring up the image location in a finder window
    4. Now open GPS-info, downloaded in step 2. This will show there is no GPS info stored in the image
    Repating the above steps for a photo tagged outside of iPhoto and GPS data is assigned and the image does appear in "Places" in Aperture.
    So basically, I'm a little hacked off the all my hard work seems to have been wasted. I'm hoping someone will read this and tell my how I'm being a prat and I should have done x, y and z, but please post your experiences with importing geotagged iphoto photos.
    Thanks!

    If anyone else was having this problem, my resolution is on here:
    http://discussions.apple.com/message.jspa?messageID=11151194#11151194

  • ExtendScript CS6 doesn't handle GPS data properly

    I prefer to work in Photoshop and Bridge, rather than Lightroom.  I am currently using version CS6 on Windows 7 x64.  I occasionally need to update the title, description and/or GPS information of a photograph. (I have many photographs that predate GPS systems.)  I also maintain different several JPEG versions of each photograph generated from a base PSD with different cropping and resolutions that are intended for different purposes.  I wrote a Bridge script to check and update the metadata of all versions of one or more images in a batch after updating PSD metadata.  The script works very well except for the GPS latitude and longitude data.
    The problem is that using the XMPMeta object that comes with ExtendScript Toolkit 3.8.0.13 (the latest version, I believe) the GPS coordinates are returned as string data in an "Adobe format", e.g. “35,24.3467N”. This format does not always accurately represent the underlying EXIF data.  (I have also written my own script for getting and setting the GPS data in Photoshop.)
    Furthermore, comparisons between PSD and JPEG formats are impossible because XMPMeta.getProperty only returns up to two decimal places for minutes when querying a PSD file, whereas it returns up to four decimal places for JPEGs.  I have checked the actual EXIF GPS data for a PSD image and a JPEG image generated from that PSD with EXIFTool and the data is identical, but XMPMeta.getProperty returns “35,24.3467N” from the JPEG and “35,24.35N” from the PSD. Setting GPS coordinates using four decimal places produces the same EXIF data for both PSD and JPEG images.
    The English translation of the “Exif Version 2.3” standard description for GPSLatitude states:
    The latitude is expressed as three RATIONAL values giving the degrees, minutes, and seconds, respectively. If latitude isexpressed as degrees, minutes and seconds, a typical format would be dd/1,mm/1,ss/1. When degrees and minutes are used and, for example, fractions of minutes are given up to two decimal places, the format would be dd/1,mmmm/100,0/1.
    It is clear that XMPMeta.getProperty does not always return a string that accurately represents the original EXIF data and it can be inconsistent between PSD and JPEG images.
    Is there some way to obtain an accurate representation of GPS data using ExtendScript?
    ...Jim

    I have seen some Photoshop Scripts on the Web the retrieve and use the exif GPG data.   But from what you write I would think your doing the same as those scripts do. Something like this:
    // Open Map from GPS Location.jsx
    // Version 1.0
    // Shaun Ivory ([email protected])
    // Feel free to modify this script.  If you do anything interesting with it,
    // please let me know.
    // JJMack I just used my sledge hammer on Shaun's Photoshop script
    // I sucked in his include file and removed his include statement
    // then I commented out his dialog and just Goolge Map the GPS location
    <javascriptresource>
    <about>$$$/JavaScripts/GoogleMapGPS/About=JJMack's Google Map GPS.^r^rCopyright 2014 Mouseprints.^r^rScript utility for action.^rNOTE:Modified Shaun's Ivory just Google Map GPS location</about>
    <category>JJMack's Action Utility</category>
    </javascriptresource>
    // Constants which identify the different mapping sites
    c_MapWebsites =
        "google",
        "mappoint",
        "virtualearth"
    var c_nDefaultMapWebsiteIndex = 2;
    var c_strTemporaryUrlFile = "~/TemporaryPhotoshopMapUrl.url";
    var c_strPhotoCaption = "Photo%20Location";
    // EXIF constants
    c_ExifGpsLatitudeRef   = "GPS Latitude Ref"
    c_ExifGpsLatitude      = "GPS Latitude"
    c_ExifGpsLongitudeRef  = "GPS Longitude Ref"
    c_ExifGpsLongitude     = "GPS Longitude"
    c_ExifGpsAltitudeRef   = "GPS Altitude Ref"
    c_ExifGpsAltitude      = "GPS Altitude"
    c_ExifGpsTimeStamp     = "GPS Time Stamp"
    c_ExifMake             = "Make"
    c_ExifModel            = "Model"
    c_ExifExposureTime     = "Exposure Time"
    c_ExifAperture         = "F-Stop"
    c_ExifExposureProgram  = "Exposure Program"
    c_ExifIsoSpeedRating   = "ISO Speed Ratings"
    c_ExifDateTimeOriginal = "Date Time Original"
    c_ExifMaxApertureValue = "Max Aperture Value"
    c_ExifMeteringMode     = "Metering Mode"
    c_ExifLightSource      = "Light Source"
    c_ExifFlash            = "Flash"
    c_ExifFocalLength      = "Focal Length"
    c_ExifColorSpace       = "Color Space"
    c_ExifWidth            = "Pixel X Dimension"
    c_ExifHeight           = "Pixel Y Dimension"
    function GetRawExifValueIfPresent(strExifValueName)
        // Empty string means it wasn't found
        var strResult = new String("");
        // Make sure there is a current document
        if (app.documents.length)
            // Loop through each element in the EXIF properties array
            for (nCurrentElement = 0, nCount = 0; nCurrentElement < activeDocument.info.exif.length; ++nCurrentElement)
                // Get the current element as a string
                var strCurrentRecord = new String(activeDocument.info.exif[nCurrentElement]);
                // Find the first comma
                var nComma = strCurrentRecord.indexOf(",");
                if (nComma >= 0)
                    // Everything before the comma is the field name
                    var strCurrentExifName = strCurrentRecord.substr(0, nComma);
                    // Is it a valid string?
                    if (strCurrentExifName.length)
                        // Is this our element?
                        if (strCurrentExifName == strExifValueName)
                            // Everything after the comma is the value, so
                            // save it and exit the loop
                            strResult = strCurrentRecord.substr(nComma + 1);
                            break;
        return strResult;
    // Convert a Photoshop latitude or longitude, formatted like
    // this:
    //      Example: 47.00 38.00' 33.60"
    // to the decimal form:
    //      Example: 47.642667
    // It returns an empty string if the string is in an unexpected
    // form.
    function ConvertLatitudeOrLongitudeToDecimal(strLatLong)
        var nResult = 0.0;
        // Copy the input string
        var strSource = new String(strLatLong);
        // Find the first space
        nIndex = strSource.indexOf(" ");
        if (nIndex >= 0)
            // Copy up to the first space
            strDegrees = strSource.substr(0, nIndex);
            // Skip this part, plus the space
            strSource = strSource.substr(nIndex + 1);
            // Find the tick mark
            nIndex = strSource.indexOf("'");
            if (nIndex >= 0)
                // Copy up to the tick mark
                strMinutes = strSource.substr(0, nIndex);
                // Skip this chunk, plus the tick and space
                strSource = strSource.substr(nIndex + 2);
                // Find the seconds mark: "
                nIndex = strSource.indexOf("\"");
                if (nIndex >= 0)
                    // Copy up to the seconds
                    strSeconds = strSource.substr(0, nIndex);
                    // Convert to numbers
                    var nDegrees = parseFloat(strDegrees);
                    var nMinutes = parseFloat(strMinutes);
                    var nSeconds = parseFloat(strSeconds);
                    // Use the correct symbols
                    nResult = nDegrees + (nMinutes / 60.0) + (nSeconds / 3600.0);
        return nResult;
    function GetDecimalLatitudeOrLongitude(strExifLatOrLong, strExifLatOrLongRef, strResult)
        var strResult = "";
        // Get the exif values
        strLatOrLong = GetRawExifValueIfPresent(strExifLatOrLong);
        strLatOrLongRef = GetRawExifValueIfPresent(strExifLatOrLongRef);
        // If we were able to read them
        if (strLatOrLong.length && strLatOrLongRef.length)
            // Parse and convert to a decimal
            var nResult = ConvertLatitudeOrLongitudeToDecimal(strLatOrLong);
            // If we are in the southern or western hemisphere, negate the result
            if (strLatOrLongRef[0] == 'S' || strLatOrLongRef[0] == 'W')
                nResult *= -1;
            strResult = nResult.toString();
        return strResult;
    function CreateGoogleMapsUrl(strLatitude, strLongitude)
        return "http://maps.google.com/maps?ll=" + strLatitude + "," + strLongitude + "&spn=0.01,0.01";
    function CreateMappointUrl(strLatitude, strLongitude)
        return "http://mappoint.msn.com/map.aspx?L=USA&C=" + strLatitude + "%2c" + strLongitude + "&A=50&P=|" + strLatitude + "%2c" + strLongitude + "|39|" + c_strPhotoCaption +"|L1|"
    function CreateVirtualEarthUrl(strLatitude, strLongitude)
        return "http://virtualearth.msn.com/default.aspx?v=2&style=h&lvl=17&cp=" + strLatitude + "~" + strLongitude + "&sp=an." + strLatitude + "_" + strLongitude + "_" + c_strPhotoCaption + "_";
    function CMapSiteSelection()
        // Initialize default map provider
        this.Site = c_MapWebsites[c_nDefaultMapWebsiteIndex];
        return this;
    function ShowMyDialog(strLatitude, strLongitude)
        // Use the default website
        var strCurrentSite = c_MapWebsites[c_nDefaultMapWebsiteIndex];
        dlgMain = new Window("dialog", "Choose a Map Website");
        // Add the top group
        dlgMain.TopGroup = dlgMain.add("group");
      dlgMain.TopGroup.orientation = "row";
      dlgMain.TopGroup.alignChildren = "top";
      dlgMain.TopGroup.alignment = "fill";
        // Add the left group
        dlgMain.TopGroup.LeftGroup = dlgMain.TopGroup.add("group");
        dlgMain.TopGroup.LeftGroup.orientation = "column";
        dlgMain.TopGroup.LeftGroup.alignChildren = "left";
        dlgMain.TopGroup.LeftGroup.alignment = "fill";
        dlgMain.AspectRatioGroup = dlgMain.TopGroup.LeftGroup.add("panel", undefined, "Map Website");
        dlgMain.AspectRatioGroup.alignment = "fill";
        dlgMain.AspectRatioGroup.orientation = "column";
        dlgMain.AspectRatioGroup.alignChildren = "left";
        // Add radio buttons
        dlgMain.virtualEarth = dlgMain.AspectRatioGroup.add("radiobutton", undefined, "Windows Live Local (aka Virtual Earth)");
        dlgMain.virtualEarth.onClick = function virtualEarthOnClick()
            strCurrentSite = "virtualearth";
        dlgMain.mappoint = dlgMain.AspectRatioGroup.add("radiobutton", undefined, "MSN Maps && Directions (aka MapPoint)");
        dlgMain.mappoint.onClick = function mappointOnClick()
            strCurrentSite = "mappoint";
        dlgMain.google = dlgMain.AspectRatioGroup.add("radiobutton", undefined, "Google Local (aka Google Maps)");
        dlgMain.google.onClick = function googleOnClick()
            strCurrentSite = "google";
        // Set the checked radio button
        if (strCurrentSite == "google")
            dlgMain.google.value = true;
        else if (strCurrentSite == "mappoint")
            dlgMain.mappoint.value = true;
        else
            dlgMain.virtualEarth.value = true;
        // Add the button group
        dlgMain.TopGroup.RightGroup = dlgMain.TopGroup.add("group");
        dlgMain.TopGroup.RightGroup.orientation = "column";
        dlgMain.TopGroup.RightGroup.alignChildren = "left";
        dlgMain.TopGroup.RightGroup.alignment = "fill";
        // Add the buttons
        dlgMain.btnOpenSite = dlgMain.TopGroup.RightGroup.add("button", undefined, "Open");
        dlgMain.btnClose = dlgMain.TopGroup.RightGroup.add("button", undefined, "Exit");
        dlgMain.btnClose.onClick = function()
            dlgMain.close(true);
        dlgMain.btnOpenSite.onClick = function()
            // Which website?
            var strUrl = "";
            switch (strCurrentSite)
            case "mappoint":
                strUrl = CreateMappointUrl(strLatitude, strLongitude);
                break;
            case "google":
                strUrl = CreateGoogleMapsUrl(strLatitude, strLongitude);
                break;
            case "virtualearth":
            default:
                strUrl = CreateVirtualEarthUrl(strLatitude, strLongitude);
                break;
            // Create the URL file and launch it
            var fileUrlShortcut = new File(c_strTemporaryUrlFile);
            fileUrlShortcut.open('w');
            fileUrlShortcut.writeln("[InternetShortcut]")
            fileUrlShortcut.writeln("URL=" + strUrl);
            fileUrlShortcut.execute();
        // Set the button characteristics
        dlgMain.cancelElement = dlgMain.btnClose;
        dlgMain.defaultElement = dlgMain.btnOpenSite;
        dlgMain.center();
        return dlgMain.show();
    function GoogleMap(strLatitude, strLongitude)
      strUrl = CreateGoogleMapsUrl(strLatitude, strLongitude)
      try{
      var URL = new File(Folder.temp + "/GoogleMapIt.html");
      URL.open("w");
      URL.writeln('<html><HEAD><meta HTTP-EQUIV="REFRESH" content="0; ' + strUrl + ' "></HEAD></HTML>');
      URL.close();
      URL.execute();   // The temp file is created but this fails to open the users default browser using Photoshop CC prior Photoshop versions work
      }catch(e){
      alert("Error, Can Not Open.");
    function OpenMapUrl()
        // Get the latitude
        var strDecimalLatitude = GetDecimalLatitudeOrLongitude(c_ExifGpsLatitude, c_ExifGpsLatitudeRef);
        if (strDecimalLatitude.length)
            // Get the longitude
            var strDecimalLongitude = GetDecimalLatitudeOrLongitude(c_ExifGpsLongitude, c_ExifGpsLongitudeRef);
            if (strDecimalLongitude.length)
                //ShowMyDialog(strDecimalLatitude, strDecimalLongitude);
      GoogleMap(strDecimalLatitude, strDecimalLongitude);
    function Main()
        if (app.documents.length > 0)
            OpenMapUrl();
        else
            alert("You don't have an image opened.  Please open an image before running this script.");
    Main();

Maybe you are looking for

  • Share contacts not working

    When I choose "share contact" and send to an email address, all that's showing up is gibberish (to be more specific, the vcard information is showing up as HTML coding and not as an attachment). My brother sent a contact to me from his iPhone to test

  • FU4CIListener build.xml not setting properties?

    I am following the Ant Task Setup.  I have flex sdk 3.6.0.X, apache-ant 1.8.2 and the flexunit source 4.1.0. When I run > ant -v clean package function(){return A.apply(null,[this].concat($A(arguments)))} Apache Ant(TM) version 1.8.2 compiled on Dece

  • OS-Authentication  for a Oracle 10g Express Edition

    I want to use OS-Authentication for an Oracle 10g Express Edition. What value must be set in sqlnet.ora ? Where are the possible authentcation modes described ? I only found the description KERBEROS5. I tryed the value all, but with all no connect is

  • Steps to create dblink?

    I have two separate Oracle 10g Database windows server and i want to create dblink in between them please let me know the complete steps to accomplish successful dblink Thanks, Waheed.

  • To know about the delta fields in VBPA

    Hi, Does anyone know how to get delta records for VBPA since it doesn't have date and and time fields. Thanks, GK