I'm trying to use a Geoserver external WMS service in a offline environment.
First I put my own geoserver online and configure a WMS store pointig to the desired source. Next I publish the desired layer and configure Create a Cached Layer for this Layer
. Next I go to GWC and seed all tiles from a bounding box from zoom level 0 to 18. I got near 10G of images.
Now I just turn off my router and go to:
geoserver/gwc/demo/myws:mylayer?gridSet=EPSG:4326&format=image/png8
but got this error:
Failed to execute request http://ORIGINAL_SOURCE_WMS/?REQUEST=GetCapabilities&VERSION=1.3.0&SERVICE=WMS`
Caused by: org.apache.commons.httpclient.ConnectTimeoutException: The host did not accept the connection within timeout of 30000 ms
As I can see the Geoserver still depending the connection.
EDIT I found this post where Ian said:
If you create your tiles using GeoWebCache GWC (and other tile caches I expect) and run the preseeding operation to create all the tiles on disk you can then copy those tiles to a remote machine and use the OpenLayers XYZLayer to access the tiles.
This can help me too since I've done all steps he describe but I'm using Cesium instead OpenLayers. Some tip about this?
Added the Cesium
tag.
MapProxy or MapCache
tips. If the current option doesn't work why not to try other ways? Will give a look.