您好,我先下全中国的天地图瓦片,经纬度设置正确,但是下载的瓦片范围不对,能麻烦您看下啥原因嘛
{
"type": "FeatureCollection",
"name": "china",
"crs": {
"type": "name",
"properties": {
"name": "urn:ogc:def:crs:OGC:1.3:CRS84"
}
},
"features": [{
"type": "Feature",
"properties": {
"id": null,
"name": "中国"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[71.815883, 0.000001],
[71.815883, 53.759980],
[135.668005, 53.759980],
[135.668005, 0.000001],
[71.815883, 0.000001]
]
]
]
}
}]
}
尝试多次后发现,在conf配置文件中添加下载链接设置为c时,都是在上图澳大利亚到南极这个区域,下载链接如下所示 url = "https://t0.tianditu.gov.cn/DataServer?T=vec_ c ------------------------------------------------分隔符-------------------------------------------------------------------------------------- 在conf配置文件中添加下载链接设置为w时,则范围显示正常,下载链接如下所示 url = "https://t0.tianditu.gov.cn/DataServer?T=vec_ w
正常应该不会啊,改成Polygon试试呢?
{ "type": "FeatureCollection", "name": "全球", "crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } }, "features": [ { "type": "Feature", "properties": { }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 71.999999, 1.999999 ], [ 71.999999, 53.999999 ], [ 135.999999,53.999999 ], [ 135.999999,1.999999 ], [ 71.999999,1.999999 ]] ] } } ] }
改成polygon了,在conf配置文件中添加下载链接设置为c 经纬度时,还是下载上图的南极区域
您可以尝试一下只下 天地图5-6级的vec_ c嘛,我用包里附带的南京和江苏下载vec_ c也是南极区域