GPS format

Ask for help and post your question on how to use XnView Classic.

Moderators: XnTriq, helmut, xnview

earthshaker
Posts: 16
Joined: Tue Feb 12, 2008 1:42 am

GPS format

Post by earthshaker »

I was trying to add GPS info to some photos as text. I figured it out finally, but I noticed something I wanted to change in the format. Instead of the DD:MM:SS format I would prefer a decimal format DD.dddddd format is there a way to change this?
User avatar
xnview
Author of XnView
Posts: 44922
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: GPS format

Post by xnview »

currently no way
Pierre.
earthshaker
Posts: 16
Joined: Tue Feb 12, 2008 1:42 am

Re: GPS format

Post by earthshaker »

Thanks for the reply, It would be a nice feature because all of my gear that has GPS capability, and I have set it for DDD.dddd.
User avatar
michel038
XnThusiast
Posts: 1409
Joined: Tue Sep 27, 2016 8:18 am
Location: France

Re: GPS format

Post by michel038 »

Can you explain your need ? Maybe I could find a solution with ExifTool...
earthshaker
Posts: 16
Joined: Tue Feb 12, 2008 1:42 am

Re: GPS format

Post by earthshaker »

Uniformity between equipment, and software. It is much faster to enter DD.dddd than DD:MM:SS.
That is pretty much my logic.
User avatar
michel038
XnThusiast
Posts: 1409
Joined: Tue Sep 27, 2016 8:18 am
Location: France

Re: GPS format

Post by michel038 »

EDIT : Sorry, I thought it was a question about XnViewMP. :(
Following items are for XnViewMP.
---

I don't understand what you want to do...
- You can enter decimal coordinates in Tools>Metadata>Edit Gps dialog .

Or Add Text ?
gps3.jpg
.
Or


- Copy decimal GPS coordinates from google maps into a jpg photo ?
Copy from G maps, Tools>Metadata>Edit Gps > Paste

- Display latitude, longitude in native format ?
exiftool -k "-gpslatitude" "-gpslongitude" -n

- Display latitude with 5 digits, with latitude ref ?
exiftool -k -c "%.5" "-gpslatitude"

- Copy latitude, longitude in native format into "IPTC caption" :
exiftool -k "-iptc:caption-abstract<${gpslatitude#}, ${gpslongitude#}" -overwrite_original

How to use ExifTool with XnViewMP
You do not have the required permissions to view the files attached to this post.
earthshaker
Posts: 16
Joined: Tue Feb 12, 2008 1:42 am

Re: GPS format

Post by earthshaker »

I can try MP and check it out. Basically what I want to do is add a text version of the of coordinates on the photo for future reference.
I ruin across a lot of stuff out on the road and it would be nice to have a location of something so I can use my "real camera".
Thanks for the reply!