UCL Connected Environments • CASA0017
Flickr Spatial & Metadata API
Explore 37,517 geotagged UK Flickr photos from early 2010. Choose an endpoint below to test parameters, inspect the live JSON response, and copy starter JavaScript code.
1. Select an Endpoint
Open Map Demo →
Try:
Loading...
Copy-ready client code for your coursework:
API Response Fields & Student Notes
| Field | Endpoint | Description & Usage Note |
|---|---|---|
pid |
Location & Photo | Unique Flickr Photo ID used to join locations with metadata. |
lat, lon |
Location & Camera | WGS84 decimal coordinates for plotting Leaflet markers. |
description |
Photo Description | URL-encoded title (spaces are +). Decode with decodeURIComponent(str.replace(/\+/g, ' ')). |
device |
Photo & Cameras | EXIF camera model string (e.g. Canon EOS 40D). |
date_uploaded |
Photo Description | Unix timestamp in seconds. Multiply by 1000 for JS new Date(ts * 1000). |
download_url |
Photo Description | Static Flickr image URL. Note: /data/photoDescription/:pid returns a 1-item array [ { ... } ]. |
Full Dataset Tip: Using a very large radius (e.g.
1000000000000 km) from London returns all 37,517 photos at once:https://casa0017.cetools.org/data/51.514756/-0.104345/1000000000000
Download Raw Datasets
Download the underlying CSV tables and SQL dumps for offline analysis or local MySQL import:
Photo Locations CSV
37,517 rows • pid, lat, lon (~2.9 MB)
Photos Metadata CSV
37,517 rows • pid, date_uploaded, download_url (~3.1 MB)
Cities Reference SQL
cities.sql • Reference city coordinates (~2.3 MB)
Complete Archive (.zip)
All CSV datasets and SQL schemas (~1.3 MB)