swaraj
swaraj

Reputation: 109

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.

enter image description here

Upvotes: 0

Views: 8753

Answers (1)

Andrea Aime
Andrea Aime

Reputation: 1736

You likely already have the WMTS for it, assuming you have the "tile caching" enabled in the layer definition panel.

Go to the WMTS capabilities document and you'll find it. 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

Upvotes: 2

Related Questions