photos_on_a_map (view)

202 rows where ext = "heic" sorted by popup

View and edit SQL

ext

  • heic · 202
date latitude longitude sha256 ext popup ▼
2020-05-15T21:57:58+00:00 37.61134667 -122.49619167 1bb184872fa6a61afc7e3629b45f57f161065b283d2005c2699242cade846055 heic
{
    "title": "Taken on 2020-05-15T21:57:58+00:00",
    "image": "https://photos.simonwillison.net/i/1bb184872fa6a61afc7e3629b45f57f161065b283d2005c2699242cade846055.heic?w=400",
    "link": "https://photos.simonwillison.net/i/1bb184872fa6a61afc7e3629b45f57f161065b283d2005c2699242cade846055.heic?w=1200"
}
2020-05-19T04:31:43+00:00 37.770916670000005 -122.47696667 502fbb347dc72fbffbddb7b92326f6ddbeb6d27a77d9761fb5406bd5ab43d445 heic
{
    "title": "Taken on 2020-05-19T04:31:43+00:00",
    "image": "https://photos.simonwillison.net/i/502fbb347dc72fbffbddb7b92326f6ddbeb6d27a77d9761fb5406bd5ab43d445.heic?w=400",
    "link": "https://photos.simonwillison.net/i/502fbb347dc72fbffbddb7b92326f6ddbeb6d27a77d9761fb5406bd5ab43d445.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 7.589ms · About: dogsheep/dogsheep-photos