This script will put the proper NSEW direction on a GPS string
GPS string example from a gps.gpx file: Must use this format to input below:
trkpt lat="30.5" lon="-116.58251060922"trkpt
upload gps.txt file
See the gps2Photo.log.txt file
Get lat. lon. from a map with your mouse pointer.
Image Created on format
PST
MST
CST
EST
GPS string: also put in gps.txt

gps string =
subdirs array = 22447981471687751000100008192150862651014220758741422075874409616 Page -

Previous | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | Next

GPS (without NSEW) = 30.5:-118.58251060922
== gps.txt , Process time: 10/21/2017 17:1:35
exifTool .

exifTool ..

exifTool N30.5W-118.58251060922A.jpg
exifTool N30.5W-118.58251060922A.jpg
OriginalphotoTime:: N30.5W-118.58251060922A.jpg ()
gtime= 3512321102017
ptime= 3511721102017
:: Delta= 600000000

gtime preset (not current)= 20051017183731 == taken at N3 0.5 W-11 8.58251060922 gtime preset(2005-10-17 18:37:31) Delta(600000000 sec) ==
gtime preset (not current)= 2005-10-17T18:37:31
lat=N30.5lon=W-116.58251060922