Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Daneil00 opened this issue May 21, 2024 · 4 comments

Comments

@Daneil00
Copy link

{
"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
Copy link
Author

尝试多次后发现,在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
Copy link
Owner

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

@Daneil00
Copy link
Author

{
"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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants