hongfaqiu / MVTImageryProvider

Mapbox vector tiles(pbf) visulization on cesium
https://mvt-provider.opendde.com/
MIT License
58 stars 19 forks source link

there are some problems with the display effect #2

Open qjw2bqn opened 2 years ago

qjw2bqn commented 2 years ago

Hello, I use the liabray the style from maputlink,but the display effect is different from the mapgl box. image image how to solve it?

hongfaqiu commented 2 years ago

我也有遇到类似的问题,在跨域瓦片边界的时候,显示不连续;还有因cesium瓦片网格分割规则导致的中心小边缘大的问题。我想这些问题都是可以想办法解决的,但这并不是一蹴而就的事情,如果后面有所改善,我将在此回复您。

qjw2bqn commented 2 years ago

received, thanks!

hongfaqiu commented 2 years ago

Hello, I have just fixed the problem of tile boundary splicing dislocation, here is the code solution commit

wuxiang1228 commented 2 years ago

image 我用建筑物shp试了一下,加载不是很理想,请求大佬指点

hongfaqiu commented 2 years ago

image 我用建筑物shp试了一下,加载不是很理想,请求大佬指点

看图上的缩放层级已经很高了,当前视角中请求的瓦片层级应该是一样的。可以在控制台看一下瓦片请求,是不是报错或者请求比较慢。另外拖动地图,模糊的瓦片会变清晰吗?

wuxiang1228 commented 2 years ago

请求不慢,但是有的数据是请求不到的,拖动地图,有的会变清晰,我用QGIS切的数据,是我的数据问题么

hongfaqiu commented 2 years ago

请求不慢,但是有的数据是请求不到的,拖动地图,有的会变清晰,我用QGIS切的数据,是我的数据问题么

我这边没法调试,现有的经验不足以判断问题所在。指定xyz数据应该有,却请求不到的话,很有可能是切片的问题,可以去瓦片缓存文件夹看看是否存在该张切片

wuxiang1228 commented 2 years ago

您这边有用大数据量测试过么

hongfaqiu commented 2 years ago

您这边有用大数据量测试过么

有的,我这边测试过百万级点的矢量切片,如果需要进一步讨论,新开一个issue吧

wuxiang1228 commented 2 years ago

谢谢大佬,找到问题在哪了,我换掉了QGIS,重新osm上下载了建筑物数据,并用tippecanoe切片,很流畅

hongfaqiu commented 2 years ago

谢谢大佬,找到问题在哪了,我换掉了QGIS,重新osm上下载了建筑物数据,并用tippecanoe切片,很流畅

哈哈哈哈哈,太客气啦,大佬不敢当,解决了那就太好了!

wuxiang1228 commented 2 years ago

tippecanoe

tippecanoe第一次玩,感觉还蛮香的

hongfaqiu commented 2 years ago

学到了!俺这边是用pg和geoserver切的