Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/content/60/9972860/html/smf/Sources/Load.php(225) : runtime-created function on line 3

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/content/60/9972860/html/smf/Sources/Load.php(225) : runtime-created function on line 3
Tools > GPS Input
The DAM Forum
Welcome, Guest. Please login or register.
November 29, 2020, 06:22:28 AM

Login with username, password and session length
Search:     Advanced search
28033 Posts in 5147 Topics by 2903 Members
Latest Member: kbroch
* Home Help Search Login Register
+  The DAM Forum
|-+  Software Discussions
| |-+  ImageIngester and ImageVerifier
| | |-+  Tools > GPS Input
« previous next »
Pages: [1] Print
Author Topic: Tools > GPS Input  (Read 7399 times)
johnbeardy
Administrator
Hero Member
*****
Posts: 1813


View Profile WWW
« on: November 06, 2007, 08:56:24 AM »

Marc

Is the Tools > GPS Input command only available when the GPS unit is attached to and recognized by the computer? Right now I don't have the connecting cable (not sure I want to buy a serial cable plus a serial-USB adapter) and I'm wondering if I could mimic the log's format and read that file from my PC.

Tell me if I'm better off learning exiftools!

John
Logged
Marc Rochkind
Hero Member
*****
Posts: 1136


View Profile WWW Email
« Reply #1 on: November 06, 2007, 09:19:11 AM »

No need for a device, John... just press the GPX/LOG File radio button and then it will ask for a file name.

If you construct your own log, be aware that IIP doesn't do a full-blown XML parse. It expects each element on its own line, like this:

<trkpt lat="40.085725375" lon="-105.588521529">
  <ele>3240.260742</ele>
<time>2007-09-01T20:28:35Z</time>
</trkpt>

Not like this:

<trkpt lat="40.085725375" lon="-105.588521529"><ele>3240.260742</ele><time>2007-09-01T20:28:35Z</time></trkpt>

--Marc

Logged

johnbeardy
Administrator
Hero Member
*****
Posts: 1813


View Profile WWW
« Reply #2 on: November 06, 2007, 09:24:54 AM »

Thanks Marc

I must be being really thick here, but where is the GPX/LOG File radio button?

I'd read that note of caution from the pdf - thanks.

John
Logged
Marc Rochkind
Hero Member
*****
Posts: 1136


View Profile WWW Email
« Reply #3 on: November 06, 2007, 09:32:33 AM »

What version are you using, John? I added that a few months ago:



--Marc
Logged

johnbeardy
Administrator
Hero Member
*****
Posts: 1813


View Profile WWW
« Reply #4 on: November 06, 2007, 09:38:50 AM »

2.2.04. It says ImageIngesterPro and I've just run the update and been told it's up-to-date. But I don't see that dialog anywhere. Currently on the Mac, but not seen on the PC either.

John
Logged
Marc Rochkind
Hero Member
*****
Posts: 1136


View Profile WWW Email
« Reply #5 on: November 06, 2007, 10:35:33 AM »

John--

The GPS feature is in Version 2.3. In beta, but very stable... almost ready for release.

--Marc
Logged

johnbeardy
Administrator
Hero Member
*****
Posts: 1813


View Profile WWW
« Reply #6 on: November 06, 2007, 10:40:44 AM »

OK, I'll give that a try. Anything rather than figure out exiftool!

John
Logged
johnbeardy
Administrator
Hero Member
*****
Posts: 1813


View Profile WWW
« Reply #7 on: November 06, 2007, 11:16:21 AM »

Have you got a test GPX file you can email me, Marc? I've found various GPX files online but none of them seem to load.

John
Logged
johnbeardy
Administrator
Hero Member
*****
Posts: 1813


View Profile WWW
« Reply #8 on: November 06, 2007, 11:27:32 AM »

Or perhaps just paste it here?

John
Logged
johnbeardy
Administrator
Hero Member
*****
Posts: 1813


View Profile WWW
« Reply #9 on: November 07, 2007, 05:39:57 AM »

Marc

How are you handling non-decimal coordinates?

I took that file you sent me and hacked it like this, entering identical coordinates at two time points comfortably before and after the time when I shot the 2 frames when the GPS unit was powered down. I entered the coordinates by cutting and pasting from another image's sidecar :

Code:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<gpx xmlns="http://www.topografix.com/GPX/1/1" creator="" version="1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd">
  <trk>
    <name>ACTIVE LOG091132</name>
    <trkseg>
      <trkpt lat="51,27.81N" lon="0,3.04W">
        <ele>57</ele>
        <time>2007-11-06T10:40:14Z</time>
      </trkpt>
      <trkpt lat="51,27.81N" lon="0,3.04W">
        <ele>57</ele>
        <time>2007-11-06T10:59:14Z</time>
      </trkpt>
    </trkseg>
  </trk>
</gpx>

When I imported the files off the card, the GPS data was in the EXIF but only as integers, not the minutes and seconds (or whatever they're called). What do you think? Might you be validating against the Topegrafix schema?

John
Logged
Marc Rochkind
Hero Member
*****
Posts: 1136


View Profile WWW Email
« Reply #10 on: November 07, 2007, 09:24:57 AM »

John--

IIP definitely can't anything other than decimal degrees (e.g., -105.157707464). No minutes, seconds, or directional indicators.

I am not validating against any schema. In fact, I am not processing the file as XML at all... I am making (incorrect) assumptions about how it's formatted.

As I think I mentioned in this or another thread, IIP should be making a full-blown parse, and that's on my list of things to do, but I haven't done it yet.

--Marc
Logged

johnbeardy
Administrator
Hero Member
*****
Posts: 1813


View Profile WWW
« Reply #11 on: November 07, 2007, 10:07:59 AM »

I think that's the right line to take. For example, I'd find it more useful to be able to apply a second metadata template or Lightroom presets, and you'd be opening a bigger can of worms parsing and validating GPS data. I was only hacking in the data and when I entered the decimal values, IIP was able to write the coordinates correctly into the file.

John
Logged
Marc Rochkind
Hero Member
*****
Posts: 1136


View Profile WWW Email
« Reply #12 on: November 07, 2007, 01:10:36 PM »

John--

Looking at the GPX spec, it seems that decimal degrees is all it allows. Do you see something I'm not seeing?

--Marc
Logged

johnbeardy
Administrator
Hero Member
*****
Posts: 1813


View Profile WWW
« Reply #13 on: November 07, 2007, 02:45:11 PM »

Marc

I was just being lazy / hopeful.

John
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!