This data as json, CSV (advanced)
Suggested facets: date (date)
date | latitude | longitude | sha256 | ext | popup |
---|---|---|---|---|---|
2018-02-20T22:44:29+00:00 | 37.74223666666666 | -122.44938666666667 | 74183483f655417535a43a9079a67c53ff2acbbc6b37777f85eb86ac69004e86 | heic | { "title": "Taken on 2018-02-20T22:44:29+00:00", "image": "https://photos.simonwillison.net/i/74183483f655417535a43a9079a67c53ff2acbbc6b37777f85eb86ac69004e86.heic?w=400", "link": "https://photos.simonwillison.net/i/74183483f655417535a43a9079a67c53ff2acbbc6b37777f85eb86ac69004e86.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;