简体   繁体   English

如何使用Geoserver创建WMTS服务并从Geotiff在Openlayer中进行查看?

[英]How to create WMTS service with geoserver and view in openlayer from geotiff?

I have created a layer in GeoServer from GeoTIFF.It is available in layer preview pane also viewable in Openlayer from the option below. 我已经从GeoTIFF在GeoServer中创建了一个图层,它可以在图层预览窗格中找到,也可以从下面的选项在Openlayer中查看。

在此处输入图片说明

You likely already have the WMTS for it, assuming you have the "tile caching" enabled in the layer definition panel. 假设已在图层定义面板中启用了“切片缓存”,则可能已经有WMTS。

Go to the WMTS capabilities document and you'll find it. 转到WMTS功能文档,您将找到它。 GeoServer does not offer a WMTS based layer preview, but you can code one using the OpenLayers documentation examples: https://openlayers.org/en/latest/examples/wmts.html GeoServer不提供基于WMTS的图层预览,但是您可以使用OpenLayers文档示例进行编码: https : //openlayers.org/en/latest/examples/wmts.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM