Added function which converts decimal position value to WGS-84 notation.
This commit is contained in:
12
rad_tag.py
12
rad_tag.py
@@ -11,7 +11,7 @@ import csv
|
||||
import argparse
|
||||
import pytz
|
||||
import gpxpy
|
||||
from functions import Radiation, Photo
|
||||
from functions import Radiation, Photo, Exif
|
||||
|
||||
# SIFACTOR for GQ Geiger counters
|
||||
|
||||
@@ -93,12 +93,14 @@ for src_photo in args.photos:
|
||||
print(photo.get_target_photo, photo.get_date)
|
||||
|
||||
# Here the matching magic has to happen
|
||||
latitude = '51.0234024'
|
||||
longitude = '7.248347'
|
||||
latitude = 51.0234024
|
||||
longitude = 7.248347
|
||||
radiation = '9001'
|
||||
elevation = '55'
|
||||
|
||||
# Write exif data
|
||||
#exif_tags = Photo.write_exif(photo.get_target_photo, radiation, latitude, longitude, args.dry)
|
||||
#print(exif_tags)
|
||||
exif_tags = Exif(photo.get_target_photo, radiation, latitude, longitude, elevation, args.dry)
|
||||
print(exif_tags)
|
||||
|
||||
# Print table header
|
||||
print('{:<15} {:<25} {:<22}'.format('filename', 'date / time', 'Exif UserComment'))
|
Reference in New Issue
Block a user