Plotting GPS data in Diadem

I am analyzing some GPS data and I want to visualize the data on google maps. I remember seeing an exmaple on this topic ( google maps and Diadem interface) but cannot seem to find it anywhere.
I am using Diadem 11.1.0 and I doubt the GPS functionality is not available for this version ?
Please suggest alternate ways  to visualize this if possible.
Thanks
Vamshi

Hello Vamshi,
The GPS plotting functionality became available with DIAdem 2010, and is available as part of the Professional version of DIAdem.
It uses Open Street Map (not Google maps) due to Google licensing restrictions. You can see the maps here: http://www.openstreetmap.org/
You can download the DIAdem 2010 evaluation version here by selecting the "Evaluate DIAdem" section: http://www.ni.com/diadem/
DIAdem offers DataPlugins for GPX and NMEA GPS files, so these can be loaded very easily and then added to a map.
Please ask if you have additional questions,
     Otmar
Otmar D. Foehner
Business Development Manager
DIAdem and Test Data Management
National Instruments
Austin, TX - USA
"For an optimist the glass is half full, for a pessimist it's half empty, and for an engineer is twice bigger than necessary."

Similar Messages

  • Plotting data in diadem via LV

    Is it possible to plot data in diadem by specifying the x and y axes values from LV at runtime? I am looking for a solution something like:
    1. Load data into Diadem(give the command from LV).
    2. Load layout into diadem(give the command from LV).
    3. Specify the channels to be plotted from LV.
    4. Plot data
    5. Stop
    Thanks,
    Yash
    Solved!
    Go to Solution.

    Hi Yash,
    Please can you have a look at this piece of example code, I think it does what you have requested.
    You will need to build up a customised array to insert the different channels. You will also need to know the name of your axis system in DIAdem, you can find this by hovering over the axis system in the report view of DIAdem and looking in the status bar at the bottom left of the application window.
    Regards
    JamesC
    NIUK and Ireland
    It only takes a second to rate an answer

  • Nokia Map vs GPS Data

    New owner of the 6220 classic. Can anyone tell me something about the relation between the Nokia Maps applicaton and the app called GPS Data?
    Sven

    Nokia Maps is a navigation software which allows you to plot you position on a map and also allows you to navigate to a known destination on the map.
    GPS Data on the other hand gives you raw information such as your location in coordinate form (latitude/longitude), speed etc., and has no navigation function. It will also point you towards your destination but purely in vector form.

  • I purchased a Holux M-1200E Bluetooth GPS Data Logger.  The device paired with my laptop just fine so I know it is working right.  The device will not even show up on my iphone or ipad to pair via bluetooth.  Is there a way to pair without jailbreaking???

    I purchased a Holux M-1200E Bluetooth GPS Data Logger.  The device paired with my laptop just fine so I know it is working right.  The device will not even show up on my iphone or ipad to pair via bluetooth.  Is there a way to pair without jailbreaking???  I haven't had any trouble to date pairing any devic with my iphone or ipad, this is ridiculous!!!!  Is there a way to update my bluetooth settings on my iphone 4s to be able to have this device be recognized???  I love my apple devices, but this is very frustrating.  I bought this Data Logger for a specific purpuse to help out with my Search and Rescue volunteer activities, and I really need help with this!!!  I am hoping apple will help me!!!
    Thanks,
    Melissa

    melissafromlenexa wrote:
    That is not the right device, it is the
    Holux
    M-1200E Bluetooth GPS Logger
    I looked at the same sight for that and it does not say that.  This is the first time I have posted a question, you don't have to be mean about it.  I am trying to get this to work for a good cause. 
    It may be the best source of assistance is the manufacturer of the device. I suspect you will need a specific app for the iPhone to get it to work, but the site is rather ambiguous about that.

  • Pictures with GPS-data will not be shown in list-view (PSE 11, Win7)

    A lot of pictures of my collection do have GPS-data in EXIF-header. Sometimes they are shown on the world-map, sometimes not. In list-view they are never shown. The list-view knows only locations, which are matched with PSE.
    The EXIF-input was made by two different tools (Holux GPS Software and Geosetter 3.4.16).
    How can I get the list-view for the saved files without using PSE adding location?

    Many modern cameras add GPS co-ordinates and these will usually show in the info panel of the Media module under Camera Data >> GPS
    I guess your exif tools work differently to a camera. Are you able to embed the metadata into the image files before importing into PSE Organizer?

  • How to load a range of data in Diadem?

    Hello; I have a set of Access DB containing analytic data of 5 jears. How can I import a range of data (eg. all year 2003 data)in Diadem for analysis?
    Thank's

    Thank's,
    but I couldn't choose explizit the time channel. Also I couldn't set a command like 'between 1.1.2003 and 31.12.2003'. Attached is an exemple of the dataset. The time channel is '50_DAT'.
    It would be nice to get an answer.
    Thank's Matthias
    Attachments:
    B0P2DAT8_50.MDB ‏400 KB

  • Reading GPS Data from a Bluetooth Receiver

    I have a problem when I connect my mobile to a Bluetooth GPS Receiver using the JSR 82 BTAPI.
    My mobile is reading the NMEA data from the GPS Receiver and analizes the data. The NMEA data from the GPS Receiver is delivered every second.
    It works fine for a few minutes. After approximately 5 minutes my mobile hangs (the screen freezes).
    I am using a Siemens S65 (MIDP-2.0, CLDC-1.0).
    InputStream in = null;
    StreamConnection conn = null;
    conn = (StreamConnection) Connector.open(BtsppURL);
    in = conn.openInputStream();
    ByteArrayOutputStream bytearrayoutputstream = new ByteArrayOutputStream();
    int ch = 0;
    //each NMEA Message ends with <CR><LF>
    while ( (ch = in.read()) != '\n') {
              bytearrayoutputstream.write(ch);
    bytearrayoutputstream.flush();
    byte[] b = bytearrayoutputstream.toByteArray();
    String gpsStr = new String(b);Thx for any suggestions,
    RH.

    Hello RH -
    I hope you've resolved your problem by now, but a related problem I've seen under Java - both on Nokia and Siemens phones, is in creating/destroying threads.
    If the BT reading thread is being created and destroyed, this will stop working after a short period of time in my experience.
    Instead, launch a thread to read the GPS data - say every second or two - and implement the timer.sleep inside the thread.
    I'm experiencing the "BT Error Code 4" though on the Siemens S65 phone (a number of posts about this on Siemens Forum), hopefully will have this resolved today.
    Best,
    -- Rich Moore

  • I'm doing a scan around a line by sampling data 360 degrees for every value of z(z is the position on the line). So, that mean I have a double for-loop where I collect the data. The problem comes when I try to plot the data. How should I do?

    I'm doing a scan around a line by sampling data 360 degrees for every value of z(z is the position on the line). So, that mean I have a double for-loop where I collect the data. The problem comes when I try to plot the data. How should I do?

    Jonas,
    I think what you want is a 3D plot of a cylinder. I have attached an example using a parametric 3D plot.
    You will probably want to duplicate the points for the first theta value to close the cylinder. I'm not sure what properties of the graph can be manipulated to make it easier to see.
    Bruce
    Bruce Ammons
    Ammons Engineering
    Attachments:
    Cylinder_Plot_3D.vi ‏76 KB

  • Want to Strip GPS Data from Photos

    Does anyone know an easy way to get iWeb to strip the GPS data out of photos being published as part of the Web pages? The box in the iPhoto preferences to include location data in published images is unchecked, but this only seems to affect MobileMe galleries, not iWeb.
    Steve

    Sorry, I should clarify. I am dealing with my daughter's pages, and don't use iWeb that much myself. I realize the PNG images on the regular pages don't have this issue. The issue is if there is a photo page and sharing is allowed so visitors can download an image, the downloaded JPG file has the GPS coordinates in the Exif data. We would like to allow sharing, but get rid of the GPS Exif data without undue hassle (exporting and re-importing images, etc. etc.)
    Steve

  • 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.

  • GPS data without a FIX

    Hello
    I couldn´t finish the Part 1 of Homework 3 because my GPS didn't react when plugged on USB with the TTL cable (the FIX led didn't blink). Even though the FIX led blinks with one second rate when the GPS is on the breadboard, using GPIO.
    I write some code to get GPS data, just to print it on console, and besides it didn't get a FIX (the led still blinks on the one second rate), I got the data below (a sample of it):
    $GPGGA,003345.799,,,,,0,0,,,M,,M,,*4E$GPGSA,A,1,,,,,,,,,,,,,,,*1E$GPRMC,003345.799,V,,,,,0.00,0.00,060180,,,N*44$GPVTG,0.00,T,,M,0.00,N,0.00,K,N*32$GPGGA,003346.799,,,,,0,0,,,M,,M,,*4D$GPGSA,A,1,,,,,,,,,,,,,,,*1E$GPRMC,003346.799,V,,,,,0.00,0.00,060180,,,N*47$GPVTG,0.00,T,,M,0.00,N,0.00,K,N*32$GPGGA,003347.799,,,,,0,0,,,M,,M,,*4C$GPGSA,A,1,,,,,,,,,,,,,,,*1E$GPRMC,003347.799,V,,,,,0.00,0.00,060180,,,N*46$GPVTG,0.00,T,,M,0.00,N,0.00,K,N*32$GPGGA,003348.799,,,,,0,0,,,M,,M,,*43$GPGSA,A,1,,,,,,,,,,,,,,,*1E$GPGSV,1,1,00*79$GPRMC,003348.799,V,,,,,0.00,0.00,060180,,,N*49
    $GPVTG,0.00,T,,M,0.00,N,0.00,K,N*32$GPGGA,003349.799,,,,,0,0,,,M,,M,,*42$GPGSA,A,1,,,,,,,,,,,,,,,*1E$GPRMC,003349.799,V,,,,,0.00,0.00,060180,,,N*48$GPVTG,0.00,T,,M,0.00,N,0.00,K,N*32$GPGGA,003350.799,,,,,0,0,,,M,,M,,*4A$GPGSA,A,1,,,,,,,,,,,,,,,*1E$GPRMC,003350.799,V,,,,,0.00,0.00,060180,,,N*40$GPVTG,0.00,T,,M,0.00,N,0.00,K,N*32$GPGGA,003351.799,,,,,0,0,,,M,,M,,*4B$GPGSA,A,1,,,,,,,,,,,,,,,*1E$GPRMC,003351.799,V,,,,,0.00,0.00,060180,,,N*41$GPVTG,0.00,T,,M,0.00,N,0.00,K,N*32$GPGGA,003352.800,,,,,0,0,,,M,,M,,*47$GPGSA,A,1,,,,,,,,,,,,,,,*1E
    $GPRMC,003352.800,V,,,,,0.00,0.00,060180,,,N*4D$GPVTG,0.00,T,,M,0.00,N,0.00,K,N*32$GPGGA,003353.800,,,,,0,0,,,M,,M,,*46$GPGSA,A,1,,,,,,,,,,,,,,,*1E$GPGSV,1,1,00*79$GPRMC,003353.800,V,,,,,0.00,0.00,060180,,,N*4C$GPVTG,0.00,T,,M,0.00,N,0.00,K,N*32$GPGGA,003354.800,,,,,0,0,,,M,,M,,*41$GPGSA,A,1,,,,,,,,,,,,,,,*1E$GPRMC,003354.800,V,,,,,0.00,0.00,060180,,,N*4B$GPVTG,0.00,T,,M,0.00,N,0.00,K,N*32$GPGGA,003355.800,,,,,0,0,,,M,,M,,*40$GPGSA,A,1,,,,,,,,,,,,,,,*1E$GPRMC,003355.800,V,,,,,0.00,0.00,060180,,,N*4A$GPVTG,0.00,T,,M,0.00,N,0.00,K,N*32
    $GPGGA,003356.800,,,,,0,0,,,M,,M,,*43$GPGSA,A,1,,,,,,,,,,,,,,,*1E$GPRMC,003356.800,V,,,,,0.00,0.00,060180,,,N*49$GPVTG,0.00,T,,M,0.00,N,0.00,K,N*32$GPGGA,003357.800,,,,,0,0,,,M,,M,,*42$GPGSA,A,1,,,,,,,,,,,,,,,*1E$GPRMC,003357.800,V,,,,,0.00,0.00,060180,,,N*48$GPVTG,0.00,T,,M,0.00,N,0.00,K,N*32$GPGGA,003358.800,,,,,0,0,,,M,,M,,*4D$GPGSA,A,1,,,,,,,,,,,,,,,*1E$GPGSV,1,1,00*79$GPRMC,003358.800,V,,,,,0.00,0.00,060180,,,N*47$GPVTG,0.00,T,,M,0.00,N,0.00,K,N*32$GPGGA,003359.800,,,,,0,0,,,M,,M,,*4C$GPGSA,A,1,,,,,,,,,,,,,,,*1E
    $GPRMC,003359.800,V,,,,,0.00,0.00,060180,,,N*46$GPVTG,0.00,T,,M,0.00,N,0.00,K,N*32$GPGGA,003400.800,,,,,0,0,,,M,,M,,*47$GPGSA,A,1,,,,,,,,,,,,,,,*1E$GPRMC,003400.800,V,,,,,0.00,0.00,060180,,,N*4D$GPVTG,0.00,T,,M,0.00,N,0.00,K,N*32$GPGGA,003401.800,,,,,0,0,,,M,,M,,*46$GPGSA,A,1,,,,,,,,,,,,,,,*1E$GPRMC,003401.800,V,,,,,0.00,0.00,060180,,,N*4C$GPVTG,0.00,T,,M,0.00,N,0.00,K,N*32$GPGGA,003402.800,,,,,0,0,,,M,,M,,*45$GPGSA,A,1,,,,,,,,,,,,,,,*1E$GPRMC,003402.800,V,,,,,0.00,0.00,060180,,,N*4F$GPVTG,0.00,T,,M,0.00,N,0.00,K,N*32$GPGGA,003403.800,,,,,0,0,,,M,,M,,*44
    $GPGSA,A,1,,,,,,,,,,,,,,,*1E$GPGSV,1,1,00*79$GPRMC,003403.800,V,,,,,0.00,0.00,060180,,,N*4E$GPVTG,0.00,T,,M,0.00,N,0.00,K,N*32$GPGGA,003404.800,,,,,0,0,,,M,,M,,*43$GPGSA,A,1,,,,,,,,,,,,,,,*1E$GPRMC,003404.800,V,,,,,0.00,0.00,060180,,,N*49$GPVTG,0.00,T,,M,0.00,N,0.00,K,N*32$GPGGA,003405.800,,,,,0,0,,,M,,M,,*42$GPGSA,A,1,,,,,,,,,,,,,,,*1E$GPRMC,003405.800,V,,,,,0.00,0.00,060180,,,N*48$GPVTG,0.00,T,,M,0.00,N,0.00,K,N*32$GPGGA,003406.800,,,,,0,0,,,M,,M,,*41$GPGSA,A,1,,,,,,,,,,,,,,,*1E$GPRMC,003406.800,V,,,,,0.00,0.00,060180,,,N*4B
    $GPVTG,0.00,T,,M,0.00,N,0.00,K,N*32 (...)
    and so on until stop the application...
    My questions are
    Why I'm receiving GPS data even if it hasn't got a FIX?
    The GPS led at least blinked on both cases for every one? (by USB and GPIO)
    Thanks!

    Hi manasouza,
    for a so called 2D fix are the position for at least three satellites needed. The position of known satellites is send within the GSA record.
    $GPGSA,A,1,,,,,,,,,,,,,,,*1E
    In your provided record it means that currently no satellites are used for the fix.
    GSA Satellite status
      A Auto selection of 2D or 3D fix (M = manual)
      1 3D fix - values include: 1 = no fix
                                 2 = 2D fix
                                 3 = 3D fix
      12x PRNs of satellites used for fix (space for 12)
      , PDOP (dilution of precision)
      , Horizontal dilution of precision (HDOP)
      , Vertical dilution of precision (VDOP)
      *1E the checksum data, always begins with *
    See also additional information about GPS and the NMEA protocol
    https://en.wikipedia.org/wiki/GPS_signals
    http://www.gpsinformation.org/dale/nmea.htm
    cheers
    Frank

  • Plot discontinuous data in labview graph/chart

    Hi,
    I would like to plot discontinuous data in a graph in labview. 
    The data is aquired and plotted over time - butduring certain periods there is no data aquired.
    I don't want during these times any "line" between the adjescent points - I just want simply "no line".
    Maybe the best way to show it is this example of a javascript chart
    http://www.highcharts.com/stock/demo/data-grouping
    - zoom into the time around november 2005
    During certain times there is no data - this is implemented in the datastream as "null" instead of a vaild floating point number - similar to NaN for floating point numbers - the javascript code knows that in this case there should be no interpolation.
    Is there any way to have a similar behaviour with labview charts or graphs ? 

    Yes.  Place an NaN value in the array where you data break is before sending it to the graph.

  • 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