photos_on_a_map (view)

4 rows where "date" is on date 2018-04-22 and longitude = "-122.34418666666667"

View and edit SQL

longitude

  • -122.34418666666667 · 4

date (date)

  • 2018-04-22 · 4
date latitude longitude sha256 ext popup
2018-04-22T00:15:41+00:00 37.579195 -122.34418666666667 c2d8185df63eb139b856d3af911ee0006353b369ca2c37fc5983b4bfd073e700 heic
{
    "title": "Taken on 2018-04-22T00:15:41+00:00",
    "image": "https://photos.simonwillison.net/i/c2d8185df63eb139b856d3af911ee0006353b369ca2c37fc5983b4bfd073e700.heic?w=400",
    "link": "https://photos.simonwillison.net/i/c2d8185df63eb139b856d3af911ee0006353b369ca2c37fc5983b4bfd073e700.heic?w=1200"
}
2018-04-22T00:11:30+00:00 37.57924166666667 -122.34418666666667 29d25816cf8e645abe0cc1d731d8ab025a67e89a5058a98452eb2247900b17b3 heic
{
    "title": "Taken on 2018-04-22T00:11:30+00:00",
    "image": "https://photos.simonwillison.net/i/29d25816cf8e645abe0cc1d731d8ab025a67e89a5058a98452eb2247900b17b3.heic?w=400",
    "link": "https://photos.simonwillison.net/i/29d25816cf8e645abe0cc1d731d8ab025a67e89a5058a98452eb2247900b17b3.heic?w=1200"
}
2018-04-22T00:11:18+00:00 37.57925 -122.34418666666667 decf63b8e7a30b93e080919d312b4d985736ca17678d96fa4fdd3ce81c84a721 heic
{
    "title": "Taken on 2018-04-22T00:11:18+00:00",
    "image": "https://photos.simonwillison.net/i/decf63b8e7a30b93e080919d312b4d985736ca17678d96fa4fdd3ce81c84a721.heic?w=400",
    "link": "https://photos.simonwillison.net/i/decf63b8e7a30b93e080919d312b4d985736ca17678d96fa4fdd3ce81c84a721.heic?w=1200"
}
2018-04-22T00:02:59+00:00 37.579253333333334 -122.34418666666667 fa48b9304c0a1de7f0cc8a3512c76452dc458964ea0394ea346740ed8b71eee9 heic
{
    "title": "Taken on 2018-04-22T00:02:59+00:00",
    "image": "https://photos.simonwillison.net/i/fa48b9304c0a1de7f0cc8a3512c76452dc458964ea0394ea346740ed8b71eee9.heic?w=400",
    "link": "https://photos.simonwillison.net/i/fa48b9304c0a1de7f0cc8a3512c76452dc458964ea0394ea346740ed8b71eee9.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 24.606ms · About: dogsheep/dogsheep-photos