kaktus40 / Cesium-GeoserverTerrainProvider

plug in to use geoserver as terrain provider
Other
356 stars 140 forks source link

Getting sharp edges on terrain with WMTS service #16

Closed Parthesh closed 7 years ago

Parthesh commented 8 years ago

Following is the code I used:

var terrainProvider = new Cesium.GeoserverTerrainProvider({
    service : "WMTS",
    url : "http://localhost:8080/geoserver/gwc/service/wmts",
    layerName: "elevation:srtm_global_90m_tiled"
}); 
viewer.terrainProvider = terrainProvider;

It seems that "WMS" service is working fine, but when I try to use "WMTS" service, I get sharp edges on terrain.

I have attached the snapshot and getCapabilities doc.

wmts-getcapabilities.txt

wmts_issue

kaktus40 commented 8 years ago

Hello, I think I forget to indicate that the layer must be translated with the little java tool in this repository. Could you translate your data with GeotiffTranslate.zip please and see if there is a change?

Parthesh commented 8 years ago

Thanks, it works. May be you can add it in README.md.