查询于默奥市政府关于地点、设施、人口统计、环境等方面的开放数据。
https://opendata.umea.se/api/v2/
gop_lekparkerbadplatservandringslederrastplatsertrad-som-forvaltas-av-gator-och-parkerladdplatserwifi-hotspotsbygglov-beslutbygglov-inkomna-arendenbefolkningsfoeraendringar-helarbostadsbestand-hustypvaxthusgasutslapp_umeaexempel-brottsstatistik-anmaelda-brott-fran-bra-s-oeppna-data./scripts/query.sh <数据集ID> [限制数量]
示例:
./scripts/query.sh badplatser 10
./scripts/query.sh laddplatser 20
./scripts/nearby.sh <数据集ID> <纬度> <经度> [限制数量]
示例:
# 查找离 Mariehem(大致坐标)最近的游乐场
./scripts/nearby.sh gop_lekparker 63.8200 20.3000 5
# 查找离市中心最近的电动汽车充电站
./scripts/nearby.sh laddplatser 63.8258 20.2630 5
curl "https://opendata.umea.se/api/v2/catalog/datasets"
curl "https://opendata.umea.se/api/v2/catalog/datasets/{数据集ID}/records?limit=20"
curl "https://opendata.umea.se/api/v2/catalog/datasets?where=search(default,\"查询词\")"
所有记录遵循以下结构:
{
"total_count": 123,
"records": [
{
"record": {
"id": "唯一标识符",
"timestamp": "2024-01-01T12:00:00Z",
"fields": {
"namn": "地点名称",
"geo_point_2d": {
"lat": 63.825,
"lon": 20.263
},
...
}
}
}
]
}
AI 可以回答类似以下的问题:
休闲娱乐:
- "离 Mariehem 最近的游乐场在哪里?"
- "于默奥有哪些游泳点?"
- "我可以在哪里徒步?"
- "E4 公路附近有休息区吗?"
基础设施:
- "市中心附近有充电站吗?"
- "哪里有免费 WiFi?"
- "总共有多少个充电桩?"
规划:
- "最近批准了哪些建筑许可?"
- "于默奥目前正在建设什么?"
人口统计与环境:
- "人口是如何变化的?"
- "于默奥的温室气体排放量是多少?"
- "于默奥有多少套住房?"
- "犯罪统计数据如何?"