photos_on_a_map (view)

4 rows where "date" is on date 2018-03-25

View and edit SQL

Suggested facets: latitude

date (date)

  • 2018-03-25 · 4
date latitude longitude sha256 ext popup
2018-03-25T23:58:04+00:00 37.73271666666667 -122.468375 486a9d6bad60a510919292a3e18dd70e4ca8159162f601bbce169d6e1af9ff7c heic
{
    "title": "Taken on 2018-03-25T23:58:04+00:00",
    "image": "https://photos.simonwillison.net/i/486a9d6bad60a510919292a3e18dd70e4ca8159162f601bbce169d6e1af9ff7c.heic?w=400",
    "link": "https://photos.simonwillison.net/i/486a9d6bad60a510919292a3e18dd70e4ca8159162f601bbce169d6e1af9ff7c.heic?w=1200"
}
2018-03-25T23:57:33+00:00 37.73271166666667 -122.46839166666666 978eaabc0e123d079004bd4c698fc270eb2f9809bede347ae862d7c1cebe68fd heic
{
    "title": "Taken on 2018-03-25T23:57:33+00:00",
    "image": "https://photos.simonwillison.net/i/978eaabc0e123d079004bd4c698fc270eb2f9809bede347ae862d7c1cebe68fd.heic?w=400",
    "link": "https://photos.simonwillison.net/i/978eaabc0e123d079004bd4c698fc270eb2f9809bede347ae862d7c1cebe68fd.heic?w=1200"
}
2018-03-25T23:57:19+00:00 37.73272 -122.4684 814e5de6c8f35a62f5dacc6749fd74aa11f0ba3c80704f3f929b0d1e03895c23 heic
{
    "title": "Taken on 2018-03-25T23:57:19+00:00",
    "image": "https://photos.simonwillison.net/i/814e5de6c8f35a62f5dacc6749fd74aa11f0ba3c80704f3f929b0d1e03895c23.heic?w=400",
    "link": "https://photos.simonwillison.net/i/814e5de6c8f35a62f5dacc6749fd74aa11f0ba3c80704f3f929b0d1e03895c23.heic?w=1200"
}
2018-03-25T23:57:03+00:00 37.73272 -122.46841333333333 3987ed15effdd8611ae43e0dbfa66d69bf3f246de9ebcc481524d5b5b75a7b2c heic
{
    "title": "Taken on 2018-03-25T23:57:03+00:00",
    "image": "https://photos.simonwillison.net/i/3987ed15effdd8611ae43e0dbfa66d69bf3f246de9ebcc481524d5b5b75a7b2c.heic?w=400",
    "link": "https://photos.simonwillison.net/i/3987ed15effdd8611ae43e0dbfa66d69bf3f246de9ebcc481524d5b5b75a7b2c.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 15.756ms · About: dogsheep/dogsheep-photos