photos_on_a_map (view)

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

View and edit SQL

latitude

  • 51.50336166666666 · 1

date (date)

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