photos_on_a_map (view)

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

View and edit SQL

longitude

  • -0.13202216666666666 · 1

date (date)

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