photos_on_a_map (view)

3 rows where "date" is on date 2017-12-03 sorted by date descending

View and edit SQL

Suggested facets: date (date)

ext

date ▲ latitude longitude sha256 ext popup
2017-12-03T22:49:55+00:00 37.333663333333334 -121.92330833333334 a6c77dd4fb9cd10a38e56b6d1d0962b03d79a57e4cad71921d4a583d8b86b298 heic
{
    "title": "Taken on 2017-12-03T22:49:55+00:00",
    "image": "https://photos.simonwillison.net/i/a6c77dd4fb9cd10a38e56b6d1d0962b03d79a57e4cad71921d4a583d8b86b298.heic?w=400",
    "link": "https://photos.simonwillison.net/i/a6c77dd4fb9cd10a38e56b6d1d0962b03d79a57e4cad71921d4a583d8b86b298.heic?w=1200"
}
2017-12-03T22:40:16+00:00 37.333511666666666 -121.92306333333333 a99406f355b55e1d8c5bf18f8d85761ef703d75b862e715f9e9751c5e0a8bacd heic
{
    "title": "Taken on 2017-12-03T22:40:16+00:00",
    "image": "https://photos.simonwillison.net/i/a99406f355b55e1d8c5bf18f8d85761ef703d75b862e715f9e9751c5e0a8bacd.heic?w=400",
    "link": "https://photos.simonwillison.net/i/a99406f355b55e1d8c5bf18f8d85761ef703d75b862e715f9e9751c5e0a8bacd.heic?w=1200"
}
2017-12-03T21:29:30+00:00 37.333938333333336 -121.92302 e8b97c85b48fe094964dd0e016e92f71f506e3d8586861f4bd8fe243365b9fe7 heic
{
    "title": "Taken on 2017-12-03T21:29:30+00:00",
    "image": "https://photos.simonwillison.net/i/e8b97c85b48fe094964dd0e016e92f71f506e3d8586861f4bd8fe243365b9fe7.heic?w=400",
    "link": "https://photos.simonwillison.net/i/e8b97c85b48fe094964dd0e016e92f71f506e3d8586861f4bd8fe243365b9fe7.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 21.851ms · About: dogsheep/dogsheep-photos