0
Windowsサーバー2008のPostGIS/Geoserver/OpenLayersスタックに基づいて簡単なWebマップをテストしようとしています。このtutorialとgeoserver docsを使っています。GeoWebCacheを使用しているときに「ピンクタイル」
私はGeoWebCacheを使用して、私のマップにWMSレイヤを追加しよう:
var index1d = new OpenLayers.Layer.WMS(
"Index1",
"http://localhost:1979/geoserver/gwc/service/wms",
{'layers': "Index2000:index1d",
'format': "image/png",
'transparent': true
},
{'opacity': 1.0, 'isBaseLayer': true}
);
map.addLayer(index1d);
私は悪名高い「ピンクのタイル」を取得します。 Geoserverでのエラーは言う:
ERROR [geowebcache.GeoWebCacheDispatcher] - Requested horizontal resolution:
750.0000000000005 , best match: 632.4668417968734 exceeds 10% threshold.
Perhaps the client is configured with an incorrect set of scales (resolutions),
or the DPI setting is off compared to the one in GWC ? http://localhost:
1979/geoserver/gwc/service/wms
私の層が正しく設定されているようだと、私は単純にGeoWebCacheせずにそれを提供する場合:
"http://localhost:1979/geoserver/wms"
すべてが正常に動作します。
私が間違っている箇所を指摘できますか?