360 Secure SkillHub
360 安全技能中心

City of Ottawa Open Data

通过 ArcGIS Hub 搜索、查看并获取渥太华市开放数据门户的 670 多个公开数据集,支持列出数据集、查询元数据、按条数抓取数据以及导出 CSV。

raychanpmp
raychanpmp
热度 38.11
最近更新 2026-05-11 17:38:29
分类:搜索依赖:代码执行 / 第三方 API应用场景:研究 / 数据处理

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add ottawa-opendata
Metadata
name
City of Ottawa Open Data
description
Access 670+ datasets from the City of Ottawa open data portal. Search, fetch, and analyze city data on transit, environment, health, elections, and more via ArcGIS Hub.
permissions
Bash
triggers
["ottawa open data","city of ottawa data","ottawa dataset","open.ottawa.ca","ottawa transit","ottawa environment"]

City of Ottawa Open Data

Access and analyze 670+ open datasets from the City of Ottawa via ArcGIS Hub. Data covers transit, environment, health, elections, infrastructure, and more.

Portal: https://open.ottawa.ca Platform: ArcGIS Hub

Quick Start

# Search for datasets
python3 scripts/ottawa_data.py search "transit"

# List all datasets
python3 scripts/ottawa_data.py list

# View dataset info
python3 scripts/ottawa_data.py info "Ottawa Ward Boundaries"

# Fetch data
python3 scripts/ottawa_data.py fetch "Ottawa Ward Boundaries" --limit 5

# Export as CSV
python3 scripts/ottawa_data.py fetch "Bus Routes" --limit 100 --csv > routes.csv

# List direct download URLs
python3 scripts/ottawa_data.py downloads

Commands Reference

Command Description
search <query> Search datasets by keyword
list List all datasets
info <name-or-id> Show dataset metadata and data source
fetch <name-or-id> Fetch data (opts: --limit, --csv)
downloads List datasets with direct download URLs

Data Sources

Ottawa datasets come in three types:

  1. ArcGIS Feature Services — Queryable geospatial data
  2. ArcGIS Map Services — Read-only map layers
  3. Document Links — Direct file downloads

Data Sources

All data from open.ottawa.ca.