From kde-commits Mon Jun 30 20:38:31 2014 From: Johannes Zarl Date: Mon, 30 Jun 2014 20:38:31 +0000 To: kde-commits Subject: [kphotoalbum] documentation: Database layout: minor fixes. Message-Id: X-MARC-Message: https://marc.info/?l=kde-commits&m=140416071914769 Git commit 530eead62746944ceb5d08f0b44139479ce6c812 by Johannes Zarl. Committed on 30/06/2014 at 20:38. Pushed by johanneszarl into branch 'master'. Database layout: minor fixes. M +5 -4 documentation/database-layout.md http://commits.kde.org/kphotoalbum/530eead62746944ceb5d08f0b44139479ce6c812 diff --git a/documentation/database-layout.md b/documentation/database-layo= ut.md index 2ac4947..8d541e3 100644 --- a/documentation/database-layout.md +++ b/documentation/database-layout.md @@ -4,7 +4,7 @@ Image database overview for KPhotoAlbum Concepts -------- = - 1) Fuzzy Dates +### Fuzzy Dates ### = KPhotoAlbum has the concept of fuzzy dates (or date intervals), which are = defined by a start date and an end date (both include a timestamp). This helps for photos which ha= ve been digitized from an @@ -13,7 +13,7 @@ analog medium. When the exact timestamp is known, startDate equals endDate. = = - 2) Directory structure +### Directory structure ### = All images are expected to be located below a common root folder. The root= folder is the one containing the index.xml database file. @@ -21,7 +21,7 @@ containing the index.xml database file. All file names in the index.xml file are relative to the root folder. = = - 3) Tags +### Tags ### = Tags (sometimes called Categories in KPhotoAlbum) are arranged in multiple= independent hierarchies, i.e. there is no common root for all tags. @@ -29,9 +29,10 @@ hierarchies, i.e. there is no common root for all tags. Tag hierarchies are organized as DAGs (directed acyclic graphs). = = - 4) Additional metadata +### Additional metadata ### = Exif information is stored in an sqlite database called `exif-info.db` in = the image root folder. +If the exif database is removed, it can be recreated from the image files. = = index.xml