atlasdatatech / tiler

一款极速瓦片地图下载器,支持mapbox矢量瓦片下载。支持谷歌影像、百度地图、高德、天地图、OSM、ESRI、腾讯、微软等瓦片地图下载,离线地图soeasy。
314 stars 54 forks source link

您好,我先下全中国的天地图瓦片,经纬度设置正确,但是下载的瓦片范围不对,能麻烦您看下啥原因嘛 #13

Open Daneil00 opened 6 months ago

Daneil00 commented 6 months ago

{ "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] ] ] ] } }] } 1

Daneil00 commented 6 months ago

尝试多次后发现,在conf配置文件中添加下载链接设置为c时,都是在上图澳大利亚到南极这个区域,下载链接如下所示 url = "https://t0.tianditu.gov.cn/DataServer?T=vec_ c ------------------------------------------------分隔符-------------------------------------------------------------------------------------- 在conf配置文件中添加下载链接设置为w时,则范围显示正常,下载链接如下所示 url = "https://t0.tianditu.gov.cn/DataServer?T=vec_ w

atlasdatatech commented 6 months ago

正常应该不会啊,改成Polygon试试呢?

Daneil00 commented 6 months ago

{ "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 经纬度时,还是下载上图的南极区域

Daneil00 commented 6 months ago

您可以尝试一下只下 天地图5-6级的vec c嘛,我用包里附带的南京和江苏下载vec c也是南极区域