|
From: Jan D. <Jan...@tr...> - 2018-08-31 08:42:30
|
Thank you Jukka and Andrea, this at least partly solved my problem! Sorry about that large log. Did not wan't to loose any possibly important information. I disabled the In memory BlobStore and used the first of the two URL:s Andrea provided. - Now it did cache that 0/0.png tile onto S3! (The second URL did not work). - Seeding also worked! Using the Layer preview did not cache tiles on S3! Should it be possible to cache tiles using an application (Open Layers) and not using direct WMS requests with exact BBox extents for each tile? How can that be achieved? (how to use the mandatory &tiled=true <http://localhost:8080/geoserver/gwc/service/wms?layers=topp:states&styles=&version=1.1.1&srs=EPSG:4326&Request=GetMap&bbox=0,-90,180,90&width=256&height=256&format=image/png8&tiled=true> parameter). br. Jan to 30. elok. 2018 klo 22.35 Andrea Aime (and...@ge...) kirjoitti: > On Thu, Aug 30, 2018 at 5:13 PM Jan Donner <Jan...@tr...> wrote: > >> Hi! >> I'm experiencing problems with using Geoserver and GeoWebCache with a S3 >> blob store. >> I have managed to create a blob store on S3 (the new folder appeared in >> s3 as defined by S3 Object Key Prefix) using Geoserver >> I try to cache tiles onto it by making a WMS request from the example >> layer topp:states, but no files are cached into the S3 blob store: >> >> >> http://localhost:8080/geoserver/gwc/service/wms?layers=topp:states&styles=&version=1.1.1&srs=EPSG:4326&Request=GetMap&bbox=-180,-90,180,90&width=256&height=256&format=image/png8&tiled=true >> >> > This is just a partial answer, but I'm at a conference and there is not > much time to dedicate to the user list. > The request you're using does not conform to any cacheable gridset, so > it's not cached. The WGS84 gridset does not have one tile > at the top level, but two. Could you try these instead?: > > > http://localhost:8080/geoserver/gwc/service/wms?layers=topp:states&styles=&version=1.1.1&srs=EPSG:4326&Request=GetMap&bbox=-180,-90,0,90&width=256&height=256&format=image/png8&tiled=true > > > http://localhost:8080/geoserver/gwc/service/wms?layers=topp:states&styles=&version=1.1.1&srs=EPSG:4326&Request=GetMap&bbox=0,-90,180,90&width=256&height=256&format=image/png8&tiled=true > > Also, did you enable the "transparent integration" in the "caching > defaults" page? Otherwise just making WMS requests > won't create any tiles. Maybe try to use the tiled layers preview too. > > Cheers > Andrea > > > == GeoServer Professional Services from the experts! Visit > http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf > Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa > (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 > 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.* > -- Jan Donner Senior GIS Architect, *Trimble Forestry* Revontulentie 8 C | <https://maps.google.com/?q=Revontulentie+8+C%C2%A0%7C%C2%A0+02100+Espoo,+Finland&entry=gmail&source=g>02100 Espoo, Finland +358 40 538 <+358+40+774+3592>5483 Mobile jan...@tr... *Delivering the Connected Forest* |