I have a streams layer that renders with a label.
I've noticed that the label renders differently if I use a WMS GetMap request, vs. if I use a GeoWebCache (GWC) request.
Here is an example:
This is a WMS GetMap request result:
This is a GWC request result:
Notice how the Merced River label is positioned differently the two images?
These are both the same layer, using the same style.
This is very weird. I'd think that they'd render the same, regardless of if it's already been cached. It's a problem for my workflow, which combines WMS with GWC and relies on the labels rendering in the same place.
@Son of a Beach asked why I need to render using both GWC and WMS. GWC is so much faster if they tiles are pre-baked. However, we want to be able to select a stream by clicking on it, and have it be in a "selected" state, i.e. render with a different style. So I just have a second layer on the map, e.g. streams_selected, which includes a filter with its WMS Get Map request. The filter is for a particular feature ID. It renders on top of the GWC (unselected) layer. I need the labels to line up so it doesn't look funky.