photos_on_a_map (view)

1 row where "date" is on date 2017-12-16 and latitude = "51.503296666666664" sorted by sha256

View and edit SQL

latitude

  • 51.503296666666664 · 1

date (date)

  • 2017-12-16 · 1
date latitude longitude sha256 ▼ ext popup
2017-12-16T11:51:05+00:00 51.503296666666664 -0.13221116666666666 11b66e49de0d6187d44d38601aefce96dfa29f419444d201b1e03422bd76dc14 heic
{
    "title": "Taken on 2017-12-16T11:51:05+00:00",
    "image": "https://photos.simonwillison.net/i/11b66e49de0d6187d44d38601aefce96dfa29f419444d201b1e03422bd76dc14.heic?w=400",
    "link": "https://photos.simonwillison.net/i/11b66e49de0d6187d44d38601aefce96dfa29f419444d201b1e03422bd76dc14.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.584ms · About: dogsheep/dogsheep-photos