GPS Position no longer works with Google Maps

Started by Serenity, July 24, 2019, 11:45:10 AM

Previous topic - Next topic

Serenity

I'm either losing my mind (a distinct possibility), of Google has diddled with their syntax-checking, within "search window".  Only a few weeks ago, I could use this syntax:
exiftool.exe -GPSPosition# -s3 %* | clip

... and it would generate a result like this: 44.7207861111111 -110.4794
Obviously, that still generates the same output in all of the recent versions of the ExifTool, but when I now drop that into the search dialog on Google Maps, it generates "Maps can't find" error.

On a whim, I decided to stick a plus-sign in from of the strong, i.e. +44...., and it magically works, which, again, leads me to believe that they've just tweaked their syntax checking, to avoid some sort of ambiguity problem with "real" addresses.

I could diddle with the script to prepend the string with a '+', but before messing with that, I figured that I'd ask whether the exiftool output could simply be "signed" as the default behavior.

And, again, maybe I'm just missing something obvious, so feel free to tell me that I'm misinterpreting what has happened.

Thanks for your time and help.

Phil Harvey

Try this:

exiftool.exe -gpsposition -c %+.8f %* | clip

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Serenity

I copy/pasted that exact line, but when I drop a pic on it, the clipboard comes out empty.  To be very specific (and exact), this line:
D:\"Program Files (x86)"\ExifTool\exiftool.exe -gpsposition -c %+.8f %* | clip
... replacing my original line:
D:\"Program Files (x86)"\ExifTool\exiftool.exe -GPSPosition# -s3 %* | clip

Obviously, my world isn't ending because of this, so prioritize accordingly.  I just appreciate the help/guidance.

As always, thanks...

Phil Harvey

Is this in a .bat file?  If so, the "%" characters must be doubled.

- Phil

Edit: Ah, yes.  It must be in a .bat file because you are using "%*".  Sorry, I should have realized that.  Try this line (I also forgot the -s3):

D:\"Program Files (x86)"\ExifTool\exiftool.exe -gpsposition -c %%+.8f -s3 %* | clip
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Serenity

You are a "god",  or... "king of the known universe" (whichever title you prefer).

THANKS a bunch.  REALLY do appreciate your time and help.

Phil Harvey

Quote from: Serenity on July 24, 2019, 05:02:46 PM
You are a "god",  or... "king of the known universe" (whichever title you prefer).

:)  I won't tell my ego that you said this.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).