Howto Extract Exif GPS Metadata from JPEG?

Hi,
i want to extract GPS Metadata from a JPEG.
The JPEG is a photo taken with an HP iPAQ hw6900 PDA.
Serveral application like exif-o-matic can extract the GPS latitude/longitude metadata.
As described in the Oracle interMedia/Multimedia Userguide "Chapter 6 - Working with Metadata" i use a pl/sql procedure to extract these metadata.
http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28415/ch_metadata.htm#CIAEFDGH
I insert a row and extract the metadata but in the exif xml column there are no gps metadata only width/height and so on.
How do i extract these informations?

I got an XML document with no GPS metadata.
With "select p.image.getMetadata('exif') from photos p where id = xx;" i got sys.xmltype(sys.xmltype)
and with "select p.metaexif.extract('/').getStringVal() from photos p where id = xx;" I got an xml string like these
<exifMetadata xmlns="http://xmlns.oracle.com/ord/meta/exif" xsi:schemaLocation="http://xmlns.oracle.com/ord/meta/exif http://xmlns.oracle.com/ord/meta/exif" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<TiffIfd>
<Model tag="272">hp iPAQ hw6900</Model>
</TiffIfd>
<ExifIfd tag="34665">
<ExifVersion tag="36864">0220</ExifVersion>
<LightSource tag="37384">unknown</LightSource>
<Flash tag="37385">
<Fired>No</Fired>
<Return>No strobe return function</Return>
<Mode>unknown</Mode>
<Function>Yes</Function>
<RedEyeReduction>No</RedEyeReduction>
</Flash>
<PixelXDimension tag="40962">1280</PixelXDimension>
<PixelYDimension tag="40963">1024</PixelYDimension>
<DateTimeOriginal tag="36867">2008-05-28T15:02:36.000000</DateTimeOriginal>
</ExifIfd>
</exifMetadata>
In the oracle xml shemata specification exists a gps section but in my example there is no gps metadata
You can find the jpg at http://public.tfh-berlin.de/~s21656/HPIM0014.jpg
thanks in advance
Message was edited by:
Steffen

Similar Messages

  • Sync metadata from jpeg to raw

    Hi, I'm using an Eye-fi Pro X2 card in my D5100. At present Eye-Fi haven't been able to resolve the fact that geodata isn't added to the Raw (nef) file so I am shooting in Raw+jpeg. Is there a way to sync the metadata from the jpeg to the nef file within LR4?  Will this be written to the raw file, to a sidecar file or the LR database?

    1. Select either an individual Raw + Jpeg pair or the pairs taken at the same location
    2. Switch to the Map Module
    3. In the Map Module you should see a Location icon showing the number of files that are tagged
    4. Click on Map/Untagged
    5. Drag and drop the files on to the Location icon to add that tag to the untagged files

  • Modify LabelGraphics.js to extract other XMP metadata from images

    This script works flawlessly. However, I would like to be able to extract other XMP metadata than just
    //XMP description
            case 2:
                try{
                    myLabel = myLink.linkXmp.description;
                catch(myError){
                    myLabel = "No description available.";
                break;
            //XMP author
            case 3:
                try{
                    myLabel = myLink.linkXmp.author
                catch(myError){
                    myLabel = "No author available.";
    I have developed a custom info panel (based on the generic one) with following "properties.xml":
    <xmp_definitions xmlns:ui="http://ns.adobe.com/xmp/fileinfo/ui/">
        <xmp_schema prefix="custom0" namespace="http://my.custom0.namespace/" label="$$$/Custom0/Schema/Label=Ref_SAP" description="$$$/Custom0/Schema/Description=This example panel contains most of the options available for the 'Generic Panel'.">
            <!-- simple properties -->
            <xmp_property name="Ref_SAP" category="external" label="$$$/Custom0/Property/TextInputLabel=Referentie nummer SAP:" type="integer"/>
            <ui:separator/>
        </xmp_schema>
        <xmp_schema prefix="custom1" namespace="http://my.custom1.namespace/" label="$$$/Custom1/Schema/Label=FRANS" description="$$$/Custom1/Schema/Description=This example panel contains most of the options available for the 'Generic Panel'.">
            <!-- simple properties -->
            <xmp_property name="Titel_FR" category="external" label="$$$/Custom1/Property/TextInputLabel=Titel FR:" type="text"/>
            <xmp_property name="Tekst_FR" category="external" label="$$$/Custom1/Property/TextInputML_Label=Tekst FR:" type="text" ui:multiLine="true" ui:height="100"/>
            <ui:separator/>
        </xmp_schema>
        <xmp_schema prefix="custom2" namespace="http://my.custom2.namespace/" label="$$$/Custom2/Schema/Label=VLAAMS" description="$$$/Custom2/Schema/Description=This example panel contains most of the options available for the 'Generic Panel'.">
            <xmp_property name="Titel_VL" category="external" label="$$$/Custom2/Property/TextInputLabel=Titel VL:" type="text"/>
            <xmp_property name="Tekst_VL" category="external" label="$$$/Custom2/Property/TextInputML_Label=Tekst VL:" type="text" ui:multiLine="true" ui:height="100"/>
            <ui:separator/>
        </xmp_schema>
        <xmp_schema prefix="custom3" namespace="http://my.custom3.namespace/" label="$$$/Custom3/Schema/Label=NEDERLANDS" description="$$$/Custom3/Schema/Description=This example panel contains most of the options available for the 'Generic Panel'.">
            <xmp_property name="Titel_NL" category="external" label="$$$/Custom3/Property/TextInputLabel=Titel NL:" type="text"/>
            <xmp_property name="Tekst_NL" category="external" label="$$$/Custom3/Property/TextInputML_Label=Tekst NL:" type="text" ui:multiLine="true" ui:height="100"/>
            <ui:separator/>
        </xmp_schema>
    </xmp_definitions>
    Now I would like to adapt the LabelGraphics.js to retrieve the information stored in the fields "Titel_FR", "Tekst_FR", "Titel_VL", "Tekst_VL", "Titel_NL", Text_NL". These fields contain fixed text that goes with the image and should be retrieved in several "goes".
    Question 1: is this possible at all ?
    Question 2: how to proceed ?

    Have you already found Marijan Tompa's "Extract Metadata with Adobe XMP"?
    David

  • Index of EXIF-metadata from jpeg files by TREX

    Hello,
    I have the following scenario:
    We have a central fileserver with a lot of marketing pictures. Our marketing people are looking for a solution to search pictures by data stored in the EXIF-metadata of the jpeg-files.
    So I like to integrate this fileserver as a repository in KM, set up an index and let TREX do the search (as of note 663630 TREX can search the EXIF-Data of JPEG-Files).
    As goodie I want to give the marketing people the possibility to browse through the pictures in an image gallery. This gallery should be consisting of a query-based taxonomy where all the pictures are sorted by special EXIF-data (e.g. name of the photographer).
    Until now I have integrated the fileserver (as a FS-Repository) and create an index.
    Before index creation I added the mime-type “image/jpeg” to the TREXValidMimeTypes.ini and restarted TREX.
    After indexing the pictures could be found by it’s name, but the EXIF-data is not indexed.
    Now my question:
    Why TREX doesn’t index the EXIF-metadata?
    And how can I use the EXIF-data in an taxonomy?
    System:
    EP6.0 on WebAS 6.40 SPS16
    TREX SPS16 Patch 2
    KMC SPS16 Patch 2
    Greetings from Berlin, Germany
    Jens

    Greetings to Berlin,
    when triggered by KM, TREX will only index metadata that is known to KM as KM propertis.
    I do not know in detail and am not at all sure, but you could try to create custom properties in KM that are called exactly like your EXIF-metadata, set them to "indexable", <b>not</b> fill them with values on KM side and then try again.
    You may want to try this for just one of the EXIF-metadata as a test.
    Even if that works somehow, the maximum result is:
    - Property <b>name</b> existent in KM
    - Property thus searchable an classifiable
    - BUT property <b>values</b> will not show up in KM, as they will remain known only to TREX
    Regards, Karsten

  • Extracting "File Properties" metadata from Photoshop CS3

    After processing scanned images in Photoshop CS3, I am up loading them to a DAM solution that has the capability to extract embedded metadata using custom defined keys. I would like to know the syntax/structure of embedded metadata labels that display in the "File Properties" template of Bridge CS3 (e.g. File Size, Dimensions, Color Space) so that I can extract that metadata.
    Thank you!

    I have this printer and use Leopard, but I don't have this problem I am useing the 6.2 driver. There are two drivers on their website, I am using only the driver that came with the machine. I would re-install the driver. Secondly and this caught me up a bit at first. You open the CS print manager, press print and then the Epson driver emerges, there i s no direct access from CS3 to the driver. Secondly in the Epson driver there are two or three set of drop down menus, the one that permits setting the paper profile is not exactly where you expect it, just have a look through all the menus(I am not sitting in fronto of my mac right now so I am of limited help). Good luck.

  • Image Document Service Connector: Can't retrieve metadata from jpeg image

    I'm using SES 10.1.8.4 with the Image Document Service Connector.
    I've entered some metadata IPTC in a buch of images (with picasa, for instance) and added a new file datasource combined with a new pipeline as explained in the Patch Set Readme (p7514463_101840_WINNT)
    After indexing, I can't retrieve nothing of my images with a simple search.
    Did anybody make tests with this new feature ?
    Thank you in advance,
    Patrick.

    Ok, I havn't read all your code because it's quite a lot and I might have the answer for you already.
    Maybe the problem is that your Nokia is still connected to your computer.
    I had the same problem on my Nokia 6021. I installed my app through the Nokia PC Suite. And it showed all the devices, but it couldn't find any services on any of the devices. Which was strange because most devices have some standard services running. The problem was that after installing the app, the Nokia was still connected/paired with the PC. After deleting the pairing, services magically appeared.
    I hope this solves your problem (more than six months after your post ;) ).

  • Possible to extract "Maker Note" metadata from a JPG?

    Hi
    I am trying to access the camera-specific "Maker Note" metadata that is stored in a JPG image. As far as I can understand, this data is not recognised by Bridge since it is not associated with a standard "Namespace". This is probably due to it being very camera/model specific.
    Can anyone point me towards the method for accessing this data - even in a RAW/binary format? I do not mind having to interpret and parse this data myself. I am just trying to find a way to actually read the data.
    Any suggestions are welcome!
    Regards, Nigel

    Hi Herrmueller
    To clarify my original posting - I am trying to find a method of accessing the Maker Note data using Javascript in Bridge.
    Regards, Nigel

  • Extracting EXIF info from Jpeg + And Stitching Algorithm

    I develop Stiching program for digital images in order to create Panoramas with Java. I need to extract EXIF meta data from Jpeg images : focus, focal lens, exposure, constrat, white balance, shutter speed et al.
    I ve looked at several code in Java on google, i dont understand much, if anyone can explain it in a simple way for me plz, i will be very appreciate.
    Also if anyone have any info on stitching algorithm using Java , it will be very helpful.
    Thank you
    Hoan

    I examined your sample .jpg with Exiftool, the most authoritative metadata tool available, and I also used the following tools to examine the metadata:
    OS X 10.9.5: Finder, Preview, Photoshop CC 2014, LR 5.6, exiv2
    Windows 8.1: File Explorer, Irfanview 4.38
    All of these were able to display the EXIF metadata, including exposure information, without problems, and Exiftool didn’t flag any nonconformities.  So it seems that it’s the Android apps that aren’t conforming to the standards.
    Looking at the internal structure of the LR-produced .jpg, I suspect that it is producing a layout of the IFD0, IFD1, and ExifIDF sections that the Android apps aren’t expecting (because the developers didn’t follow the standards).  LR produces the following ordering: unused bytes, ExifIFD, IFD1, IFD0.  A more typical ordering would be: (no unused bytes), IFD0, ExfIFD, IFD1.   Both orderings conform with the standards.
    You could test out this hypothesis by obtaining a copy of the free Exiftool and then in a Terminal window (Mac) or command prompt (Windows) do the following command:
    exiftool –exif:usercomment=”Hello world!” sample.jpg
    This will cause Exiftool to rewrite the Exif metadata in the more-common ordering.  If the Android apps can now see the EXIF exposure metadata in the modified sample.jpg, then that confirms the apps are non-standards-conforming and should be fixed.

  • Plug-in to Extract Camera RAW Metadata

    Hello,
    I am new to Photoshop plug-in development and reading the Photoshop SDK helped a little, but not much.
    Because Photoshop doesn't have the tools and also because there are no plugins available that are capable of extracting all or specific metadata from different RAW camera files that my company needs, I am left with the job of writing a plugin to specifically extract the necessary metadata from these RAW camera files.
    I am looking through all the categories of different types of plugins(import, export, file format, filter, etc.) that I have to decide that fits the purpose that I am trying to accomplish. Being new at this, I am even stuck there.
    So if anyone have some tips that can get me started and help me on my way during development, any help will greatly be appreciated.
    Thanks in advance!
    T. Tran

    I'm in the same boat.
    I'm also trying to extract some metadata to incorporate into a web gallery template (specifically to show the original filename against the current filename for tracking, and archival cross-reference). Dealing with a large number of images (in the hundreds of thousands) any way to do this would relieve a lot of redundant data entry.
    -Warren

  • GPS Metadata

    Is there a way to copy GPS metadata from 1 image to many others?  I'm putting in GPS data manually using the Metadata Placard.  The Import/Export metadata templates does not copy the GPS data.  Thanks

    Found this with a Google search for "Lightroom & GPS data", which was the very first hit.
    http://lightroom-news.com/2007/03/23/gps-metadata-in-lightroom-and-google-maps/

  • Exporting Metadata (caption information) from JPEGS to a comma separated value (CSV) file

    Here is my dilemma. I am an archivist at an arts organization and we are in the process of digitizing many of our materials to post them on the web and make them available to internet users. One of the principle components of our collection is a large trove of photographs. We have been in the process of digitizing these images and embedding metadata (in the Caption/Description, Author/Photographer and Copyright fields) via PhotoShops File Info command.
    Now I am at a crossroads. We need to extract this metadata and transfer it into a comma separated value form, like an Excel spreadsheet or a FileMakerPro database. I have been told that it is not possible to do this through PhotoShop, that I must run a script through Acrobat or Bridge. I have no clue how to do this. I have been directed to a couple of links.
    First I was directed to this (now dead) link: http://www.barredrocksoftware.com/products.html
    The BSExportMetadata script allegedly exports the metadata from files selected in Adobe's Bridge into a comma separated value (CSV) file suitable for import into Excel, Access and most database programs. It installs as a Bridge menu item making it simple to use. The the Export Metadata script provides you with an easy to use wizard allowing you to select associated information about a set of images that you can then export. This script requires Creative Suite 2 (CS2). This script sounds like it does exactly what I want to do, but unfortunately, it no longer exists.
    Then I found this:
    Arnold Dubin, "Script to Export and Import Keywords and Metadata" #13, 8 Aug 2005 7:23 am
    I tried this procedure, but nothing seemed to happen. I also tried to copy the script into the JAVASCRIPT action option in Acrobat, but I received a message that the script had an error. It also seems to me that this script does not set up a dumping point, that is, a file into which this information will be exported to.
    I am a novice, not a code writer or a programmer/developer. I need a step-by-step explanation of how to implement this filtering of information. We have about 2000 jpeg and tiff files, so I would rather not go through each file and copy and paste this information elsewhere. I need to find out how to create a batch process that will do this procedure for me. Can anyone help?

    Hello -
    Is anyone aware of a tool that will do the above that is available for mac? Everything I've found so far seems to be PC only.
    Any help is appreciated, thanks!

  • Exif info from JPEG exports from LR 5.6 doesn't display in some photo viewers

    I've noticed that when I export JPEGs from LR, the Exif for things like the aperture, shutter speed, and exposure doesn't display in photo viewers like Gallery and QuickPic on my Android tablet.  Using an Exif reader, the fields are there.  I think I have traced it to:  if the original image imported into Lightroom was a jpg, the Exif will display.  If the original image was raw (NEF), the Exif won't display.   Has anyone else seen this?

    I examined your sample .jpg with Exiftool, the most authoritative metadata tool available, and I also used the following tools to examine the metadata:
    OS X 10.9.5: Finder, Preview, Photoshop CC 2014, LR 5.6, exiv2
    Windows 8.1: File Explorer, Irfanview 4.38
    All of these were able to display the EXIF metadata, including exposure information, without problems, and Exiftool didn’t flag any nonconformities.  So it seems that it’s the Android apps that aren’t conforming to the standards.
    Looking at the internal structure of the LR-produced .jpg, I suspect that it is producing a layout of the IFD0, IFD1, and ExifIDF sections that the Android apps aren’t expecting (because the developers didn’t follow the standards).  LR produces the following ordering: unused bytes, ExifIFD, IFD1, IFD0.  A more typical ordering would be: (no unused bytes), IFD0, ExfIFD, IFD1.   Both orderings conform with the standards.
    You could test out this hypothesis by obtaining a copy of the free Exiftool and then in a Terminal window (Mac) or command prompt (Windows) do the following command:
    exiftool –exif:usercomment=”Hello world!” sample.jpg
    This will cause Exiftool to rewrite the Exif metadata in the more-common ordering.  If the Android apps can now see the EXIF exposure metadata in the modified sample.jpg, then that confirms the apps are non-standards-conforming and should be fixed.

  • Copy GPS infos from exif to xmp

    Hello,
    I would like to copy the gps coordinates from pictures from the exif data to the xmp data to read the information in indesign cs5. How does this could work?
    I was sent to this forum, this is the original thread:
    http://forums.adobe.com/thread/873022?tstart=0
    Thanks for help
    Thomas

    Thanks for the example, but it I wonder if Picassa is using it's own format?
    This is the information that is in the exif data..
    GPS Version = 2.2.0.0
    GPS Time Stamp = 12:59:57
    GPS Date Stamp = 2010:02:25
    Image Width = 1024
    Image Height = 683
    EXIF tag 258 = 8 8 8
    EXIF tag 262 = RGB
    Make = Canon
    Model = Canon EOS 40D
    EXIF tag 277 = 3
    X Resolution = 72.0
    Y Resolution = 72.0
    Resolution Unit = Inches
    Software = Picasa 3.0
    Date Time = 2010:02:25 15:59:57
    Artist = thomas Wießner
    yCbCr Positioning = Cosited
    Exposure Time = 1/320 sec
    F-Stop = f/11
    Exposure Program = Normal program
    ISO Speed Ratings = 400
    EXIF tag 34858 = IFD Segment, ID = 34858
    ExifVersion = 0221
    Date Time Original = 2010:02:25 15:59:57
    Date Time Digitized = 2010:02:25 15:59:57
    Shutter Speed = 1/320 sec
    Aperture Value = f/11
    Exposure Bias Value = 0.00
    Max Aperture Value = f/3.5
    Subject Distance = 1.1 m
    Metering Mode = Pattern
    Flash = 16
    Focal Length = 18.0 mm
    EXIF tag 37520 = 00
    EXIF tag 37521 = 00
    EXIF tag 37522 = 00
    FlashPix Version = 0100
    Color Space = sRGB
    Pixel X Dimension = 1024
    Pixel Y Dimension = 683
    Focal Plane X Resolution = 4438.356
    Focal Plane Y Resolution = 4445.969
    Focal Plane Resolution Unit = Inches
    Custom Rendered = Normal Process
    Exposure Mode = Auto
    White Balance = Manual
    Scene Capture Type = Standard
    Image Unique ID = 49e5de27a4eacc78664f825224c07059
    As you can see the GPS data isn't there only date, time and version, does it use Image Unique ID?
    I downloded Picassa and Google Earth, the details didn't show in Picassa and nothing came up in Google Earth when trying to view it from Picassa.
    Have I missed anything? as I don't use Picassa or Google Earth normally?
    Edit: I have also had a look at all the metadata using Exiftool and no further GPS data is available.

  • Removing EXIF and other Metadata from iPhoto 5 Library

    This post is intended for users who have upgraded to iPhoto5 and have suffered extensive slowdowns because of metadata that has accumulated in their iPhoto library, specifically in the Library.iPhoto file.
    This occurs if certain Pentax, Canon, and other digital cameras are used for pictures. Search this forum for "metadata" or "EXIF" or "makernote" (no quotes) for additional information about this issue.
    If you are affected by this issue and want to rid your iPhoto 5 library of this extra garbage, follow the steps below.
    1. Make two copies of your complete iPhoto Library folder and put them someplace else other than in the normal location. If something goes wrong, you'll have the backups. In any event, understand that if you follow these instructions, you are responsible for any problems, errors, or loss of photos. If you aren't prepared to take that responsibility, then do not read any further.
    2. Go to http://www.versiontracker.com and search for and download the free SmallImage application. Install it in your Applications folder.
    3. In your original iPhoto library, trash the Library.iPhoto file.
    4. Launch SmallImage by dragging your entire (ORIGINAL) iPhoto Library folder on top of SmallImage.
    5. There are 5 categories (checkboxes) of metadata (called profiles) that you can eliminate. I selected them all. Uncheck the "Recompress at quality:" checkbox. You don't want your photos altered. Uncheck the "Add Suffix" checkbox so that SmallImage will overwrite your photos with ones without the metadata. Select whether you want keep any custom file icons or not. Then, hold your breath and push the "Process Files" button in the SmallImage toolbar. If you have thousands of photos and/or a slow computer, it might take many hours.
    6. When SmallImage is finished, lauch iPhoto5, holding down the command/apple, option and shift keys. Before iPhoto fully loads, you'll be presented with the library rebuilding dialog box. Check ALL 4 options (especially the last one) and then allow iPhoto to rebuild the library. This also can take a very long time, depending on computer speed and the number of photos you have. When iPhoto is finished rebuilding the libary and reloading your photos, you'll have an iPhoto library without any the metadata that seems to be slowing it down. If you hold down the wrong keys and don't get the library rebuilding dialog box, don't panic. Quit iPhoto, and try it again. Your photos are still there.
    7. If you stay with your current camera (that is generating the metadata), manually transfer your picture files to your computer (but not directly into iPhoto) and use SmallImage to remove the metadata BEFORE you manually import them into iPhoto5.
    Hopefully, future versions of iPhoto5 will include an import option to strip metadata from photo files. If SmallImage can do it, why can't our favorite fruit company?
    Best of luck.
    12 inch 1.5Ghz Powerbook Mac OS X (10.4.3)
    12 1.5Ghz Powerbook   Mac OS X (10.3.9)  

    Link the two Macs together and use iPhoto Library Manager
    Regards
    TD

  • How do I bulk upload documents using PowerShell and extract metadata from file name?

    I have a requirement to upload a bunch of documents into a document library. Based on the content type, the rules of updating the metadata is different...the one giving me trouble is to extract the metadata from the file name. If I have a file name like
    "part1_part2_part3.pdf" how do I extract part1, part2, part3 and tag each document being uploaded into SharePoint, using PowerShell? I have searched and have not been able to find anything to get me started.
    Has anyone done this before? Or is there a blog I can take a look at? Thanks
     

    You will have to write a PS script encompassing this logic.
    Read files from the folder using
    Get-Item cmdlet
    Determine the content type based on the path or filename.
    Split the file name to extract the tag names.
    If the metadata fields in the content type is a managed metadata field, check whether the term exists and set it.
    Updating SharePoint Managed Metadata Columns
    with PowerShell
    This post is my own opinion and does not necessarily reflect the opinion or view of Slalom.

Maybe you are looking for