How to write EXIF/GPS data to masters?

I have an Aperture library captured with a non-GPS camera. I added geotagging data through Aperture, but am now migrating to Lightroom. Obviously I want to import my masters into Lightroom without losing geotagging/GPS information, but it's also obvious that Aperture will not write EXIF data to masters (other than time/date, and it doesn't seem to be doing that right, either).
I have installed the Maperture plugin, and while Maperture can see my Aperture-made geotags, it will only write GPS data to masters if you change the Aperture data: simply clicking the "save" button without altering the geotag results in no action.
I also have the trial version of HoudahGeo installed. This won't seem to do the job, either, as it only recognizes about 70% of my pictures. For example, if I select an Aperture project with 17,000 images (all geotagged), it only recognizes the library as containing 11,000 images. Even worse, it only recognizes about 1,000 of those images as containing GPS data.
Are there any other options for writing this GPS data to my masters? Thanks for your assistance.

Thanks for the suggestion, Karen.
My library has been rebuilt recently, so I don't think it's a library issue. It affects all project, and it's not a matter of it simply not recognizing alternate versions or stacks. It just simply is recognizing about 30-40% of the pictures in any given library.
On other issue I'm having with Aperture is that it isn't handling date and time adjustments very well: in addition to adjusting the time/date in the way requested, it also shifts the time zone to my current time zone, EST. For example, I might have an image from China with the EXIF time of 7:30pm, UTC+8. I use "Adjust Time and Date" to set the time to 8:00pm. The end result is an image with the time of 8:00am, UTC-4 (EST). While the adjustment has offset the time by the correct amount, it has also changed the time zone for some reason. I understand that a simply workaround would simply be to use the time zone adjustment to achieve the same effect, but it's not always possible and shouldn't be necessary. I very much doubt this has anything to do with he HoudahGeo issue, though.

Similar Messages

  • How to write the oracle data as XML format. (.XML file)

    create or replace procedure pro(p_number )
    is
    cursor c1 is select *from emp where empno=p_number;
    v_file utl_file.file_type;
    begin
    v_file := utl_file.fopen('dirc','filename.txt','w');
    for i in c1 loop
    utl_file.put_line(v_file,i.ename || i.empno ||i.job);
    end loop;
    closef(v_file);
    end;
    Now my client want instead of .txt file he need .xml files
    File should contains xml tags. can any one help regarding this.. with one example.
    How to write the oracle data as XML format. (.XML file)

    hi,
    hope this example will do something....
    SQL> select employee_id, first_name, last_name, phone_number
    2 from employees where rownum < 6
    EMPLOYEE_ID FIRST_NAME LAST_NAME PHONE_NUMBER
    100 Steven King 515.123.4567
    101 Neena Kochhar 515.123.4568
    102 Lex De Haan 515.123.4569
    103 Alexander Hunold 590.423.4567
    104 Bruce Ernst 590.423.4568
    SQL> select dbms_xmlgen.getxml('select employee_id, first_name,
    2 last_name, phone_number from employees where rownum < 6') xml
    3 from dual;
    *<?xml version="1.0"?>*
    *<ROWSET>*
    *<ROW>*
    *<EMPLOYEE_ID>100</EMPLOYEE_ID>*
    *<FIRST_NAME>Steven</FIRST_NAME>*
    *<LAST_NAME>King</LAST_NAME>*
    *<PHONE_NUMBER>515.123.4567</PHONE_NUMBER>*
    *</ROW>*
    *<ROW>*
    *<EMPLOYEE_ID>101</EMPLOYEE_ID>*
    *<FIRST_NAME>Neena</FIRST_NAME>*
    *<LAST_NAME>Kochhar</LAST_NAME>*
    *<PHONE_NUMBER>515.123.4568</PHONE_NUMBER>*
    *</ROW>*
    *<ROW>*
    *<EMPLOYEE_ID>102</EMPLOYEE_ID>*
    *<FIRST_NAME>Lex</FIRST_NAME>*
    *<LAST_NAME>De Haan</LAST_NAME>*
    *<PHONE_NUMBER>515.123.4569</PHONE_NUMBER>*
    *</ROW>*
    *<ROW>*
    *<EMPLOYEE_ID>103</EMPLOYEE_ID>*
    *<FIRST_NAME>Alexander</FIRST_NAME>*
    *<LAST_NAME>Hunold</LAST_NAME>*
    *<PHONE_NUMBER>590.423.4567</PHONE_NUMBER>*
    *</ROW>*
    *<ROW>*
    *<EMPLOYEE_ID>104</EMPLOYEE_ID>*
    *<FIRST_NAME>Bruce</FIRST_NAME>*
    *<LAST_NAME>Ernst</LAST_NAME>*
    *<PHONE_NUMBER>590.423.4568</PHONE_NUMBER>*
    *</ROW>*
    *</ROWSET>*
    ask if you want more assistance.
    thanks.

  • How to write and read data in a specific memory location ??

    Hi Everyone:
    Does anyone know how to write and read data in a specific memory location by using Java ?
    I need pointers, but I don't know how to do it ??
    Thanks for answering
    Rodger

    Hi Everyone:
    Does anyone know how to write and read data in a
    specific memory location by using Java ?
    I need pointers, but I don't know how to do it ??
    Thanks for answering
    RodgerWith Java you cannot write to a specific memory location. Java does not have pointers. If you really want to do it, you need to use JNI, i.e write the required functions in C (or other languages that support pointers) and make those functions available to Java (through JNI). This approach is not portable. You can have a look at http://java.sun.com/docs/books/tutorial/native1.1/index.html
    Regards.

  • How to delete/update GPS data using Lightroom?

    Title says it all, but I'll explain why I need it.
    I have a Sony SLT A55 which is apretty good camera, it has a GPS.
    The way GPS work in this camera is it gets a fix, and then updates every undetermined time the position. That's okay, what is stupid in its design is, if you haven't taken pics in let's say 24 hrs. and you move several miles away and start shooting indoors (no GPS signal available) it will mark all your pics with your last known position, so now I have several photographs with a location I left several DAYS ago. I'd prefer the camera not to record GPS data than having a wrong location, but that's another thing for the Sony forums.
    So, now I want to delete (or update would be another option) the GPS data from the pics that are tagged with wrong locations.
    I'm shooting RAW,
    Is there any way to do it inside Lightroom?

    I’m a Nikon user, and here’s how I geotag my images when I want to (not very often). I use a Nokia N95 smart phone and Nokia Sports Tracker to track coordinates with timestamps. I use Nikon’s ViewNX2 to import the images from my camera (or card) to the final destination (folder) of the images. I also transfer the log file from the Sports Tracker to my computer. Then I use ViewNX2 to geotag the most recently imported set of images with the log file from the Sports Tracker. (I don’t know why but I have to adjust the time offset by one hour, fortunately this setting is sticky so I don’t have to do it every time). When the images are geotagged, I do an in-place import in Lightroom, and Lightroom recognizes the GPS coordinates.
    ViewNX2 is a free download, and I think this scheme can be used to geotag jpg of tif images from any camera. The raw file capability of ViewNX2 is understandably restricted to Nikon cameras. You could try Geosetter, another free download. The problem with my system is that Geosetter did not understand the log files of my Nokia N95. GPSBabel can translate the log files to a format acceptable to Geosetter, but since ViewNX2 does importing and geotagging (and time-offsetting the N95 log file), I have no need for additional programs.
    WRT to the original question ("how to delete/update...") you could try the following: write all metadata (keywords, settings) to your master image files in LR. Then use Geosetter or some other additional tool to modify the GPS data or the affected images. Finally, synchronize the images back to Lightroom, and select the option to use metadata from the images (instead of LR's catalog).
    Best regards
    Antero

  • How to check image GPS data and get image file from image field

    Hello,
    I have some trouble and want to fix this problem.
    1. I want to validate image file before its attached in image field about the image file have a GPS data or not. Have any way that can be check about image has contained a GPS data?
    2. After validate image and PDF form is upload to the server. I want to get image file that embed in image field, because I have to extract image from PDF form and store this image in project image folder. If this topic can be fix by code script please give me some example code.
    Thakyou for every comment and suggestion
    Best Regards,
    Mai

    Hi Naill,
    First I have to say thankyou for your answer.
    About my (1) question, My image fields have set to be a embedded data and I try to test many example script of image fields.I can get image content type, image size. But that not work when I used ImageField1.desc.embeddedHref.value. It's response as "Unknown Embedded URI". Therefore, image field is and embedded data. How can I access filename?
    (2) In that forum. As I see, his problem is about how to automate change image field with href image file. But I want to extract an exist embedded image in PDF form to normal image file with original metada (such as extract image filed to .JPEG with GPS data. Same as before attached in PDF form.). There has any concept or solution in this problem?
    Best Regards,
    Mai

  • How to  write  internal table data vertically . Records vertically.

    Hi pals,
          How to write internal table records vertically .
    suppose the records are
    a1 a2 a3
    b1 b2 b3
    we need to display
    a1  b1
    a2  b2
    a3  b3
    Thanks in advance.
    balaji.T

    Just check the code
    DATA: BEGIN OF itab OCCURS 0,
            f1 TYPE i,
            f2 TYPE i,
            f3 TYPE i,
          END OF itab.
    DATA pos TYPE i.
    "Define your lines where you want to print here...
    DATA line1 TYPE i VALUE 10.
    DATA line2 TYPE i VALUE 12.
    DATA line3 TYPE i VALUE 14.
    itab-f1 = '1'.
    itab-f2 = '10'.
    itab-f3 = '100'.
    APPEND itab.
    itab-f1 = '2'.
    itab-f2 = '20'.
    itab-f3 = '200'.
    APPEND itab.
    itab-f1 = '3'.
    itab-f2 = '30'.
    itab-f3 = '300'.
    APPEND itab.
    itab-f1 = '4'.
    itab-f2 = '40'.
    itab-f3 = '400'.
    APPEND itab.
    loop at itab.
    write : / itab-f1,itab-f2,itab-f3.
    endloop.
    LOOP AT itab.
      pos = pos + 10.
      SKIP TO LINE line1.
      POSITION pos.
      WRITE itab-f1.
      SKIP TO LINE line2.
      POSITION pos.
      WRITE itab-f2.
      SKIP TO LINE line3.
      POSITION pos.
      WRITE itab-f3.
    ENDLOOP.

  • How to write non-XML data to a file using an OSB FTP Routing?

    Hi --
    Situation ... I need to write non-XML data to a file using FTP. A proxy service retrieves XML and transforms it with XSLT to CSV format, then gives it to a Biz service to file it out, using FTP. Simple.
    Problem ... OSB sends the contents of $body to any service it calls. Because $body is a SOAP document, it has to contain XML. So therefore I have to put my CSV data into an XML element, in order to put it into $body; and this inner element then gets written to the file, which I don’t want. But if I don't enclose my CSV content in a tag, I get "Unexpected CDATA encountered" trying to assign it to a variable.
    There has to be away around this!
    Thanks for your help.
    John Taylor

    Solved. Steps:
    -- Transform the XML to CSV using an XSL transform. Put the CSV data inside enclosing XML elements, and use a Replace action to put the XML element + CSV contents back into *$body*.
    -- Define an MFL transform that only knows about the enclosing XML elements. Use a delimiter of "\n" (hard return).
    -- Route from the proxy service to a Biz service that has Service Type = Messaging Service and Request Message Type = MFL; specify the MFL transform, which will receive the incoming *$body* variable, strip off the enclosing XML element within it, and pass the CSV contents to the FTP service.
    Edited by: DunedainRanger on Nov 29, 2011 9:03 AM

  • How to Write Waveform graph data to Text File with user option to do so

    So, I'm new to labview and am having trouble writing one program in particular.  I have a waveform graph that runs for 120 seconds generating a sine curve.  I am, however, having a difficult time getting the program to write the x and y coordinates into a text file.  I have attached what I have so far.  
    The first task I was assigned was to write a program that creates a snusoidal curve on the front pannel adding one data point each half second for 120 seconds.  The plot should only start when the user presses a start button.
    The next part involves giving the user an option to write the generated data to a spreadsheet file called "sine.txt".  The file name and location should be hardcoded.  The file should contain the x and y coordinates of each data point in columns separated by tabs, also known as delimited.
    I have spent several hours tweaking the attached program and I just can't seem to get it to work right.  Any suggestions would help at this point.
    Sincerely,
    A frustrated chemistry student whose research mentor is out of town
    Solved!
    Go to Solution.
    Attachments:
    Sinusoidal Curve (saving to excel).vi ‏45 KB

    First, you are not creating Excel files.  You are creating text files.  And it seems that your Write to file is already creating X (time) vs. Y (data curve) that is tab delimited.
    Everything else you are doing is just too complicated or a Rube Goldberg.
    All you need is the attached.
    Attachments:
    Sinusoidal_Curve_(saving_to_Text_file).vi ‏69 KB

  • How to write ticked checkbox data in a servlet to a flat file

    I display data on the screen with check boxes beside each name. When i check the neccessary check boxes how can i write only the cked ones to a text file

    I display data on the screen with check boxes beside
    each name. When i check the neccessary check boxes how
    can i write only the cked ones to a text fileTWO THINGS: If you ALREADY have data in the textfields/textareas BEFORE you check the checkbox, then have an Actionlistener ready for the relevant checkbox, so that as soon as its checked:
    //In the action listener for the checkbox
    String the_data = jTextField.getText();
    //Now call your serializer
    If you dont have data ready, and you put it on and then check the checkboxes you want or you check the checkbox to enable its jtextfield, then you'll need some other mechanism to activate the serialization through the actionlistener, like a button.
    In either case, its the same old story......an ActionListener that just calls a serialization mechanism for a simple string into a file.

  • How to write & search array data in a file

    hi
    Can anyone give me an idea about writing an array into a file by placing
    each array element in a line and how to search an array element
    from that file.
    Thanks in advance

    Well, you can serialize any object - and of course re-read it.
    See http://java.sun.com/j2se/1.5.0/docs/api/java/io/ObjectOutputStream.html for an example.
    The easiest way would be to create an encapsulating object, which you then fill with any data you want to serialize. For example:
    class mySerializableContainer implements Serializable{
       public int[][] myArray;
       public String name;
    }All you have to do, is to make sure that every attribute you want to serialize also includes the Serializable interface.
    So, you don't write one Array after another in your file, but only one object - but make this object as flexible as you need to.

  • 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

  • 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();

  • GPS data in Aperture not saved to files

    Hi there
    I have been using Aperture for a while and love it! Recently I purchased a DSLR and upon importing into Aperture, I manually added the locations to the files. Whenever I view the places feature for my library, I can see pins on the map so I know its been saved correctly.
    When I imported the files, I ensured the import was "file system" and so hopefully Aperture doesnt save it into it's own library.
    Unfortuantely, when I try and view the EVIF GPS data in Photoshop for these files, the GPS value is empty. If I manually export the file, the data is there, but somehow the files are smaller in file size (even though I chose JPEG Original Size).
    Is there a way for me to make GPS changes in Aperture and for it to be automatically saved to the actual file instead of me going through the process of exporting it?
    Thanks!

    Aperture does write the GPS data only to the versions, when you are assigning a place, not to the EXIF tags of the original files.
    So you will need to export the edited version to write the GPS to an image file.
    If I manually export the file, the data is there, but somehow the files are smaller in file size (even though I chose JPEG Original Size).
    "JPEG Original Size" refers to the pixel size, not the file size. You could try to increase the image quality settings in the "JPEG Original Size" export preset. Select this preset in the export panel and then switch to "Edit". This will allow you to increase the "image Quality" by adjusting the slider. Or select a "Tiff" preset, to export losslessly.
    Another work-around would be to use exiftool to set the GPS tags on your originals, if you are experienced with the Terminal (see:                  Modifying EXIF tags of Originals Using exiftool: camera, lens, gps)
    I usually do the geocoding before importing the image files to Aperture with Jetphoto Studio, but that is not a free application.
    Regards
    Léonie

  • Write / store xml data in Xe and retrieve stored data using pl/sql

    Hi to all,
    i'm searching a tutorial on:
    A - how to write / store xml data in Xe and retrieve stored data using pl/sql
    I don't want to use other technologies, because i use htmldb and my best practice is with pl/sql.
    I was reading an ebook (quite old maybe) however it's about oracle 9 and it's talking about xmltype:
    1 - I don't understand if this is a user type (clob/varchar) or it's integrated in Oracle 9 however i will read it (it's chapter 3 titled Using Oracle xmldb).
    Please dont'reply here: i would be glad if someone can suggest me a good tutorial / pdf to achieve task A in Oracle XE.
    Thanx

    Thank you very much Carl,
    However my fault is that i've not tried to create the table via sql plus.
    Infact i was wrong thinking that oracle sql developer allows me to create an xmltype column via the create table tool.
    however with a ddl script like the following the table was created successfully.
    create table example1
    keyvalue varchar2(10) primary key,
    xmlcolumn xmltype
    Thank you very much for your link.
    Message was edited by:
    Marcello Nocito

  • How do I view GPS location on a map

    If a photo has been tagged with EXIF GPS data, is there a way to right click that image or run an applescript that goes to something like google maps on your browser or google earth and shows u the location of the image? I am not looking for a solution that exports your photo to a service like Flikr or the like, just something that shows location only.
    Thanks in advanced.

    Not with iPhoto 5, I don't think so. In later version, you could possibly develop an applescript to do this but is v5 even aware of the GPS tagging data?
    Regards
    TD

Maybe you are looking for

  • How do I get external speakers to run on my Bootcamp Windows 7 partition?

    I have an intel based iMac and am running Windows 7 on bootcamp. I use the bootcamp partition more than the Mac. I hooked up some external speakers to the iMac and they function fine when running the Mac OS but they don't work when running Windows 7.

  • [NOT REALLY] Pacman recognizes an update which is not an update.

    Hi, I've updated and compiled myself the packages for the MinGW32 system and installed them. The packages were:  mingw32-binutils (from 2.19.1 to 2.20.1), mingw32-runtime (from 3.15.2 to 3.18), mingw32-w32api (from 3.13 to 3.14) and mingw32-gcc (from

  • How do I add Security Devices during Firefox deployment?

    I recently found a method to at PKI CAC support to FF, but this is a manual method that would need to be done to each system. Is there a way to deploy a security device that could replicate this process?

  • Model entry point 'test uuts' could not be executed error -18002

    Hi, I am running a testand(2.0.1f1) sequence of labview (7.0) steps and it is working perferctly in my computer , but when installing testand and labview in another computer and I try to run my sequence the next message appears. "model entry point 't

  • How to Create Portal Service in Portal 7.3

    Dear Experts, how to create the Portal Service in Portal 7.3, as we create in Portal 7.0 by creating the Portal Project in that we create Portal Service and we can start and stop in Portal Service configuration in System Administration Thanks, Sagar