ExifTool Forum

General => Metadata => Topic started by: danery on July 29, 2023, 08:20:48 AM

Poll
Question: Please which command should I use?
Option 1: How do I get Google to accept it? votes: 0
Option 2: Should it be simpler? votes: 0
Title: Streetview rejects GPS data
Post by: danery on July 29, 2023, 08:20:48 AM
With the command
exiftool xxxxx.mp4 -gpslatitude=45.9104729 -gpslongitude=5.3440894 -gpslatituderef=N -gpslongituderef=E
which works in the terminal Mac, Streetview rejects it.
Title: Re: Streetview rejects GPS data
Post by: wywh on July 29, 2023, 10:21:55 AM
I am not familiar with StreetView but try in order for movies (-GPSCoordinates defaults to ItemList). You might leave the altitude off:

exiftool -P -overwrite_original -Keys:GPSCoordinates='-36.6101, -66.91515, 119.9' a.mp4

exiftool -P -overwrite_original -UserData:GPSCoordinates='-36.6101, -66.91515, 119.9' a.mp4

exiftool -P -overwrite_original -ItemList:GPSCoordinates='-36.6101, -66.91515, 119.9' a.mp4

I use Keys for Google Photos and UserData should also work there.

- Matti
Title: Re: Streetview rejects GPS data
Post by: StarGeek on July 29, 2023, 01:54:35 PM
As wywh points out, you probably should be writing to GPSCoordinates instead of GPSLatitude/GPSLongitude.  In a video file, GPSLatitude/GPSLongitude will be written to the XMP GPS tags, which do not have as much support outside of Adobe programs. Also, in XMP, there isn't a separate GPSLatitudeRef/GPSLongitudeRef tag, the reference values are to be included in the base tag.
Title: Re: Streetview rejects GPS data
Post by: danery on July 30, 2023, 04:38:27 AM
Thank you for these answers but i've just realised that street view refuses indoor locations and i think that's where the problem lies.
Once again, thank you all
Jacques