Skyline加载OGC标准服务WMTS的方法
来源:互联网 发布:南京晓通网络公司地址 编辑:程序博客网 时间:2024/05/18 01:12
网络地图服务《天地图》发布有些时间,这样就有了网络资源可以给大家演示Skyline和标准数据服务的结合效果。
首先我们来看一下天地图提供的公共地图服务有那些。
网址链接:http://www.tianditu.com/guide/index.html
注意:如果想浏览以上的WMTS服务需要使用Skyline 6.5的版本。
1.天地图经纬度 底图 WMTS服务 http://t0.tianditu.com/vec_c/wmts
WMTS配置
Skyline效果
2.天地图WMS影像地址:http://www.scgis.net.cn/imap/iMapServer/defaultRest/services/newtianditudom/WMS
WMS配置
Skyline效果
3. 在来个国外的数据http://demo.cubewerx.com/demo/cubeserv/cubeserv.cgi?
不同类型的数据图层的源(例如边界、地形、地文、公用设施、SRTM等)
WMTS配置
Skyline效果
调试地址:
http://demo.cubewerx.com/demo/cubeserv/simple?request=GetMap&Version=1.1.1&Service=WMS&SRS=EPSG:4326&BBOX=-180,-90,180,90&HEIGHT=128&WIDTH=256&Layers=Foundation.combo&Styles=cubewerx&Format=image/jpeg HTTP/1.1
这是在skyline中加载WMS或者WMST的代码。如果不想自己测试了给你个地址,在IE中打开查看效果。 DOME
function OnLoadFinished(){ setTimeout(function(){ var url= "http://demo.cubewerx.com/demo/cubeserv/simple?request=GetMap&Version=1.1.1&Service=WMS&SRS=EPSG:4326&Layers=Foundation.combo&Styles=cubewerx&Format=image/jpeg&BBOX=-180.000000,-90.000000,180.000000,90.000000&WIDTH=256&HEIGHT=256 HTTP/1.1"; CreatWMSlayer(url); },3000); } function CreatWMSlayer(r) { var box = r.split("BBOX=")[1].split(','); var LayerName = r.split("Layers=")[1].split('&')[0]; var box3 = box[3].split('&')[0] var buffer='<EXT><ExtInfo><![CDATA['; buffer+='[INFO]\n'; buffer+='MPP=2.68220901489258E-06\n'; buffer+='Url=' + r + '\n'; //定义 加载图片大小 buffer+='xul=' + box[0] + '\n'; buffer+='ylr=' + box[1] + '\n'; buffer+='xlr=' + box[2] + '\n'; buffer+='yul=' + box3 + '\n'; buffer+=']]></ExtInfo><ExtType>wms</ExtType></EXT>'; sgworld.Creator.CreateImageryLayer(LayerName, box[0], box3, box[2], box[1], buffer, "gisplg.rct", 0, LayerName) }
0 0
- Skyline加载OGC标准服务WMTS的方法
- skyline添加wms和wmts服务
- Leaflet加载Portable Basemap Server的WMTS服务
- OGC标准地图服务介绍
- 基于SuperMap iClient加载WMTS服务
- skylline中加载wms,wmts服务
- arcgis for js 4.x加载服务后缀为WMTS格式的服务
- Skyline TE加载地形服务
- openlayer2.X通过WMTS服务加载ArcGIS服务
- OGC标准及其推出的WMS、WFS、WCS三个地图服务
- OGC标准及其推出的WMS、WFS、WCS三个地图服务
- openlayers3 访问 arcgis Serve的WMTS服务
- ArcMap桌面端如何正确加载天地图WMTS服务
- skyline加载wfs,wms服务参考
- OGC Web Map Service标准的实现原理与方法(1)
- OGC Web Map Service标准的实现原理与方法(1)
- 用skyline调用WMTS接口,类似arcgis
- OGC 的WCS WFS 及WMS 服务
- 韩顺平.循序渐进学.java.从入门到精通
- 比AtomicLong还高效的LongAdder 源码解析
- Function ereg() is deprecated in
- 【JVM类加载】以及占内存溢出StackOverflowError、堆内存溢出OutOfMemoryError
- NYOJ 115 城市平乱
- Skyline加载OGC标准服务WMTS的方法
- ZeroC ICE之旅------java
- java IO流的总结
- SQl的连接方式
- [LeetCode] Palindrome Partitioning II
- 通过 ulimit 改善系统性能
- cocoapods更新
- android 浅谈notification
- Unity3D教程:使用Unity直接制作Lightmap