惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

H
Help Net Security
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
博客园 - 【当耐特】
Microsoft Azure Blog
Microsoft Azure Blog
Google DeepMind News
Google DeepMind News
Apple Machine Learning Research
Apple Machine Learning Research
有赞技术团队
有赞技术团队
Y
Y Combinator Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
爱范儿
爱范儿
L
LangChain Blog
IT之家
IT之家
酷 壳 – CoolShell
酷 壳 – CoolShell
MongoDB | Blog
MongoDB | Blog
Hugging Face - Blog
Hugging Face - Blog
G
Google Developers Blog
T
Tailwind CSS Blog
Engineering at Meta
Engineering at Meta
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
宝玉的分享
宝玉的分享
博客园 - 三生石上(FineUI控件)
D
DataBreaches.Net
Recent Announcements
Recent Announcements
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More

博客园 - 一飞秒的爱

【AI】多波束测深数据XSE信息提取 新版本Cesium加载3dtiles遇到的问题 新版本Cesium离线部署方法 python批量调整docx段落格式 Cesium地形切片踩坑记 Cesium的搜索框如何自定义功能 Cesium中显示栅格数据查询结果 Cesium离线部署的正确方法 GDAL制作晕渲图的正确方法 吐槽一下国内卫星遥感数据共享现状 【原创】GlobalMapper中文地图包 【原创】一套全球地形晕渲配色方案 【原创】使用SNAP合成MODIS真彩色影像 [原创]注册表 [原创]电信网络限制破解 [原创]数据恢复 [原创]PS制作迷彩 [原创]Globalmapper晕渲制作 [原创]Worldwind数据裁切与加载
Cesium如何加载PBS发布的WMTS服务
一飞秒的爱 · 2023-04-13 · via 博客园 - 一飞秒的爱

Cesium加载Geoserver发布的WMTS服务,url示例:

'http://localhost:8080/geoserver/gwc/service/wmts/rest/nurc:mosaic/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png',

而PBS(PortableBasemapServer)发布的地址是这样:

http://192.168.58.1:7080/PBS/rest/services/cngooglemap/MapServer/WMTS

在Cesium中使用时可以通过TMS形式加载即UrlTemplateImageryProvider,url改写为:

http://192.168.58.1:7080/PBS/rest/services/cngooglemap/MapServer/WMTS/tile/1.0.0/cngooglemap/default/GoogleMapsCompatible/{z}/{reverseY}/{x}.jpg

注意这里反向的写法是reverseY而不是-y