photos_on_a_map (view)

5 rows where "date" is on date 2016-04-19 sorted by popup

View and edit SQL

Suggested facets: latitude, longitude

ext

date (date)

  • 2016-04-19 · 5
date latitude longitude sha256 ext popup ▼
2016-04-19T22:24:36+00:00 37.863186666666664 -122.49463666666666 c5da768a066d3ed8487b4cf7520c8960f46510357e13edb68729cd3b0565fcbb jpeg
{
    "title": "Taken on 2016-04-19T22:24:36+00:00",
    "image": "https://photos.simonwillison.net/i/c5da768a066d3ed8487b4cf7520c8960f46510357e13edb68729cd3b0565fcbb.jpeg?w=400",
    "link": "https://photos.simonwillison.net/i/c5da768a066d3ed8487b4cf7520c8960f46510357e13edb68729cd3b0565fcbb.jpeg?w=1200"
}
2016-04-19T22:24:47+00:00 37.86320833333333 -122.49472 44458ddd988ba5866c6a1e5db026a57add085c80d64a6f0f52fffacd816e52ad jpeg
{
    "title": "Taken on 2016-04-19T22:24:47+00:00",
    "image": "https://photos.simonwillison.net/i/44458ddd988ba5866c6a1e5db026a57add085c80d64a6f0f52fffacd816e52ad.jpeg?w=400",
    "link": "https://photos.simonwillison.net/i/44458ddd988ba5866c6a1e5db026a57add085c80d64a6f0f52fffacd816e52ad.jpeg?w=1200"
}
2016-04-19T22:24:58+00:00 37.863236666666666 -122.49486666666667 d0645484f8416d699b4c9bb4a33ce66030db5ce8dbaf7a6145e16cbec845369c jpeg
{
    "title": "Taken on 2016-04-19T22:24:58+00:00",
    "image": "https://photos.simonwillison.net/i/d0645484f8416d699b4c9bb4a33ce66030db5ce8dbaf7a6145e16cbec845369c.jpeg?w=400",
    "link": "https://photos.simonwillison.net/i/d0645484f8416d699b4c9bb4a33ce66030db5ce8dbaf7a6145e16cbec845369c.jpeg?w=1200"
}
2016-04-19T22:25:25+00:00 37.863236666666666 -122.49486666666667 303e5a7d0a3d1c3f5d5429bafb9ff301b9b5b333714db85a6b4fcd750600a7da jpeg
{
    "title": "Taken on 2016-04-19T22:25:25+00:00",
    "image": "https://photos.simonwillison.net/i/303e5a7d0a3d1c3f5d5429bafb9ff301b9b5b333714db85a6b4fcd750600a7da.jpeg?w=400",
    "link": "https://photos.simonwillison.net/i/303e5a7d0a3d1c3f5d5429bafb9ff301b9b5b333714db85a6b4fcd750600a7da.jpeg?w=1200"
}
2016-04-19T22:25:45+00:00 37.863213333333334 -122.49489666666666 923523f764375c334e0a6e2337ae2d97d43f5d4a351c27e71aa5b531b56c6719 jpeg
{
    "title": "Taken on 2016-04-19T22:25:45+00:00",
    "image": "https://photos.simonwillison.net/i/923523f764375c334e0a6e2337ae2d97d43f5d4a351c27e71aa5b531b56c6719.jpeg?w=400",
    "link": "https://photos.simonwillison.net/i/923523f764375c334e0a6e2337ae2d97d43f5d4a351c27e71aa5b531b56c6719.jpeg?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.89ms · About: dogsheep/dogsheep-photos