Datacloud历史影像查询(按城市)API是通过 HTTPS 协议访问远程服务的接口,根据城市名称查询指定城市的历史影像数据。
参数名 | 含义 | 规则数据 | 是否必填 | 缺省值 |
cityname | 城市名的拼音,暂时仅支持省会、直辖 | string | 是 | / |
参数名 | 含义 | 规则数据 |
year | 影像年份,示例:2017 | String |
format | 地图瓦片的图片格式,示例:webp | String |
bounds | 影像的范围,示例: [116.937488, 31.505384, 117.74664, 32.306936] | Array |
tiles | 历史影像的请求地址 | Array |
请求示例
https://api.open.geovisearth.com/v2/history/years/city?token=您的token&cityname=hefei
返回示例
{
"hefei": [
{
"tiles": [
"https://api.open.geovisearth.com/v2/getStreamReq/plus/v1/time-series/cities/hefei/hefei_2017/tiles/{z}/{x}/{y}.webp?token=be6db9a4e38fc66641e10c370ebe842fe15304eb411a43417f76652af7e4cafe"
],
"scheme": "xyz",
"year": "2017",
"format": "webp",
"bounds": [
116.937488,
31.505384,
117.74664,
32.306936
],
"type": "overlay",
"isIntersect": true
},
{
"tiles": [
"https://api.open.geovisearth.com/v2/getStreamReq/plus/v1/time-series/cities/hefei/hefei_2018/tiles/{z}/{x}/{y}.webp?token=be6db9a4e38fc66641e10c370ebe842fe15304eb411a43417f76652af7e4cafe"
],
"scheme": "xyz",
"year": "2018",
"format": "webp",
"bounds": [
116.88184,
31.617984,
117.636208,
32.294304
],
"type": "overlay",
"isIntersect": true
},
{
"tiles": [
"https://api.open.geovisearth.com/v2/getStreamReq/plus/v1/time-series/cities/hefei/hefei_2019/tiles/{z}/{x}/{y}.webp?token=be6db9a4e38fc66641e10c370ebe842fe15304eb411a43417f76652af7e4cafe"
],
"scheme": "xyz",
"year": "2019",
"format": "webp",
"bounds": [
116.853224,
31.467664,
117.68816,
32.25132
],
"type": "overlay",
"isIntersect": true
},
{
"tiles": [
"https://api.open.geovisearth.com/v2/getStreamReq/plus/v1/time-series/cities/hefei/hefei_2020/tiles/{z}/{x}/{y}.webp?token=be6db9a4e38fc66641e10c370ebe842fe15304eb411a43417f76652af7e4cafe"
],
"scheme": "xyz",
"year": "2020",
"format": "webp",
"bounds": [
116.933856,
31.612208,
117.603096,
32.286728
],
"type": "overlay",
"isIntersect": true
},
{
"tiles": [
"https://api.open.geovisearth.com/v2/getStreamReq/plus/v1/time-series/cities/hefei/hefei_2021/tiles/{z}/{x}/{y}.webp?token=be6db9a4e38fc66641e10c370ebe842fe15304eb411a43417f76652af7e4cafe"
],
"scheme": "xyz",
"year": "2021",
"format": "webp",
"bounds": [
117.082721,
31.668084,
117.464116,
32.044479
],
"type": "overlay",
"isIntersect": true
},
{
"tiles": [
"https://api.open.geovisearth.com/v2/getStreamReq/plus/v1/time-series/cities/hefei/hefei_2022/tiles/{z}/{x}/{y}.webp?token=be6db9a4e38fc66641e10c370ebe842fe15304eb411a43417f76652af7e4cafe"
],
"scheme": "xyz",
"year": "2022",
"format": "webp",
"bounds": [
116.853278,
31.467902,
117.746698,
32.306875
],
"type": "overlay",
"isIntersect": true
}
]
}
{
"hefei": [
{
"year": "2019",
"format": "webp",
"type": "overlay",
"bounds": [
116.853224,
31.467664,
117.68816,
32.25132
],
"scheme": "xyz",
"tiles": [
"https://api.open.geovisearth.com/v2/getStreamReq/plus/v1/time-series/cities/hefei/hefei_2019/tiles/{z}/{x}/{y}.webp"
],
"isIntersect": true
},
{
"year": "2017",
"format": "webp",
"type": "overlay",
"bounds": [
116.937488,
31.505384,
117.74664,
32.306936
],
"scheme": "xyz",
"tiles": [
"https://api.open.geovisearth.com/v2/getStreamReq/plus/v1/time-series/cities/hefei/hefei_2017/tiles/{z}/{x}/{y}.webp"
],
"isIntersect": false
},
{
"year": "2018",
"format": "webp",
"type": "overlay",
"bounds": [
116.88184,
31.617984,
117.636208,
32.294304
],
"scheme": "xyz",
"tiles": [
"https://api.open.geovisearth.com/v2/getStreamReq/plus/v1/time-series/cities/hefei/hefei_2018/tiles/{z}/{x}/{y}.webp"
],
"isIntersect": false
},
{
"year": "2020",
"format": "webp",
"type": "overlay",
"bounds": [
116.933856,
31.612208,
117.603096,
32.286728
],
"scheme": "xyz",
"tiles": [
"https://api.open.geovisearth.com/v2/getStreamReq/plus/v1/time-series/cities/hefei/hefei_2020/tiles/{z}/{x}/{y}.webp"
],
"isIntersect": false
}
]
}