[Geoserver-users] Seeding Layers

Hello,

I want to ask why in GWC Demos Page some layers can be seeded in png8 format, the format that we need to seed all our layers, and some not. Specifically some layers can be seeded in png and png8 format and some others in png and jpeg.

My ultimate goal is to seed specific layers in png8 using the GWC Demos page and the command Seed this Layer

Thanks in advance,
Stephanos

Hi Stephanos,
have you under 'caching defaults' the png8 format turned on? Because out of
the box it is not, only png and jpeg are as far as I recall.

Cheers

Christian

-----
____________________________

Dr Christian Maul
Project Manager

Information Services Branch
Department of Sustainability and Environment
Level13, Marland House, 570 Bourke Street
Melbourne 3000

PO Box 500, East Melbourne Vic 3002

Telephone: +61-3-8636 2325
Telefax: +61-3-8636 2813
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Seeding-Layers-tp5075832p5075906.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Stephanos,

add-on
if you talk about stand-alone GWC there is the following tag in each
<wmsLayer> tag of the geowebcache.xml:
<mimeFormats>
<string>image/jpeg</string>
<string>image/png</string>
<string>image/png8</string>
</mimeFormats>

whatever format you define in there you may use.

Cheers

Christian

-----
____________________________

Dr Christian Maul
Project Manager

Information Services Branch
Department of Sustainability and Environment
Level13, Marland House, 570 Bourke Street
Melbourne 3000

PO Box 500, East Melbourne Vic 3002

Telephone: +61-3-8636 2325
Telefax: +61-3-8636 2813
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Seeding-Layers-tp5075832p5075920.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Hello,
I think I found a way to handle the Layer seeding in PNG8 but I need your
opinion
I have check the png8 option in Geowebcache general options and now I have
as an option to cache every new layer in png8.

However, the layergroups that I had created before i checked the png8 option
could not be cached in png8.

Therefore to resolve this issue, I created new layergroups like the old ones
that are okay with the caching in png8.
Then, in order not to lose the tiles that are already generated in gwc for
the old layergroups, I think an option is to rename the old layergroup
within geoserver admin panel eg 'Layergroup' to 'Layergroup_prev'.
This will have as an effect the changing of the name of the folder of the
layer in gwc to 'Layergroup_prev'.
After that, within geoserver admin panel we rename the newly created
layergroup to 'Layergroup'.
Finally, in gwc folder we rename the folder of the old layergroup from
'Layergroup_prev' in 'Layergroup'.

Based on your experience, will this process give me the chance to keep the
already generated tiles for the new layergroups while I coul reseed some
areas in png8?

Thanks in advance,

Stephanos

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Seeding-Layers-tp5075832p5091293.html
Sent from the GeoServer - User mailing list archive at Nabble.com.