Opened 4 years ago

Closed 4 years ago

#2484 closed defect (fixed)

Base layers with labels do not render correctly

Reported by: zhanga Owned by:
Priority: medium Milestone:
Component: Tile Service Version: 2.6.0
Severity: minor Keywords: Tile, 2.6backport
Cc: External ID:

Description

When a point feature source is used as a base layer, and a feature label is applied, the features do not render correctly. The labels are not shown at all, and most of the features are not shown either.

Attachments (1)

2484.patch (4.3 KB) - added by zhanga 4 years ago.
patch for ticket #2484

Download all attachments as: .zip

Change History (4)

comment:1 Changed 4 years ago by zhanga

Mg server uses LabelRendererLocal? to render labels of base layers. The last parameter 'path' of method

void LabelRendererLocal::ProcessLabelGroup(SE_LabelInfo*    labels,
                                           int              nlabels,
                                           RS_OverpostType  type,
                                           bool             exclude,
                                           LineBuffer*      path)

is NULL when it is a point feature. But we don't check before using it.

Changed 4 years ago by zhanga

Attachment: 2484.patch added

patch for ticket #2484

comment:2 Changed 4 years ago by jng

Keywords: 2.6backport added

comment:3 Changed 4 years ago by jng

Resolution: fixed
Status: newclosed

Fixed trunk (r8359), 2.6 (r8361)

Note: See TracTickets for help on using tickets.