photoprism/internal/meta/data.go
Michael Mayer 3edf30ab3a Reduce location precision to float32
This is the practical limit of commercial data and should be more than enough for our use case while ideally providing better index performance.

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-26 11:41:54 +02:00

40 lines
722 B
Go

package meta
import (
"time"
)
// Data represents image meta data.
type Data struct {
UniqueID string
TakenAt time.Time
TakenAtLocal time.Time
TimeZone string
Title string
Subject string
Keywords string
Comment string
Artist string
Description string
Copyright string
CameraMake string
CameraModel string
CameraOwner string
CameraSerial string
LensMake string
LensModel string
Flash bool
FocalLength int
Exposure string
Aperture float32
FNumber float32
Iso int
Lat float32
Lng float32
Altitude int
Width int
Height int
Orientation int
All map[string]string
}