photos_on_a_map (view)

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

View and edit SQL

longitude

  • -0.132025 · 1

date (date)

  • 2017-12-16 · 1
date latitude longitude sha256 ▼ ext popup
2017-12-16T11:52:19+00:00 51.5034 -0.132025 9ae44af9c6d663d44e03539a41fed0bb4679519f542ba99439f00a44a22d262c heic
{
    "title": "Taken on 2017-12-16T11:52:19+00:00",
    "image": "https://photos.simonwillison.net/i/9ae44af9c6d663d44e03539a41fed0bb4679519f542ba99439f00a44a22d262c.heic?w=400",
    "link": "https://photos.simonwillison.net/i/9ae44af9c6d663d44e03539a41fed0bb4679519f542ba99439f00a44a22d262c.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 16.757ms · About: dogsheep/dogsheep-photos