photos_on_a_map (view)

2 rows where "date" is on date 2019-09-14 and longitude = "-90.07913883333333"

View and edit SQL

longitude

  • -90.07913883333333 · 2

date (date)

  • 2019-09-14 · 2
date latitude longitude sha256 ext popup
2019-09-14T16:27:56+00:00 29.941283333333335 -90.07913883333333 86e8a0932628c6450de3649297ab0295831bb3963b186b262d8ff4bfdf9cfef0 heic
{
    "title": "Taken on 2019-09-14T16:27:56+00:00",
    "image": "https://photos.simonwillison.net/i/86e8a0932628c6450de3649297ab0295831bb3963b186b262d8ff4bfdf9cfef0.heic?w=400",
    "link": "https://photos.simonwillison.net/i/86e8a0932628c6450de3649297ab0295831bb3963b186b262d8ff4bfdf9cfef0.heic?w=1200"
}
2019-09-14T16:22:47+00:00 29.940883333333332 -90.07913883333333 febc9309036eecd044283deed4492854256af6ad195f9c71165e60928633e57f heic
{
    "title": "Taken on 2019-09-14T16:22:47+00:00",
    "image": "https://photos.simonwillison.net/i/febc9309036eecd044283deed4492854256af6ad195f9c71165e60928633e57f.heic?w=400",
    "link": "https://photos.simonwillison.net/i/febc9309036eecd044283deed4492854256af6ad195f9c71165e60928633e57f.heic?w=1200"
}

Advanced export

JSON shape: default, array, newline-delimited

CSV options:

CREATE VIEW photos_on_a_map AS select
      date,
      latitude,
      longitude,
      apple_photos.sha256,
      uploads.ext,
      json_object(
        'title',
        'Taken on ' || date,
        'image',
        'https://photos.simonwillison.net/i/' || uploads.sha256 || '.' || uploads.ext || '?w=400',
        'link',
        'https://photos.simonwillison.net/i/' || uploads.sha256 || '.' || uploads.ext || '?w=1200'
      ) as popup
    from
      apple_photos
      join uploads on apple_photos.sha256 = uploads.sha256
    where
      latitude is not null
    order by
      date desc;
Powered by Datasette · Query took 14.879ms · About: dogsheep/dogsheep-photos