Hi Paul,
Like Ian I can add a EPSG:27700 GWC gridset to QGIS so I think it's something 
specific to your setup.

Warwickshire have one here (you may want to test it to confirm it's not your 
QGIS being silly):
WMTS: 
http://maps.warwickshire.gov.uk/gs/gwc/service/wmts?REQUEST=GetCapabilities
TMS: http://maps.warwickshire.gov.uk/gs/gwc/service/tms/1.0.0

It's a GeoServer 2.7 install using the integrated GWC, and I just tested it 
with QGIS 2.18; no problems.

I'm assuming your layers serve fine as WMS? How about as WMS-C?

Cheers,
Jonathan

---- On Wed, 22 Feb 2017 08:34:47 +0000 Paul 
Wittle<[email protected]> wrote ---- 

    Hi,
  
 Unfortunately the error did appear in the log again at 08:27 so I guess that 
answer that question. Our GeoServer seems to take over 15 minutes before it 
finally finishes running through it’s background tasks. 
  
 That’s a shame.
 Paul
  
   From: Paul Wittle 
 Sent: 22 February 2017 08:22
 To: 'Andrea Aime' <[email protected]>
 Cc: '[email protected]' 
<[email protected]>
 Subject: RE: [Geoserver-users] How to get GeoServer layers into QGIS forcing 
use of tile server
 
 
  
 Hi,
  
 I’m afraid it does have a native CRS in the layer editor. It is displaying as:
 Native      –  EPSG:27700 
 Declared  – EPSG:27700 
 SRS handling is set to Force declared
  
 I’ve just tried resetting the layer configuration for SRS handling to Keep 
native and that may have stopped the error. Could that issue simply be caused 
by using force declared when the native setting is the same?
  
 Small caveat being that the GeoServer may add the error to the log later; I’m 
never sure how long to leave it after a restart before assuming a message is 
definitively not there anymore.
  
 Cheers,
 Paul
  
 From: [email protected] [mailto:[email protected]] On Behalf Of Andrea 
Aime
 Sent: 21 February 2017 18:36
 To: Paul Wittle <[email protected]>
 Cc: [email protected]
 Subject: Re: [Geoserver-users] How to get GeoServer layers into QGIS forcing 
use of tile server
  
  Hi Paul,
  I'm not talking about the tile layer definition, but the GeoServer layer 
sitting on its back. Does it have a null native CRS in the Layer editor?
 
   
 
  Cheers
 
  Andrea
 
 
   
  On Tue, Feb 21, 2017 at 7:22 PM, Paul Wittle <[email protected]> 
wrote:
    Hi Andrea,
  
 I don’t think it is that, the following is in the GWC definition xml:
 <gridSubsets>
     <gridSubset>
       <gridSetName>EPSG:900913</gridSetName>
     </gridSubset>
     <gridSubset>
       <gridSetName>BNG27700</gridSetName>
     </gridSubset>
   </gridSubsets>
  
 Maybe it is just that 27700 is a gridset I defined myself instead of a default 
one? I notice just above was the following:
  
 Can't compute tile layer bouds out of resource native bounds for CRS EPSG:27700
 java.lang.NullPointerException: Unable to transform referenced envelope, crs 
has not yet been provided.
                 at 
org.geotools.geometry.jts.ReferencedEnvelope.transform(ReferencedEnvelope.java:669)
                 at 
org.geoserver.gwc.layer.GeoServerTileLayer.getBounds(GeoServerTileLayer.java:934)
                 at 
org.geoserver.gwc.layer.GeoServerTileLayer.getGrids(GeoServerTileLayer.java:877)
                 at 
org.geoserver.gwc.layer.GeoServerTileLayer.checkGridSubsets(GeoServerTileLayer.java:822)
                 at 
org.geoserver.gwc.layer.GeoServerTileLayer.getGridSubsets(GeoServerTileLayer.java:808)
  
 Cheers,
 Paul
  
  
 From: [email protected] [mailto:[email protected]] On Behalf Of Andrea 
Aime
 Sent: 21 February 2017 17:23
   
 To: Paul Wittle <[email protected]>
 Cc:  [email protected]
 Subject: Re: [Geoserver-users] How to get GeoServer layers into QGIS forcing 
use of tile server
 
 
    
  Hi Paul,
  as far as I can see this error might occurr if a layer happens to have
 
  no native CRS, but I could be wrong. Is that your case?
 
   
 
  Cheers
 
  Andrea
 
 
   
 
 
 
 
 
  
            -------------------------------------------------------
 
 
 
 
 
 
 
 
 
 
 
 
 
 "This e-mail is intended for the named addressee(s) only and may contain 
information about individuals or other sensitive information and should be 
handled accordingly. Unless you are the named addressee (or authorised to 
receive it for the addressee) you may not copy or use it, or disclose it to 
anyone else. If you have received this email in error, kindly disregard the 
content of the message and notify the sender immediately. Please be aware that 
all email may be subject to recording and/or monitoring in accordance with 
relevant legislation." 
------------------------------------------------------------------------------ 
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! 
http://sdm.link/slashdot_______________________________________________ 
Geoserver-users mailing list 
[email protected] 
https://lists.sourceforge.net/lists/listinfo/geoserver-users 





------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to