Hi,
Given a regular getMap request
http://localhost:4000/geoserver/wms?bbox=-244598.49057485908,7210763.50214684,-234814.55095186457,7220547.441769835&Format=image/png&request=GetMap&layers=XXXX&width=256&height=256&srs=EPSG:900913&transparent=true&tiled=true
I get a 256x256 image that is served using the integrated cache.
Subsequently if I request the same with a 768x768 image…
http://localhost:4000/geoserver/wms?bbox=-244598.49057485908,7210763.50214684,-234814.55095186457,7220547.441769835&Format=image/png&request=GetMap&layers=XXXX&width=768&height=768&srs=EPSG:900913&transparent=true&tiled=true
Then I get a 768x768 image that is NOT cached. The error is that the request does not align to the grid set EPSG:900913
So… What I would like to achieve is a 768x768 representation of the same original 256x256 tile and have that returned through the cache, i.e. The image contains the same details but is just an increase in resolution… How do you do this?
Kind Regards,
Rob
Hi Rob,
a 768x768 is not a tile with 256x256 tiling scheme so I am not surprised by the answer you are getting (although I think you are seeing that message in a response header rather than in a real error message).
I don’t see an immediate way for doing what you want, I mean a tile cache is a fixed pyramid of resolutions and tile sizes (in your case 256x256) so you simply cannot do what you are trying to, I believe, via tiles.
You might want to enable fullWMS with GWC then GWC would be allowed to response to a generic WMS call using tiles in cache but at that point things might not be that different than just using plan WMS (I know, I simplified a lot).
···
Regards,
Simone Giannecchini
GeoServer Professional Services from the experts!
Visit http://bit.ly/gs-services for more information.
Ing. Simone Giannecchini
@simogeo
Founder/Director
GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 333 8128928
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia.
This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.
I think to achieve that you need to create a grid set that is 768x768 so that GWC can cache those tiles too.
Ian
···
Ian Turton