[niepce] Added Longitude and Latitude from GPS exif
- From: Hubert Figuière <hub src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [niepce] Added Longitude and Latitude from GPS exif
- Date: Sat, 12 Jul 2014 17:01:52 +0000 (UTC)
commit 6be649783decdcc663c186437098a72b691180f3
Author: Hubert Figuière <hub figuiere net>
Date: Wed Jul 9 20:13:32 2014 -0400
Added Longitude and Latitude from GPS exif
src/engine/db/metadata.hpp | 2 ++
src/engine/db/properties-def.hpp | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/engine/db/metadata.hpp b/src/engine/db/metadata.hpp
index 08e4598..e80856c 100644
--- a/src/engine/db/metadata.hpp
+++ b/src/engine/db/metadata.hpp
@@ -62,6 +62,8 @@ enum {
META_EXIF_WB, // NS_EXIF, "WhiteBalance"
META_EXIF_DATETIMEORIGINAL, // NS_EXIF, "DateTimeOriginal"
META_EXIF_FOCALLENGTH, // NS_EXIF, "FocalLength"
+ META_EXIF_GPSLONGITUDE, // NS_EXIF, "GPSLongitude"
+ META_EXIF_GPSLATITUDE, // NS_EXIF, "GPSLatitude"
_META_EXIF_LAST_
};
diff --git a/src/engine/db/properties-def.hpp b/src/engine/db/properties-def.hpp
index 2e8d16c..ecd56de 100644
--- a/src/engine/db/properties-def.hpp
+++ b/src/engine/db/properties-def.hpp
@@ -46,6 +46,8 @@ DEFINE_PROPERTY(NpExifAuxFlashCompensationProp, MAKE_METADATA_IDX(META_NS_EXIF,
DEFINE_PROPERTY(NpExifWbProp, MAKE_METADATA_IDX(META_NS_EXIF, META_EXIF_WB), NS_EXIF, "WhiteBalance",
int32_t)
DEFINE_PROPERTY(NpExifDateTimeOriginalProp, MAKE_METADATA_IDX(META_NS_EXIF, META_EXIF_DATETIMEORIGINAL),
NS_EXIF, "DateTimeOriginal", fwk::Date)
DEFINE_PROPERTY(NpExifFocalLengthProp, MAKE_METADATA_IDX(META_NS_EXIF, META_EXIF_FOCALLENGTH), NS_EXIF,
"FocalLength", int32_t)
+DEFINE_PROPERTY(NpExifGpsLongProp, MAKE_METADATA_IDX(META_NS_EXIF, META_EXIF_GPSLONGITUDE), NS_EXIF,
"GPSLongitude", std::string)
+DEFINE_PROPERTY(NpExifGpsLatProp, MAKE_METADATA_IDX(META_NS_EXIF, META_EXIF_GPSLATITUDE), NS_EXIF,
"GPSLatitude", std::string)
DEFINE_PROPERTY(NpIptcHeadlineProp, MAKE_METADATA_IDX(META_NS_IPTC, META_IPTC_HEADLINE), NS_PHOTOSHOP,
"Headline", std::string)
DEFINE_PROPERTY(NpIptcDescriptionProp, MAKE_METADATA_IDX(META_NS_IPTC, META_IPTC_DESCRIPTION), NS_DC,
"description", std::string)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]