cesiumforUnity 加载wmts




为啥加载这么多个图

Hi @dwbcxy886, welcome to the community!
I was able to get this layer to work in Cesium for Unity by using the full URL:

https://gibs.earthdata.nasa.gov/wmts/epsg4326/best/MODIS_Terra_CorrectedReflectance_TrueColor/default/2024-11-01/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.jpg

This is the same URL used in the CesiumJS Sandcastle that you screenshotted above, except that {Time} has been replaced with a specific date because Cesium for Unity, unlike CesiumJS, doesn’t have a built-in notion of the current time.

Here are all of the parameters I used:

1 Like

http://…/geoserver/…/…/wmts?layer=…&style=&TileMatrixSet={TileMatrixSet}&Service=WMTS&Request=GetTile&Version=…&Format=image/png&TileMatrix={TileMatrix}&TileCol={TileCol}&TileRow={TileRow},wmts的baseUrl输入geoserver的参数这些有什么问题吗,我加载不出,折腾了很久

cesiumforunity是否有geoserver加载wmts案例可以作为参考