From: Kevin S. <sm...@dr...> - 2016-05-04 21:36:56
|
The WMS Capabilities autoconfig module works by creating a new, non- persistent gridset for each combination of layer and advertised CRS except for WGS84 and Spherical Mercator It completely ignores the defined gridsets when doing so. It looks like something is going wrong with that and it's either not succeeding at creating the gridset, or it's not finding it after creating it. I was working on improvements to the way this works so that it would look for existing CRSes, define them based on the CRS extent of validity, and allow for specific gridsets to be specified as the preferred ones to use. It needs a bit a clean up before it will be ready to add to master (which I haven't found time for) but you could try building it yourself to see if it solves your problem. The branch is here: https://github.com/smithkm/geowebcache/commits/wmscap-refresh -- Kevin Michael Smith sm...@dr... On Wed, May 4, 2016, at 01:28 AM, matteo rivola wrote: > Dear all, > > I'm using GeoWebCache 1.8.1, with JVM version 1.7.0_80 (Java > HotSpot(TM) 64-Bit Server VM) and GeoServer 2.8.2. > > The problem is that when I start GeoWebCache form the log file I have > these erros: > > 14 Apr 09:40:56 (main) ERROR [config.XMLGridSubset] - Unable to find > GridSet for "prova:4258:EPSG:4258" > 14 Apr 09:40:56 (main) ERROR [layer.AbstractTileLayer] - > prova:4258:EPSG:4258 is not known by the GridSetBroker, skipping for > layer prova:4258 > 14 Apr 09:40:56 (main) ERROR [config.XMLGridSubset] - Unable to find > GridSet for "topography:AGEA2011:EPSG:4258" > 14 Apr 09:40:56 (main) ERROR [layer.AbstractTileLayer] - > topography:AGEA2011:EPSG:4258 is not known by the GridSetBroker, > skipping for layer topography:AGEA2011 > 14 Apr 09:40:56 (main) ERROR [config.XMLGridSubset] - Unable to find > GridSet for "prova:TrueMarble1Km:EPSG:4258" > > > For the same layers i see in the logs: > > 14 Apr 10:01:08 (main) WARN [grid.GridSetFactory] - GridSet > prova:4258:EPSG:4258 was defined without metersPerUnit. Assuming 1m > per SRS unit for WMTS scale output. > 14 Apr 10:01:08 (main) INFO [config.GetCapabilitiesConfiguration] - > Found layer: topography:AGEA2011 with LatLon bbox > 12.066150999999998,43.990867985352764,12.42872140$ > 14 Apr 10:01:08 (main) WARN [grid.GridSubsetFactory] - Requested to > create GridSubset with zoomStop 30 for GridSet EPSG:4326 whose max > zoom level is 21. Limiting GridS$ > 14 Apr 10:01:08 (main) WARN [grid.GridSetFactory] - GridSet > topography:AGEA2011:EPSG:4258 was defined without metersPerUnit. > Assuming 1m per SRS unit for WMTS scale ou$ > 14 Apr 10:01:08 (main) INFO [config.GetCapabilitiesConfiguration] - > Found layer: prova:TrueMarble1Km with LatLon bbox -180.00000000000003,- > 89.99999999999999,180.0,90.0 > 14 Apr 10:01:08 (main) WARN [grid.GridSubsetFactory] - Requested to > create GridSubset with zoomStop 30 for GridSet EPSG:4326 whose max > zoom level is 21. Limiting GridS$ > 1 > > I modified geowebcache.xml adding EPSG:4258 in this way > http://paste.ubuntu.com/15826899/. > > Lastly I have modified geowebcache-core-context.xml in order to load > layer with WMS getcapabilities. > > http://paste.ubuntu.com/15826965/ > > The problem seems that geowebcache loads the wrong gridset name from > the "WMS getcapabilities". In geoserver I have only a custom gridset > named "EPSG:4258", but geowebcache loads a gridset for each store, > with the wrong name. > > Does anyone has suggestions about this problem? > > Thank you for your help. > Best regards. > ---------------------------------------------------------------------- > -------- > Find and fix application performance issues faster with > Applications Manager > Applications Manager provides deep performance insights into multiple > tiers of > your business applications. It resolves application problems > quickly and > reduces your MTTR. Get your free trial! > https://ad.doubleclick.net/ddm/clk/302982198;130105516;z[1] > _________________________________________________ > Geowebcache-users mailing list > Geo...@li... > https://lists.sourceforge.net/lists/listinfo/geowebcache-users Links: 1. https://ad.doubleclick.net/ddm/clk/302982198%3B130105516%3Bz |