Check the Setup
- Python 3.10 or newer
- A notebook environment such as Jupyter or Google Colab
- An internet connection
Public tree locations, species, dimensions, and planting dates for building urban forestry, biodiversity, and canopy equity maps.
Report a ProblemFrom Source to Product Signal
Start with one species and a small API page of mapped trees. Private trees are excluded, records without coordinates are absent, and some attributes may be several years out of date.
Install the packages, then run the notebook cell.
python -m pip install pandas requests
import pandas as pd
import requests
url = "https://opendata.vancouver.ca/api/explore/v2.1/catalog/datasets/public-trees/records"
response = requests.get(url, params={"limit": 100}, timeout=30)
response.raise_for_status()
trees = pd.json_normalize(response.json()["results"])
columns = [
"asset_id",
"common_name",
"genus_name",
"species_name",
"height_m",
"diameter_cm",
"date_planted",
"geo_point_2d.lat",
"geo_point_2d.lon",
]
print(trees[columns].head())Test a Useful Signal
Test whether species counts can support a local urban-forest diversity map.
City of Vancouver is a government source. Last verified 2026-09-03. Temporal coverage: Current inventory with planting dates where available.