[GIS] How to set up Geoserver GWC with ArcGIS compact cache layer

arcgis-servercachegeoservergeowebcachetilecache

I have a huge problem setting up geoserver's geowebcache to serve arcgis compact cache layer and I am getting a bit confused. I have installed geoserver 2.8.0 which contains geowebcache 1.8.0.

According to official geowebcache manpage (http://geowebcache.org/docs/1.8.0/configuration/layers/arcgistilingschemes.html), serving of arcgis compact cache is not possible.

On the other hand, I have found this thread (http://sourceforge.net/p/geowebcache/mailman/message/31884822/) which says that it is possible to serve this data source. I have also found ArcGIS compact cache support in geowebcache RELEASE_NOTES.txt file on github under version 1.6.x. I can also see some code that should cope with arcgis compact cache in the git directories.

I tried to add following section to the geowebcache.xml:

<arcgisLayer>
      <name>naturalearth</name>
      <tilingScheme>/home/geoserver/geoserver2.8/data_dir/gwc/arccache/conf.xml</tilingScheme>
</arcgisLayer>

But geoserver failed to start. Does anyone successfully serve arcgis compact cache? Can you please share the information about how to configure such a service with geowebcache?

Thanx a lot.

Best Answer

I have finally managed to serve arcgis compact cache with geowebcache. The problem was in poor documentation.

Note that you can not publish arcgis compact cache with geoserver built in geowebcache, but you have to use standalone geowebcache application.

Then you just have to set up GEOWEBCACHE_CACHE_DIR context parameter and edit geowebcache.xml.

Now everything works fine for me, (tested with ubuntu 14.04 LTS, tomact7 and geowebcache 1.8.0)