[Geoserver-devel] [JIRA] (GEOS-7928) Labels artifacts appears in the upper left corner of image.

dav created an issue

GeoServer / BugGEOS-7928

Labels artifacts appears in the upper left corner of image.

Issue Type:

BugBug

Affects Versions:

2.8.2, 2.10.1

Assignee:

Unassigned

Attachments:

extract_near_upper_left_corner.png, label_pb.sld, label_preneux.cpg, label_preneux.dbf, label_preneux.qix, label_preneux.shp, label_preneux.shx

Components:

WMS

Created:

11/Jan/17 5:19 PM

Environment:

debian 6.0 tomcat 8 / jre Oracle Corporation: 1.8.0_112

Priority:

MediumMedium

Reporter:

dav

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

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v1000.670.2#100024-sha1:3793824)

Atlassian logo