This data as json, CSV (advanced)
date | latitude | longitude | sha256 ▼ | ext | popup |
---|---|---|---|---|---|
2018-02-20T23:04:00+00:00 | 37.74257166666666 | -122.44921166666667 | fdc3052b1eb0fc7ebf3511145fa1744be8a22de793c74f9d89f98ffca730df5b | heic | { "title": "Taken on 2018-02-20T23:04:00+00:00", "image": "https://photos.simonwillison.net/i/fdc3052b1eb0fc7ebf3511145fa1744be8a22de793c74f9d89f98ffca730df5b.heic?w=400", "link": "https://photos.simonwillison.net/i/fdc3052b1eb0fc7ebf3511145fa1744be8a22de793c74f9d89f98ffca730df5b.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" } |
JSON shape: default, array, newline-delimited
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;