Hi,

WMS-C works only if the BBOX of the GetMap request hits (almost) exactly the 
tile boundaries of the corresponding gridset.
I took on example GetMap from the States layer GWC preview. This is a valid 
request for EPSG:4326 gridset

http://localhost:8080/geoserver/gwc/service/wms?LAYERS=topp%3Astates&FORMAT=image%2Fpng&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&SRS=EPSG%3A4326&BBOX=-112.5,33.75,-101.25,45&WIDTH=256&HEIGHT=256

Analyze the bbox BBOX=-112.5,33.75,-101.25,45 a bit
width= -101.25-(-112.5)=11,25 degrees
height=45-33.75=11.25 degrees

Thus the tile is square with resolution (11.25/256)= 0.0439453125 
degrees/pixel. Compare it with the setting page for gridset EPSG:4326 and 
you'll see that it is the resolution of zoom level 4.

Now to the request that you pasted. It has a bounding box 
bbox:11.25,54.16243396806781,14.0625,55.7765730186677
width= 14.0625-11,25=2.8125 degrees
height=55.7765730186677-54.16243396806781=1.61413905059989 degrees

Different resolutions alone proof that this GetMap request can't hit exactly 
any tile in the EPSG:4326 gridsets. The error message tries to tell that:
" geowebcache-miss-reason:request does not align to grid(s) 'EPSG:4326'"

The reason for the error is that the client does not create valid WMS-C 
requests. Which client are you using?

-Jukka Rahkonen-




-----Alkuperäinen viesti-----
Lähettäjä: Volkan Gümüs [mailto:[email protected]] 
Lähetetty: 6. huhtikuuta 2016 23:53
Vastaanottaja: [email protected]
Aihe: [Geoserver-users] Tile Errors | Tile Caching Errors EPSG:4326

Hey all!

Whenever I use tile caching (inbuild) with EPSG:4326 layers, I get weird 
results.


see this picture: https://paste.xinu.at/OXTrLL/

As soon as I disable tile caching OR change to EPSG:900913, it's working 
like a charm.


I get a miss-reason for the broken tiles:

geowebcache-miss-reason:request does not align to grid(s) 'EPSG:4326' 
'4326:512Grid'

Request params:

service:WMS
request:GetMap
layers:X:XXX
format:image/jpeg
transparent:false
version:1.1.0
tiled:true
height:256
width:256
srs:EPSG:4326
bbox:11.25,54.16243396806781,14.0625,55.7765730186677

256x256 EPSG:4326 Grid is enabled and works fine for non-broken tiles.

Any ideas?! :)


------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to