photos_on_a_map (view)

4 rows where "date" is on date 2018-09-04

View and edit SQL

Suggested facets: latitude, date (date)

date latitude longitude sha256 ext popup
2018-09-04T15:40:35+00:00 50.656758333333336 -4.251725 9ab8a8f8d0d8d62ecf5411bdb5ed26b1e5b7fa9df793f0ff21f7080e0163eb64 heic
{
    "title": "Taken on 2018-09-04T15:40:35+00:00",
    "image": "https://photos.simonwillison.net/i/9ab8a8f8d0d8d62ecf5411bdb5ed26b1e5b7fa9df793f0ff21f7080e0163eb64.heic?w=400",
    "link": "https://photos.simonwillison.net/i/9ab8a8f8d0d8d62ecf5411bdb5ed26b1e5b7fa9df793f0ff21f7080e0163eb64.heic?w=1200"
}
2018-09-04T14:39:55+00:00 50.656525 -4.251916666666666 bf353867bc1597a9f89dbc4de8af7d755095da20198147e47c69c35f6ebf0b36 heic
{
    "title": "Taken on 2018-09-04T14:39:55+00:00",
    "image": "https://photos.simonwillison.net/i/bf353867bc1597a9f89dbc4de8af7d755095da20198147e47c69c35f6ebf0b36.heic?w=400",
    "link": "https://photos.simonwillison.net/i/bf353867bc1597a9f89dbc4de8af7d755095da20198147e47c69c35f6ebf0b36.heic?w=1200"
}
2018-09-04T14:29:33+00:00 50.65674666666666 -4.251666666666667 03546cdc3eb2bd9bb65aa3004efbb8e1ca942ba52a6e860582f7c7f725f7a624 heic
{
    "title": "Taken on 2018-09-04T14:29:33+00:00",
    "image": "https://photos.simonwillison.net/i/03546cdc3eb2bd9bb65aa3004efbb8e1ca942ba52a6e860582f7c7f725f7a624.heic?w=400",
    "link": "https://photos.simonwillison.net/i/03546cdc3eb2bd9bb65aa3004efbb8e1ca942ba52a6e860582f7c7f725f7a624.heic?w=1200"
}
2018-09-04T13:56:50+00:00 50.656525 -4.251813333333334 53606e5b7d92fe96e74baa5721c4638c5fc5956c7e9409fcf2fda0d14a1aec55 heic
{
    "title": "Taken on 2018-09-04T13:56:50+00:00",
    "image": "https://photos.simonwillison.net/i/53606e5b7d92fe96e74baa5721c4638c5fc5956c7e9409fcf2fda0d14a1aec55.heic?w=400",
    "link": "https://photos.simonwillison.net/i/53606e5b7d92fe96e74baa5721c4638c5fc5956c7e9409fcf2fda0d14a1aec55.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 23.721ms · About: dogsheep/dogsheep-photos