TransWikia.com

Creating and emptying tile doesn't affect tile preview in GeoServer?

Geographic Information Systems Asked on January 3, 2021

I’m learning to use GeoServer. I’m using its web admin interface. I clicked the tile layer tab, and clicked the empty tab of the layergroup. Based on the GeoServer user manual, this is supposed to remove all saved tiles. But I was still able to see it in preview. I then press the Seed/Truncate tab, and start a new task with “Grid Set” set to “900913”, and the rest at default value. I can see tiles is being created from the “List of currently executing tasks”. So it seems that tiles were created and tiles were emptied. But the preview works fine in both cases.

Why does it work when there is no tiles?

One Answer

To answer my own question, based on this Packet video at 5:27

When the contact is made to the GeoWebCache endpoint, GeoWebCache will check on the file system to see if that image tile has already been created, and if so that tile will be served back to the browser as a response to the http request. If that tile is not already available, GeoWebCache will dynamically render that tile.

So my guess is after empty, GWC dynamically renders the tile when the request is sent.

Answered by Sara on January 3, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP