24 Replies Latest reply on Jun 10, 2015 8:51 AM by johnrellis

    Importing Panasonic Lumix DMC-LX100 RAW files - GPS information not imported

    lkugle

      When I import RAW files taken with a Panasonic Lumix DMC-LX100, Lightroom (5 & 6) isn't importing the GPS information in the XMP files.

       

      I have never had this problem in the past, with my Canon cameras: 20D, 7D Powershot G7 & G12.

       

      I have a Garmin Montana 600.

       

      Does anyone have any ideas on how to resolve this problem?

        • 1. Re: Importing Panasonic Lumix DMC-LX100 RAW files - GPS information not imported
          johnrellis Most Valuable Participant

          Do you have a metadata preset being applied in the Import window?  It may be clearing the GPS data.  Try setting it to None:

          Untitled.png

          • 2. Re: Importing Panasonic Lumix DMC-LX100 RAW files - GPS information not imported
            lkugle Level 1

            I imported RAW files from the Canon 7D and G12 at the same time as the LX100. The Canon files imported with GPS information, but not the LX100 files.

             

            I just tried importing a GPS track file in the Map module, for a day when I had taken some photos with the LX100, and Lightroom doesn't match any of the LX100 files to the GPS information even though the time stamps for the photos match the time frame and date of the GPS information.

            • 3. Re: Importing Panasonic Lumix DMC-LX100 RAW files - GPS information not imported
              johnrellis Most Valuable Participant

              But to confirm: Is the Metadata preset set to none during import?

              • 4. Re: Importing Panasonic Lumix DMC-LX100 RAW files - GPS information not imported
                lkugle Level 1

                Metadata is set to add Copyright and Creator information on import.

                • 5. Re: Importing Panasonic Lumix DMC-LX100 RAW files - GPS information not imported
                  johnrellis Most Valuable Participant

                  Is the Camera Info > GPS line checked?

                  Screen Shot 2015-05-28 at 2.40.56 PM.png

                  • 6. Re: Importing Panasonic Lumix DMC-LX100 RAW files - GPS information not imported
                    lkugle Level 1

                    No, only Copyright and Creator.

                     

                    I'm sure that it isn't any setting in Lightroom, because the Canon RAW files were imported with GPS information.

                     

                    It seems that Lightroom isn't recognizing the LX100 files properly.

                    • 7. Re: Importing Panasonic Lumix DMC-LX100 RAW files - GPS information not imported
                      johnrellis Most Valuable Participant

                      At this point, the easiest way to troubleshoot this is to upload a sample track file and LX100 photo to Dropbox or similar and post the link here.   With that it will be straightforward to see what's going wrong.

                      • 9. Re: Importing Panasonic Lumix DMC-LX100 RAW files - GPS information not imported
                        johnrellis Most Valuable Participant

                        You'll need to adjust the time zone offset of the tracklog so that includes the capture time of the photo:

                         

                        1. Do Map > Tracklog > Load Tracklog to load the .gpx file.

                         

                        2. Go to Map mode and in the filmstrip, select the photo.

                         

                        3. Do Map > Tracklog > Time Zone Offset to adjust the offset of the tracklog to include the time of the photo. 

                         

                        How much you have to adjust depends on which time zone in which LR itself is running.  This can be confusing, because LR is determined to hide time zones from you as much as possible.  As long as you run LR in the same time zone in which the camera's clock was set, this makes sense; but if you're a world traveler, it can get confusing quickly.


                        Your GPX file specifies its times in UTC, with no time zone information.  LR displays those times adjusted to the local time zone in which LR is running.  The capture time recorded in the photo includes no time zone information, but most people set the camera's clock to the local time zone where the photo was taken. So LR requires you to add a time zone offset to adjust the times in the tracklog to match the time zone in which the camera's clock was set.   This offset is the number of hours that should be added to the current time in which LR is running to get to the time zone for which the camera's clock was set.   You'll probably never remember that, so just adjust the offset until the time range of the tracklog includes the time of the selected photo.

                        • 10. Re: Importing Panasonic Lumix DMC-LX100 RAW files - GPS information not imported
                          lkugle Level 1

                          Thank you.

                           

                          This photo was taken in Argentina. All of the cameras (and the laptop) were set to the local time (UTC-3:00 Buenos Aires). My local time is UTC-5:00 Eastern Time (US and Canada). We have Daylight Savings Time and Argentina doesn't, so the time offset is +1:00.

                           

                          Your solution works, but I have to do that for each day that I took photos with the LX100, then select all of LX100 photos and Auto-Tag them.

                           

                          However, I shouldn't have to do this. That RAW file has an XMP file (see link below) with the GPS coordinates, but for some reason Lightroom doesn't recognize it when I import the photo.

                           

                          Dropbox - 2015-04-09_LX100_000023.xmp

                           

                          The LX100 was set to save RAW and JPEG files. I just tried importing the JPEG (see link below) into Lightroom, and it correctly located the photo in the Map module.

                           

                          Dropbox - 2015-04-09_LX100_000023.jpg

                           

                          Let me explain my workflow:

                          1. At the end of each day, I copy the GPX file from my GPS to my laptop.
                          2. Then, I copy the photo files from the memory cards to the laptop, using Downloader Pro, which searches the track logs. If a match is found for the photo's time stamp, the GPS coordinates are written to the JPEG file, and to a XMP file for RAW files.
                          3. Then, I import only the RAW files into Lightroom, copying as DNG.

                           

                          For the Canon RAW files, Lightroom writes the GPS coordinates in the XMP file into the DNG file, but some reason Lightroom isn't doing this for the LX100 files.

                          • 11. Re: Importing Panasonic Lumix DMC-LX100 RAW files - GPS information not imported
                            johnrellis Most Valuable Participant

                            Hmm, I downloaded fresh copies of the .rw2 and the .xmp files into the same folder and imported the .rw2 into my LR CC 2015.0.1 (on both OS X 10.10.3 and Windows 8.1), and LR correctly imported the GPS location from the .xmp.  Which version of LR and which version of Windows are you on?

                            • 12. Re: Importing Panasonic Lumix DMC-LX100 RAW files - GPS information not imported
                              johnrellis Most Valuable Participant
                              All of the cameras (and the laptop) were set to the local time (UTC-3:00 Buenos Aires).

                              When I set the timezone of my Windows computer to be in UTC-3, then LR's Map > Tracklog > Auto-Tag photos correctly tags the .rw2 file using the .gpx tracklog, without needing to use the Time Zone Offset command.   This is because LR assumes the photo's capture time is in the same time zone as LR, and then the photo's time will match up with the UTC times recorded in the tracklog.  

                               

                              This isn't relevant to the workflow you described above, since you're tagging photos with Downloader Pro, but I just wanted to make sure we closed the loop on the issue of time zones.

                              • 13. Re: Importing Panasonic Lumix DMC-LX100 RAW files - GPS information not imported
                                lkugle Level 1

                                Thank you, again, for all of time and assistance.

                                 

                                I have Windows 8.1 on my laptop and desktop. When I originally imported the photos on the laptop, I had the latest version of LR 5. I now have LR 6.0.1 on both.

                                 

                                I have tried re-importing the photo, but LR still didn't import the GPS location. Did you copy as DNG on import?

                                • 14. Re: Importing Panasonic Lumix DMC-LX100 RAW files - GPS information not imported
                                  lkugle Level 1

                                  I just tried importing the .rw2 again.

                                   

                                  If I Copy as DNG, the GPS location is not imported.

                                  I just Copy the .rw2, the GPS location is imported, but when I convert to DNG afterwards, the GPS location is removed.

                                   

                                  So, the problem seems to be in the converting to DNG. Maybe the DNG format doesn't properly support LX100 .rw2 files.

                                  • 15. Re: Importing Panasonic Lumix DMC-LX100 RAW files - GPS information not imported
                                    lkugle Level 1

                                    I just checked the Adobe web site, and the DMC-LX100 is listed as a supported camera by DNG.

                                    • 16. Re: Importing Panasonic Lumix DMC-LX100 RAW files - GPS information not imported
                                      lkugle Level 1

                                      I downloaded the Adobe DNG Converter 9.0, and converted the .rw2 to DNG. The EXIF info contains the GPS coordonates from the .xmp file:

                                       

                                      Filename - 2015-04-09_LX100_000023.dng

                                      ImageWidth - 256

                                      ImageLength - 192

                                      BitsPerSample - 8 8 8

                                      Compression - 1 (None)

                                      PhotometricInterpretation - 2

                                      Make - Panasonic

                                      Model - DMC-LX100

                                      StripOffset - 896998

                                      Orientation - Top left

                                      SamplesPerPixel - 3

                                      RowsPerStrip - 192

                                      StripByteCount - 147456

                                      PlanarConfiguration - 1

                                      Software - Adobe DNG Converter 9.0 (Windows)

                                      DateTime - 2015:05:31 11:55:33

                                      ExifOffset - 896322

                                      ExposureTime - 1/200 seconds

                                      FNumber - 8

                                      ExposureProgram - Aperture priority

                                      ISOSpeedRatings - 200

                                      ExifVersion - 0230

                                      DateTimeOriginal - 2015:04:09 17:52:13

                                      DateTimeDigitized - 2015:04:09 17:52:13

                                      ShutterSpeedValue - 1/200 seconds

                                      ApertureValue - F 8.00

                                      ExposureBiasValue - 0.66

                                      MaxApertureValue - F 2.83

                                      MeteringMode - Multi-segment

                                      LightSource - Auto

                                      Flash - Flash not fired, compulsory flash mode

                                      FocalLength - 34.00 mm

                                      SubsecTimeOriginal - 446

                                      SubsecTimeDigitized - 446

                                      FocalPlaneXResolution - 2661.74

                                      FocalPlaneYResolution - 2661.74

                                      FocalPlaneResolutionUnit - Centimeter

                                      SensingMethod - One-chip color area sensor

                                      FileSource - DSC - Digital still camera

                                      SceneType - A directly photographed image

                                      CustomRendered - Normal process

                                      ExposureMode - Auto

                                      White Balance - Auto

                                      DigitalZoomRatio - 0.00 x

                                      FocalLengthIn35mmFilm - 75 mm

                                      SceneCaptureType - Standard

                                      GainControl - Low gain up

                                      Contrast - Normal

                                      Saturation - Normal

                                      Sharpness - Normal

                                       

                                       

                                      GPS information: -

                                      GPSLatitudeRef - S

                                      GPSLatitude - 50  20.30  0 (50.338333)

                                      GPSLongitudeRef - W

                                      GPSLongitude - 72  16.99  0 (72.283167)

                                      GPSAltitudeRef - Sea level

                                      GPSAltitude - 186 m

                                       

                                      However, when I import that DNG file into LR, the GPS information is stripped out:

                                       

                                      Filename - 2015-04-09_LX100_000023.dng

                                      ImageWidth - 256

                                      ImageLength - 192

                                      BitsPerSample - 8 8 8

                                      Compression - 1 (None)

                                      PhotometricInterpretation - 2

                                      Make - Panasonic

                                      Model - DMC-LX100

                                      StripOffset - 896998

                                      Orientation - Top left

                                      SamplesPerPixel - 3

                                      RowsPerStrip - 192

                                      StripByteCount - 147456

                                      PlanarConfiguration - 1

                                      Software - Adobe DNG Converter 9.0 (Windows)

                                      DateTime - 2015:05:31 11:55:33

                                      Artist - Leroy Kugle

                                      Copyright - © 2015 Leroy Kugle. All Rights Reserved.

                                      ExifOffset - 896322

                                      ExposureTime - 1/200 seconds

                                      FNumber - 8

                                      ExposureProgram - Aperture priority

                                      ISOSpeedRatings - 200

                                      ExifVersion - 0230

                                      DateTimeOriginal - 2015:04:09 17:52:13

                                      DateTimeDigitized - 2015:04:09 17:52:13

                                      ShutterSpeedValue - 1/200 seconds

                                      ApertureValue - F 8.00

                                      ExposureBiasValue - 0.66

                                      MaxApertureValue - F 2.83

                                      MeteringMode - Multi-segment

                                      LightSource - Auto

                                      Flash - Flash not fired, compulsory flash mode

                                      FocalLength - 34.00 mm

                                      SubsecTimeOriginal - 446

                                      SubsecTimeDigitized - 446

                                      FocalPlaneXResolution - 2661.74

                                      FocalPlaneYResolution - 2661.74

                                      FocalPlaneResolutionUnit - Centimeter

                                      SensingMethod - One-chip color area sensor

                                      FileSource - DSC - Digital still camera

                                      SceneType - A directly photographed image

                                      CustomRendered - Normal process

                                      ExposureMode - Auto

                                      White Balance - Auto

                                      DigitalZoomRatio - 0.00 x

                                      FocalLengthIn35mmFilm - 75 mm

                                      SceneCaptureType - Standard

                                      GainControl - Low gain up

                                      Contrast - Normal

                                      Saturation - Normal

                                      Sharpness - Normal

                                       

                                       

                                      GPS information: -

                                      • 17. Re: Importing Panasonic Lumix DMC-LX100 RAW files - GPS information not imported
                                        lkugle Level 1

                                        I imported the DNG file into LR with no preset, and the GPS info is still in the EXIF info, but LR isn't showing any GPS coordinates for the photo:

                                         

                                        Filename - 2015-04-09_LX100_000023.dng

                                        ImageWidth - 256

                                        ImageLength - 192

                                        BitsPerSample - 8 8 8

                                        Compression - 1 (None)

                                        PhotometricInterpretation - 2

                                        Make - Panasonic

                                        Model - DMC-LX100

                                        StripOffset - 896998

                                        Orientation - Top left

                                        SamplesPerPixel - 3

                                        RowsPerStrip - 192

                                        StripByteCount - 147456

                                        PlanarConfiguration - 1

                                        Software - Adobe DNG Converter 9.0 (Windows)

                                        DateTime - 2015:05:31 11:55:33

                                        ExifOffset - 896322

                                        ExposureTime - 1/200 seconds

                                        FNumber - 8

                                        ExposureProgram - Aperture priority

                                        ISOSpeedRatings - 200

                                        ExifVersion - 0230

                                        DateTimeOriginal - 2015:04:09 17:52:13

                                        DateTimeDigitized - 2015:04:09 17:52:13

                                        ShutterSpeedValue - 1/200 seconds

                                        ApertureValue - F 8.00

                                        ExposureBiasValue - 0.66

                                        MaxApertureValue - F 2.83

                                        MeteringMode - Multi-segment

                                        LightSource - Auto

                                        Flash - Flash not fired, compulsory flash mode

                                        FocalLength - 34.00 mm

                                        SubsecTimeOriginal - 446

                                        SubsecTimeDigitized - 446

                                        FocalPlaneXResolution - 2661.74

                                        FocalPlaneYResolution - 2661.74

                                        FocalPlaneResolutionUnit - Centimeter

                                        SensingMethod - One-chip color area sensor

                                        FileSource - DSC - Digital still camera

                                        SceneType - A directly photographed image

                                        CustomRendered - Normal process

                                        ExposureMode - Auto

                                        White Balance - Auto

                                        DigitalZoomRatio - 0.00 x

                                        FocalLengthIn35mmFilm - 75 mm

                                        SceneCaptureType - Standard

                                        GainControl - Low gain up

                                        Contrast - Normal

                                        Saturation - Normal

                                        Sharpness - Normal

                                         

                                         

                                        GPS information: -

                                        GPSLatitudeRef - S

                                        GPSLatitude - 50  20.30  0 (50.338333)

                                        GPSLongitudeRef - W

                                        GPSLongitude - 72  16.99  0 (72.283167)

                                        GPSAltitudeRef - Sea level

                                        GPSAltitude - 186 m

                                         

                                        DNG.JPG

                                        • 18. Re: Importing Panasonic Lumix DMC-LX100 RAW files - GPS information not imported
                                          lkugle Level 1

                                          The same is true if I convert the .rw2 file into DNG while importing it into LR, with no metadata preset.

                                           

                                          The EXIF info contains GPS coordinates, but LR doesn't display any.

                                          • 19. Re: Importing Panasonic Lumix DMC-LX100 RAW files - GPS information not imported
                                            johnrellis Most Valuable Participant

                                            This was a tough one to track down.  The root problem is that Downloader Pro is generating .xmp files that do not strictly conform to the XMP standard.  They include the line:

                                             

                                            <exif:GPSVersionId>2.2.0.0</exif:GPSVersionId>

                                             

                                            That tag is in the incorrect case – it should actually be “GPSVersionID”.  XMP is based on XML, and XML requires that all tag names are case-sensitive.

                                             

                                            If you manually edit the .xmp file to have the correct case, then when you import the .rw2 into LR and convert it to DNG, the GPS locations will be correctly imported into LR.  I have no idea why this isn’t a problem for raws from other cameras (e.g. Canon .cr2 files), but that’s the nature of bugs.

                                             

                                            In practice, I think most photo software that reads and writes XMP accepts tags in any case, following the general philosophy of being generous in what they accept and strict in what they generate.  For example, it appears that most of LR and the DNG converter accept XMP tags in the wrong case.  But you’ve tripped over a corner of the DNG converter that is not so generous in what it accepts.

                                             

                                            If you want the problem addressed before the next ice age, you might have more luck in getting Downloader Pro to fix their bug than in persuading Adobe to change their DNG converter.  I suggest you file a bug report with Downloader Pro.  If they're sensible, they'll understand the importance of industry standards and being strict in what they generate (after grumbling to themselves about Adobe).  More practically, as a small company, they have a strong financial incentive to be as compatible as possible with as much different software as possible.

                                             

                                            A couple of workarounds:

                                             

                                            1. Tag your photos with GPS location using LR rather than Downloader Pro.

                                             

                                            2. After you import the photos from your camera with Downloader Pro, run the following command line with the free Exiftool:

                                             

                                            exiftool -gpsversionid= -tagsfromfile @ -gpsversionid *.xmp

                                             

                                            This will delete the incorrect GPSVersionId tag and rewrite it with the correct GPSVersionID.  (Exiftool is generous in the case it accepts for tags and quite strict in the case it generates.)

                                            • 20. Re: Importing Panasonic Lumix DMC-LX100 RAW files - GPS information not imported
                                              lkugle Level 1

                                              Thank you for your detective work.

                                               

                                              This is a work around, for now. I will contact Breeze Systems regarding the XMP encoding, in hopes that they are willing to correct the problem in Downloader Pro.

                                               

                                              I did edit the .xmp file, and LR imported the .rw2 file, converted it to .dng, and retained the GPS coordinates, regardless of whether I used a metadata preset or not.

                                               

                                              However, I believe the bug is in how LR handles (and converts) .dng files, not in the DNG converter. Look at my examples above (comments 17 & 18).

                                               

                                              The stand-alone DNG converter encoded the .dng file with the GPS coordinates, but LR stripped the GPS info from the file if I was using a metadata preset on import (Copyright and Creator info only), and retained the GPS info but failed to display them if I didn't use a metadata preset on import.

                                              • 21. Re: Importing Panasonic Lumix DMC-LX100 RAW files - GPS information not imported
                                                johnrellis Most Valuable Participant

                                                On the Adobe side, I think the confusion arises in the DNG converter code (which is invoked by LR).  Perhaps I should have included the following details in my previous message:

                                                 

                                                When I convert the .rw2 using DNG Converter 9 and the original .xmp file, the DNG contains the following GPS metadata fields (according to Exiftool):

                                                 

                                                [XMP-exif]     GPS Version Id                  : 2.2.0.0
                                                [GPS]          GPS Latitude Ref                : South
                                                [GPS]          GPS Latitude                    : 50 deg 20' 18.10"
                                                [GPS]          GPS Longitude Ref               : West
                                                [GPS]          GPS Longitude                   : 72 deg 16' 59.17"
                                                [GPS]          GPS Altitude Ref                : Above Sea Level
                                                [GPS]          GPS Altitude                    : 186 m
                                                [GPS]          GPS Map Datum                   : WGS-84
                                                

                                                 

                                                Notice that the GPSVersionID field is stored in the XMP metadata section, while the rest of the GPS fields are stored in the EXIF GPS section.   There is an industry standard to which Adobe subscribes, from the Metadata Working Group, and one of the main purposes of that standard is to provide software with clarity as to which metadata sections should be used to store which fields.   The MWG document unambiguously indicates that GPS data should be stored in the EXIF GPS section.  

                                                 

                                                Thus, when LR reads the .dng file, it finds the GPSVersionID missing from the EXIF GPS section and ignores the rest of the fields.  I think this behavior conforms to the standards and is reasonable.

                                                 

                                                When I manually edit the .xmp to have the correct case for GPSVersionID and then apply DNG Converter, the GPS metadata looks correct:

                                                 

                                                [GPS]           GPS Version ID                  : 2.2.0.0
                                                [GPS]           GPS Latitude Ref                : South
                                                [GPS]           GPS Latitude                    : 50 deg 20' 18.10"
                                                [GPS]           GPS Longitude Ref               : West
                                                [GPS]           GPS Longitude                   : 72 deg 16' 59.17"
                                                [GPS]           GPS Altitude Ref                : Above Sea Level
                                                [GPS]           GPS Altitude                    : 186 m
                                                [GPS]           GPS Map Datum                   : WGS-84
                                                

                                                 

                                                And when you import this .dng into LR, the GPS location is visible.

                                                 

                                                But as I mentioned before, this is more of an academic discussion, since I believe, based on years of experience, that it is unlikely that Adobe would change DNG Convert to accept GPSVersionId as well as GPSVersionID, even if they agreed it was the correct thing to do.  They typically take years, if ever, to fix minor issues.

                                                • 22. Re: Importing Panasonic Lumix DMC-LX100 RAW files - GPS information not imported
                                                  lkugle Level 1

                                                  Thank you for the clarification.

                                                   

                                                  I have sent an email to Breeze Systems, describing the problem and enclosing the code from the .xmp file.

                                                   

                                                  I will update this discussion when I hear back from them.

                                                  • 23. Re: Importing Panasonic Lumix DMC-LX100 RAW files - GPS information not imported
                                                    lkugle Level 1

                                                    Chris Breeze thanked me for the information, and said it would be fixed in the next release of Downloader Pro.