In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article is to share with you the content of the sample analysis of loading wmts in the secondary development of TE. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
Maps can be loaded through network services in TE, and commonly used services such as wms,wmts
WMTS provides a standardized solution for publishing digital map services using predefined block methods. WMTS makes up for the deficiency that WMS is unable to provide block maps. WMS is an ideal solution for dynamic data or user-customized maps (which need to be combined with SLD standards) for services that provide customizable maps. WMTS sacrifices the flexibility of providing custom maps and instead enhances scalability by providing static data (base maps) whose scope boxes and scale bars are limited to individual blocks. These fixed sets of blocks make it possible to implement WMTS services using a Web server that simply returns existing files, while making use of some standard network mechanisms such as distributed caching to achieve scalability.
TE supports secondary development and loading wmts, and the code is relatively simple:
ITerrainRasterLayer66 il = sgworld.Creator.CreateImageryLayer ("ter.wms file path",-180,90,180,-90,0, "ter")
The key is how to configure .wmts. Here is a configuration format of wmts:
[INFO]
ProtocolType=3
ServerOptions=20000000
Meters=0
MPP=4.291534423828125e-005
Url= http://t0.tianditu.com/ter_c/wmts?request=GetTile&Version=1.0.0&Service=WMTS&Layer=ter&Style=default&Format=tiles&TileMatrixSet=c&TileMatrix=1&TileRow=0&TileCol=0
Layers=ter
CapabilitiesUrl= http://t0.tianditu.com/ter_c/wmts?
Xul=-180
Ylr=-89.99999999977328
Xlr=179.99999999954656
Yul=90
WMSCoordSys=urn:ogc:def:crs:EPSG::4490
WKT=GEOGCS ["China Geodetic Coordinate System 2000", DATUM ["China_2000", SPHEROID ["CGCS2000", 6378137298.257222101 ["EPSG", "1024"]], AUTHORITY ["EPSG", "1043"]], PRIMEM ["Greenwich", 0order AUTHORITY ["EPSG", "8901"]], UNIT ["degree", 0.0174532925199343 ["EPSG", "9122"]], AXIS ["Latitude", NORTH], AXIS [Longitude ", EAST], AUTHORITY [" EPSG "," 4490 "]]
TileInfo=000002C9Ezrv.vN.A.2.l.f...1V.V#f##3##lH#nB.A.A.C.A.2.l.f...1V.V#f## 3##VH#pB.A.A.G.C.2.l.f...1V.V#f##3##FH#rB.A.A.O.G.2.l.f...1V.V#f # # m##2H#tB.A.A.e.O.2.l.f...1V.V#f##m##lH#vB.A.A.#.e.2.l.f...1V.V # f##m##VH#xB.A.A....D.#.#.2.l.f...1V.W#f##m##FH#zB.A.A....L.#.A#.2.l.f...1V .W # f##W##2H#2B.A.A....L.#A.C#.2.l.f...1V.W#f##W##lH#4B.A.A....L.#C.C#A.2.l.f.. .1V.W # f##W##VH#6B.A.A....L.#G.C#C.2.l.f...1V.W#f##W##FH#9B.A.A....L.#O.C#G.2.l.f ... 1V.W#f##G##2L#.B.A.A....L.#e.C#O.2.l.f...1V.W#f##G##lL#CB.A.A....L.##.C#e.2.l... .. f...1V.W#f##G##VL#FB...w..x..y.z..1..2.3..4..5.w.v.w.w.w.x.w.y.w.z..
ProtocolType is the protocol type
ServerOptions server configuration
Meters offset
Connection string for Url wmts
Layers layer
Url based on CapabilitiesUrl
Xul ylr xlr yul four to coordinate range
WMSCoordSys wkt reference coordinate system
Thank you for reading! On the "TE secondary development loading wmts example analysis" this article is shared here, I hope the above content can be of some help to you, so that you can learn more knowledge, if you think the article is good, you can share it out for more people to see it!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.