I everyone,
we are using wms-vector capacities of Geoserver for creating mosaic with quite large raster image (for example 4000*4000 pixel each image).
We recently notice (but I think the issue is pretty old, this is the same with geoserver 2.8.2 an certainly older version) that at the upper left corner of some of images, a very tight artifact (1 or 2 pixe heigth and 50/100 pixel width ) is visible along the top edge (see extract_near_upper_left_corner.png).
This artifact seems to represent the base of a label who is already /or who should be painted in another place in the image. The position of this artifact is always on the same place and as no relation with the position of a geometry in the data.
Furthermore, another artifact is more visible if the label contain a letter with a part who exceed the base label (like ‘g’ or ‘y’ in lower case in most of font type ).In this case a significant part of the letter is painted under the base label and is very visible in the image .I’ m pretty sure that this behaviour occur only when VendorOption ‘followLine’ and ‘group’ are used in conjonction.
I succeed to isolate one exemple,
Please find enclose:
- a shapefile with 1 or to object whe represents one label (the label contains a 'g" letter). the epsg is 2154(lambert93).
- sld file associatedif you try this request (and exactly this one, if you translate in x or y the bug may not occur) :
http://localhost:8080/geoserver/wms?service=WMS&version=1.1.0&request=GetMap&layers=label_pb&styles=label_pb&bbox=676000,6824000,680000,6828000&width=4000&height=4000&srs=EPSG:2154&format=image/png
you should see , the geometry to label approximately in center of the image and the artifact (with the lower part of the g letter) in the top of the image, ,near the left corner…
.regards,
DChan
|