Hi,

I’ve now managed to get it to work in TMS, I had to ‘calibrate’ the BBOX in the 
GDAL_WMS definition to get it in the right place but it works now.

Our WMTS service is not working correctly at the moment hence the reason I was 
playing with TMS.

I eventually ended up using the following…no idea why it works but it seems to:
    <DataWindow>
       <UpperLeftX>0</UpperLeftX>
        <UpperLeftY>760967</UpperLeftY>
        <LowerRightX>760928</LowerRightX>
        <LowerRightY>0</LowerRightY>
        <TileLevel>20</TileLevel>
        <TileCountX>1</TileCountX>
        <TileCountY>1</TileCountY>
        <YOrigin>bottom</YOrigin>
    </DataWindow>
    <Projection>EPSG:27700</Projection>
    <BlockSizeX>256</BlockSizeX>
    <BlockSizeY>256</BlockSizeY>

Thanks anyway.
Paul

From: Jonathan Moules [mailto:[email protected]]
Sent: 22 February 2017 14:41
To: Paul Wittle <[email protected]>
Cc: '[email protected]' 
<[email protected]>
Subject: Re: [Geoserver-users] How to get GeoServer layers into QGIS forcing 
use of tile server

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]<mailto:[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]<mailto:[email protected]>>
Cc: 
'[email protected]<mailto:[email protected]>'
 
<[email protected]<mailto:[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]> 
[mailto:[email protected]] On Behalf Of Andrea Aime
Sent: 21 February 2017 18:36
To: Paul Wittle <[email protected]<mailto:[email protected]>>
Cc: 
[email protected]<mailto:[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]<mailto:[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]> 
[mailto:[email protected]<mailto:[email protected]>] On Behalf Of 
Andrea Aime
Sent: 21 February 2017 17:23

To: Paul Wittle <[email protected]<mailto:[email protected]>>
Cc: 
[email protected]<mailto:[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]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/geoserver-users


"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

Reply via email to